initialize

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 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 Red Sky Configuration used to generate the controller installation
	Config *config.RedSkyConfig
	// 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

Jump to

Keyboard shortcuts

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