agent

package
v0.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAgent

func NewAgent() *cobra.Command

Types

type AgentOptions

type AgentOptions struct {
	MetricsAddr          string
	EnableLeaderElection bool
	ProbeAddr            string
	FeatureGatesFlags    map[string]bool
	ClusterName          string
	SpokeKubeconfig      string
	LeaseHealthCheck     bool
}

AgentOptions holds configuration for agent controller

func NewAgentOptions

func NewAgentOptions() *AgentOptions

NewAgentOptions returns an AgentOptions

func (*AgentOptions) AddFlags

func (o *AgentOptions) AddFlags(flags *pflag.FlagSet)

func (*AgentOptions) Run

func (o *AgentOptions) Run() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳