options

package
v1.1.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetManagerOptions

func GetManagerOptions() *managerOptions

func GetSidecarOptions

func GetSidecarOptions() *sidecarOptions

Types

type CommonOptions

type CommonOptions struct {
	Name      string
	Namespace string
	LogLevel  string
}

func GetCommonOptions

func GetCommonOptions() *CommonOptions

func (*CommonOptions) AddFlags

func (o *CommonOptions) AddFlags(cmd *cobra.Command)

func (*CommonOptions) Validate

func (o *CommonOptions) Validate() error

type OperatorOptions

type OperatorOptions struct {
	*CommonOptions
	Image                  string
	EnableAdmissionWebhook bool
}

func GetOperatorOptions

func GetOperatorOptions() *OperatorOptions

func (*OperatorOptions) AddFlags

func (o *OperatorOptions) AddFlags(cmd *cobra.Command)

func (*OperatorOptions) Validate

func (o *OperatorOptions) Validate() error

Jump to

Keyboard shortcuts

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