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(workingDir string, opts *TagOptions) (string, error)
GenerateFullyQualifiedImageName tags an image with the supplied image name and the sha256 checksum of the image
type CustomTag ¶ added in v0.2.0
type CustomTag struct {
Tag string
}
func (*CustomTag) GenerateFullyQualifiedImageName ¶ added in v0.2.0
func (c *CustomTag) GenerateFullyQualifiedImageName(workingDir string, opts *TagOptions) (string, error)
GenerateFullyQualifiedImageName tags an image with the custom tag
type EnvTemplateTagger ¶ added in v0.4.0
EnvTemplateTagger implements Tag
func NewEnvTemplateTagger ¶ added in v0.4.0
func NewEnvTemplateTagger(t string) (*EnvTemplateTagger, error)
NewEnvTemplateTagger creates a new EnvTemplateTagger
func (*EnvTemplateTagger) GenerateFullyQualifiedImageName ¶ added in v0.4.0
func (c *EnvTemplateTagger) GenerateFullyQualifiedImageName(workingDir string, opts *TagOptions) (string, error)
GenerateFullyQualifiedImageName tags an image with the custom tag
type GitCommit ¶
type GitCommit struct { }
GitCommit tags an image by the git commit it was built at.
func (*GitCommit) GenerateFullyQualifiedImageName ¶
func (c *GitCommit) GenerateFullyQualifiedImageName(workingDir string, opts *TagOptions) (string, error)
GenerateFullyQualifiedImageName tags an image with the supplied image name and the git commit.
type TagOptions ¶
Click to show internal directories.
Click to hide internal directories.