Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChecksumTagger ¶
type ChecksumTagger struct{}
ChecksumTagger tags an image by the sha256 of the image tarball
func (*ChecksumTagger) GenerateFullyQualifiedImageName ¶
func (c *ChecksumTagger) GenerateFullyQualifiedImageName(workingDir string, opts *Options) (string, error)
GenerateFullyQualifiedImageName tags an image with the supplied image name and the sha256 checksum of the image
func (*ChecksumTagger) Labels ¶ added in v0.8.0
func (c *ChecksumTagger) Labels() map[string]string
Labels are labels specific to the sha256 tagger.
type CustomTag ¶ added in v0.2.0
type CustomTag struct {
Tag string
}
type GitCommit ¶
type GitCommit struct{}
GitCommit tags an image by the git commit it was built at.
type Tagger ¶
type Tagger interface { Labels() map[string]string GenerateFullyQualifiedImageName(workingDir string, tagOpts *Options) (string, error) }
Tagger is an interface for tag strategies to be implemented against
func NewDateTimeTagger ¶ added in v0.7.0
NewDateTimeTagger creates a tagger from a date format and timezone.
func NewEnvTemplateTagger ¶ added in v0.4.0
NewEnvTemplateTagger creates a new envTemplateTagger
Click to show internal directories.
Click to hide internal directories.