controllers

package
v0.0.0-...-8e537a0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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