-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodel_image_derived.go
22 lines (20 loc) · 1.13 KB
/
model_image_derived.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
* proto/v1beta1/grafeas.proto
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: version not set
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package gofeas
// Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM <DockerImage.Basis in attached Note>.
type ImageDerived struct {
// Required. The fingerprint of the derived image.
Fingerprint *ImageFingerprint `json:"fingerprint,omitempty"`
// Output only. The number of layers by which this image differs from the associated image basis.
Distance int32 `json:"distance,omitempty"`
// This contains layer-specific metadata, if populated it has length \"distance\" and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.
LayerInfo []ImageLayer `json:"layer_info,omitempty"`
// Output only. This contains the base image URL for the derived image occurrence.
BaseResourceUrl string `json:"base_resource_url,omitempty"`
}