Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImageReferencesEquals ¶
func ImageReferencesEquals(img1 *ImageReference, img2 *ImageReference) bool
ImageReferencesEquals determines if two image references are equal.
Types ¶
type GitReference ¶
type GitReference struct {
GitHeadRev string `json:"git-head-revision"`
}
GitReference defines the reference to git source code
type ImageDependencies ¶
type ImageDependencies struct {
Image *ImageReference `json:"image"`
Runtime *ImageReference `json:"runtime-dependency"`
Buildtime []*ImageReference `json:"buildtime-dependency"`
Git *GitReference `json:"git,omitempty"`
}
ImageDependencies denotes docker image dependencies
type ImageReference ¶
type ImageReference struct {
Registry string `json:"registry"`
Repository string `json:"repository"`
Tag string `json:"tag,omitempty"`
Digest string `json:"digest"`
Reference string `json:"reference"`
}
ImageReference defines the reference to a docker image
func (*ImageReference) String ¶
func (i *ImageReference) String() string
String returns a string representation of an ImageReference.
Click to show internal directories.
Click to hide internal directories.