Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
func LoadConfig(scheme *runtime.Scheme, configFile string) (*configv1alpha1.ProjectConfig, ctrl.Options, error)
LoadConfig initializes the controller configuration, optionally overriding the defaults from a provided configuration file.
func NewRootCommand ¶
NewRootCommand creates a new cobra root command.
Types ¶
type RootConfig ¶
type RootConfig struct { Options ctrl.Options CtrlConfig configv1alpha1.ProjectConfig }
RootConfig contains configuration relevant for all commands.
type RootConfigKey ¶
type RootConfigKey struct{}
RootConfigKey contains the key to RootConfig in the context object.
Click to show internal directories.
Click to hide internal directories.