Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Payload ¶
type Payload struct {
Critical PayloadCritical `json:"critical"`
}
Payload represents an Payload message.
func NewPayload ¶
NewPayload creates a new Binauth specific payload for the image at the passed URL.
type PayloadCritical ¶
type PayloadCritical struct { Identity PayloadIdentity `json:"identity"` Image PayloadImage `json:"image"` Type string `json:"type"` }
PayloadCritical represents the critical block in the Payload message.
type PayloadIdentity ¶
type PayloadIdentity struct {
DockerReference string `json:"docker-reference"`
}
PayloadIdentity represents the identity block in an Payload message.
type PayloadImage ¶
type PayloadImage struct {
DockerManifestDigest digest.Digest `json:"docker-manifest-digest"`
}
PayloadImage represents the image block in an Payload message.
Click to show internal directories.
Click to hide internal directories.