Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OCMManagerOptions ¶
type OCMManagerOptions struct {
KCPBaseKubeConfig string
}
OCMManagerOptions defines the flags for ocm manager
func NewOCMManagerOptions ¶
func NewOCMManagerOptions() *OCMManagerOptions
NewWorkloadAgentOptions returns the flags with default value set
func (*OCMManagerOptions) AddFlags ¶
func (o *OCMManagerOptions) AddFlags(cmd *cobra.Command)
AddFlags register and binds the default flags
func (*OCMManagerOptions) RunManager ¶
func (o *OCMManagerOptions) RunManager(ctx context.Context, controllerContext *controllercmd.ControllerContext) error
RunWorkloadAgent starts the controllers on agent to process work from hub.
Click to show internal directories.
Click to hide internal directories.