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 ¶
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 ¶
func (o *RawGenerationOptions) Validate() (*ValidatedGenerationOptions, error)
type ValidatedGenerationOptions ¶
type ValidatedGenerationOptions struct {
// contains filtered or unexported fields
}
func (*ValidatedGenerationOptions) Complete ¶
func (o *ValidatedGenerationOptions) Complete() (*GenerationOptions, error)
Click to show internal directories.
Click to hide internal directories.