run

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdRun

func NewCmdRun(o *Options) *cobra.Command

NewCmdRun creates a command object for "run"

Types

type Options

type Options struct {
	ConfigFlags  *genericclioptions.ConfigFlags
	DebugFlags   *ctrlmanageropts.DebuggingOptions
	DebugAddress string

	BootstrapCRDs         bool
	BootstrapSpicedbsPath string
	OperatorConfigPath    string
}

Options contains the input to the run command.

func RecommendedOptions

func RecommendedOptions() *Options

RecommendedOptions builds a new options config with default values

func (*Options) Run

func (o *Options) Run(f cmdutil.Factory, cmd *cobra.Command, args []string) error

Run performs the apply operation.

func (*Options) Validate

func (o *Options) Validate(cmd *cobra.Command, args []string) error

Validate checks the set of flags provided by the user.

Jump to

Keyboard shortcuts

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