cmd

package
v0.20.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildRoot

func BuildRoot() *cobra.Command

BuildRoot creates a new root command from the

func ExecuteStart

func ExecuteStart(ctx context.Context, options *StartOptions) error

func NewCpCommand added in v0.19.0

func NewCpCommand() *cobra.Command

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd returns a new root command

func NewStartCommand

func NewStartCommand() *cobra.Command

func StartLeaderElection added in v0.15.1

func StartLeaderElection(ctx *config.ControllerContext, startLeading func() error) error

Types

type StartOptions added in v0.20.0

type StartOptions struct {
	Config string

	SetValues []string
}

Jump to

Keyboard shortcuts

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