@@ -28,6 +28,7 @@ type Image struct {
28
28
// DockerImageReference is the string that can be used to pull this image.
29
29
DockerImageReference string `json:"dockerImageReference,omitempty" protobuf:"bytes,2,opt,name=dockerImageReference"`
30
30
// DockerImageMetadata contains metadata about this image
31
+ // +patchStrategy=replace
31
32
DockerImageMetadata runtime.RawExtension `json:"dockerImageMetadata,omitempty" patchStrategy:"replace" protobuf:"bytes,3,opt,name=dockerImageMetadata"`
32
33
// DockerImageMetadataVersion conveys the version of the object, which if empty defaults to "1.0"
33
34
DockerImageMetadataVersion string `json:"dockerImageMetadataVersion,omitempty" protobuf:"bytes,4,opt,name=dockerImageMetadataVersion"`
@@ -36,6 +37,8 @@ type Image struct {
36
37
// DockerImageLayers represents the layers in the image. May not be set if the image does not define that data.
37
38
DockerImageLayers []ImageLayer `json:"dockerImageLayers" protobuf:"bytes,6,rep,name=dockerImageLayers"`
38
39
// Signatures holds all signatures of the image.
40
+ // +patchMergeKey=name
41
+ // +patchStrategy=merge
39
42
Signatures []ImageSignature `json:"signatures,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,7,rep,name=signatures"`
40
43
// DockerImageSignatures provides the signatures as opaque blobs. This is a part of manifest schema v1.
41
44
DockerImageSignatures [][]byte `json:"dockerImageSignatures,omitempty" protobuf:"bytes,8,rep,name=dockerImageSignatures"`
@@ -70,6 +73,8 @@ type ImageSignature struct {
70
73
// Required: An opaque binary string which is an image's signature.
71
74
Content []byte `json:"content" protobuf:"bytes,3,opt,name=content"`
72
75
// Conditions represent the latest available observations of a signature's current state.
76
+ // +patchMergeKey=type
77
+ // +patchStrategy=merge
73
78
Conditions []SignatureCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,4,rep,name=conditions"`
74
79
75
80
// Following metadata fields will be set by server if the signature content is successfully parsed and
0 commit comments