generate

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 13 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL