exec

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientConfig added in v0.7.0

func GetClientConfig(kubeConfigFile string) (*rest.Config, error)

func HidKlogFlag

func HidKlogFlag(pf *pflag.FlagSet)

func ProcessFlags

func ProcessFlags()

ProcessFlags parses command line parameters into options

func RunManager

func RunManager()

RunManager initial controller, synchronizer and start manager

Types

type ChannelCMDOptions

type ChannelCMDOptions struct {
	MetricsAddr                 string
	KubeConfig                  string
	SyncInterval                int
	LeaderElect                 bool
	Debug                       bool
	LogLevel                    bool
	LeaderElectionLeaseDuration time.Duration
	LeaderElectionRenewDeadline time.Duration
	LeaderElectionRetryPeriod   time.Duration
}

ChannelCMDOptions for command line flag parsing

Jump to

Keyboard shortcuts

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