generate

package
v0.0.0-...-fd200ee Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindGenerationOptions

func BindGenerationOptions(opts *RawGenerationOptions, cmd *cobra.Command) error

func NewCommand

func NewCommand() (*cobra.Command, error)

Types

type GenerationOptions

type GenerationOptions struct {
	// contains filtered or unexported fields
}

func (*GenerationOptions) ExecuteTemplate

func (opts *GenerationOptions) ExecuteTemplate() error

type RawGenerationOptions

type RawGenerationOptions struct {
	RolloutOptions *options.RawRolloutOptions
	Input          string
	Output         string
}

RawGenerationOptions holds input values.

func DefaultGenerationOptions

func DefaultGenerationOptions() *RawGenerationOptions

func (*RawGenerationOptions) Validate

type ValidatedGenerationOptions

type ValidatedGenerationOptions struct {
	// contains filtered or unexported fields
}

func (*ValidatedGenerationOptions) Complete

Jump to

Keyboard shortcuts

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