Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdGenerate ¶
func NewCmdGenerate(f *cmdutil.Factory, runF func(context.Context, *GenerateOptions) error) *cobra.Command
NewCmdGenerate creates a new generate command.
Types ¶
type GenerateOptions ¶
type GenerateOptions struct {
IOStreams *iostreams.IOStreams
Config func() (config.Config, error)
Logger func() (*logger.Logger, error)
Versions []string // Positional args: version patterns
SkipFetch bool
Cleanup bool
OutputDir string // Output directory for versions.json (Dockerfiles always go to cfg.DockerfilesSubdir())
}
GenerateOptions contains the options for the generate command.
Click to show internal directories.
Click to hide internal directories.