public sealed class LayerDetails : IMessage<LayerDetails>, IEquatable<LayerDetails>, IDeepCloneable<LayerDetails>, IBufferMessage, IMessageReference documentation and code samples for the Grafeas v1 API class LayerDetails.
Details about the layer a package was found in.
Implements
IMessageLayerDetails, IEquatableLayerDetails, IDeepCloneableLayerDetails, IBufferMessage, IMessageNamespace
Grafeas.V1Assembly
Grafeas.V1.dll
Constructors
LayerDetails()
public LayerDetails()LayerDetails(LayerDetails)
public LayerDetails(LayerDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
LayerDetails |
Properties
BaseImages
public RepeatedField<BaseImage> BaseImages { get; }The base images the layer is found within.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldBaseImage |
|
ChainId
public string ChainId { get; set; }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
| Property Value | |
|---|---|
| Type | Description |
string |
|
Command
public string Command { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DiffId
public string DiffId { get; set; }The diff ID (typically a sha256 hash) of the layer in the container image.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Index
public int Index { get; set; }The index of the layer in the container image.
| Property Value | |
|---|---|
| Type | Description |
int |
|