Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChecksumTagger ¶
ChecksumTagger tags an image by the sha256 of the image tarball
func (*ChecksumTagger) GenerateFullyQualifiedImageName ¶
func (c *ChecksumTagger) GenerateFullyQualifiedImageName(opts *TagOptions) (string, error)
GenerateFullyQualifiedImageName tags an image with the supplied image name and the sha256 checksum of the image
type GitCommit ¶
type GitCommit struct { }
GitCommit tags an image by the git commit it was built at.
func (*GitCommit) GenerateFullyQualifiedImageName ¶
func (c *GitCommit) GenerateFullyQualifiedImageName(opts *TagOptions) (string, error)
GenerateFullyQualifiedImageName tags an image with the supplied image name and the git commit.
type TagOptions ¶
type Tagger ¶
type Tagger interface {
GenerateFullyQualifiedImageName(tagOpts *TagOptions) (string, error)
}
Tagger is an interface for tag strategies to be implemented against
Click to show internal directories.
Click to hide internal directories.