Documentation ¶
Index ¶
- func Options(user ...sheaf.Option) []sheaf.Option
- type Generator
- func (g Generator) Options() []sheaf.Option
- func (g Generator) WithArchive()
- func (g Generator) WithBundleConfigFactory()
- func (g Generator) WithBundleName()
- func (g Generator) WithBundlePath()
- func (g Generator) WithBundleVersion()
- func (g Generator) WithDestination()
- func (g Generator) WithDryRun()
- func (g Generator) WithFilePaths()
- func (g Generator) WithForce()
- func (g Generator) WithImages()
- func (g Generator) WithInitBundlePath()
- func (g Generator) WithInsecureRegistry()
- func (g Generator) WithPrefix()
- func (g Generator) WithReference()
- func (g Generator) WithUserDefinedImage()
- func (g Generator) WithUserDefinedImageKey()
- type Runner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator generates options for a sheaf command.
func NewGenerator ¶
NewGenerator creates an instance of Generator.
func (Generator) WithArchive ¶
func (g Generator) WithArchive()
WithArchive sets up the archive flag.
func (Generator) WithBundleConfigFactory ¶
func (g Generator) WithBundleConfigFactory()
WithBundleConfigFactory sets up options for creating a bundle config.
func (Generator) WithBundleName ¶
func (g Generator) WithBundleName()
WithBundleName sets up a bundle name option.
func (Generator) WithBundlePath ¶
func (g Generator) WithBundlePath()
WithBundlePath sets a bundle path option.
func (Generator) WithBundleVersion ¶
func (g Generator) WithBundleVersion()
WithBundleVersion sets up a bundle version option.
func (Generator) WithDestination ¶
func (g Generator) WithDestination()
WithDestination sets up a destination option.
func (Generator) WithFilePaths ¶
func (g Generator) WithFilePaths()
WithFilePaths sets up file path options.
func (Generator) WithInitBundlePath ¶
func (g Generator) WithInitBundlePath()
WithInitBundlePath sets up bundle path for a sheaf init.
func (Generator) WithInsecureRegistry ¶
func (g Generator) WithInsecureRegistry()
WithInsecureRegistry sets up insecure registry option.
func (Generator) WithPrefix ¶
func (g Generator) WithPrefix()
WithPrefix sets up registry prefix option.
func (Generator) WithReference ¶
func (g Generator) WithReference()
WithReference sets up a registry reference option.
func (Generator) WithUserDefinedImage ¶
func (g Generator) WithUserDefinedImage()
WithUserDefinedImage sets up user defined image options.
func (Generator) WithUserDefinedImageKey ¶
func (g Generator) WithUserDefinedImageKey()
WithUserDefinedImageKey sets up user defined image key options.