Grafeas V1 Client - Class Fingerprint (0.10.1)

Reference documentation and code samples for the Grafeas V1 Client class Fingerprint.

A set of properties that uniquely identify a given Docker image.

Generated from protobuf message grafeas.v1.Fingerprint

Namespace

Grafeas \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ v1_name string

Required. The layer ID of the final layer in the Docker image's v1 representation.

↳ v2_blob array

Required. The ordered list of v2 blobs that represent a given image.

↳ v2_name string

Output only. The name of the image's v2 blobs computed via: [bottom] := v2_blob[bottom] [N] := sha256(v2_blob[N] + " " + v2_name[N+1]) Only the name of the final blob is kept.

getV1Name

Required. The layer ID of the final layer in the Docker image's v1 representation.

Returns
Type Description
string

setV1Name

Required. The layer ID of the final layer in the Docker image's v1 representation.

Parameter
Name Description
var string
Returns
Type Description
$this

getV2Blob

Required. The ordered list of v2 blobs that represent a given image.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setV2Blob

Required. The ordered list of v2 blobs that represent a given image.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getV2Name

Output only. The name of the image's v2 blobs computed via: [bottom] := v2_blob[bottom] [N] := sha256(v2_blob[N] + " " + v2_name[N+1]) Only the name of the final blob is kept.

Returns
Type Description
string

setV2Name

Output only. The name of the image's v2 blobs computed via: [bottom] := v2_blob[bottom] [N] := sha256(v2_blob[N] + " " + v2_name[N+1]) Only the name of the final blob is kept.

Parameter
Name Description
var string
Returns
Type Description
$this