populate

package
v0.0.0-...-4fc17a6 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: MIT Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindOptions

func BindOptions(opts *RawOptions, cmd *cobra.Command) error

func NewCommand

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

Types

type Options

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

func (*Options) Populate

func (opts *Options) Populate(ctx context.Context) error

type RawOptions

type RawOptions struct {
	*cmdutils.RawOptions
	KeyVault         string
	KeyEncryptionKey string
	ConfigFile       string
}

RawOptions holds input values.

func DefaultOptions

func DefaultOptions() *RawOptions

func (*RawOptions) Validate

func (o *RawOptions) Validate() (*ValidatedOptions, error)

type ValidatedOptions

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

func (*ValidatedOptions) Complete

func (o *ValidatedOptions) Complete() (*Options, error)

Jump to

Keyboard shortcuts

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