initialize

package
v2.1.7 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(o *Options) *cobra.Command

NewCommand creates a command for performing an initialization

func NewGeneratorCommand

func NewGeneratorCommand(o *GeneratorOptions) *cobra.Command

NewGeneratorCommand creates a command for generating the controller installation

Types

type GeneratorOptions

type GeneratorOptions struct {
	// Config is the Optimize Configuration used to generate the controller installation
	Config *config.OptimizeConfig
	// IOStreams are used to access the standard process streams
	commander.IOStreams

	IncludeBootstrapRole    bool
	IncludeExtraPermissions bool
	NamespaceSelector       string
	OutputDirectory         string

	Image              string
	SkipControllerRBAC bool
	SkipSecret         bool
	// contains filtered or unexported fields
}

GeneratorOptions are the configuration options for generating the controller installation

type Options

type Options struct {
	GeneratorOptions

	Wait bool
}

Options is the configuration for initialization

func (*Options) Initialize

func (o *Options) Initialize(ctx context.Context) error

Jump to

Keyboard shortcuts

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