Reference documentation and code samples for the Grafeas V1 Client class LayerDetails.
Details about the layer a package was found in.
Generated from protobuf message grafeas.v1.LayerDetails
Namespace
Grafeas \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ index
int
The index of the layer in the container image.
↳ diff_id
string
The diff ID (typically a sha256 hash) of the layer in the container image.
↳ chain_id
string
The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
↳ command
string
The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
↳ base_images
getIndex
The index of the layer in the container image.
int
setIndex
The index of the layer in the container image.
var
int
$this
getDiffId
The diff ID (typically a sha256 hash) of the layer in the container image.
string
setDiffId
The diff ID (typically a sha256 hash) of the layer in the container image.
var
string
$this
getChainId
The layer chain ID (sha256 hash) of the layer in the container image.
https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
string
setChainId
The layer chain ID (sha256 hash) of the layer in the container image.
https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
var
string
$this
getCommand
The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
string
setCommand
The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
var
string
$this
getBaseImages
The base images the layer is found within.
setBaseImages
The base images the layer is found within.
$this