app

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cobra.Command

func Run

func Run(ctx context.Context, opts Options) error

Types

type Options

type Options struct {
	GetConfigOptions         config.GetConfigOptions
	MetricsAddr              string
	SecureMetrics            bool
	MetricsCertPath          string
	MetricsCertName          string
	MetricsCertKey           string
	EnableHTTP2              bool
	EnableLeaderElection     bool
	LeaderElectionNamespace  string
	LeaderElectionKubeconfig string
	ProbeAddr                string
	PprofAddr                string

	MachinePoolName               string
	MachineDownwardAPILabels      map[string]string
	MachineDownwardAPIAnnotations map[string]string

	VolumeDownwardAPILabels      map[string]string
	VolumeDownwardAPIAnnotations map[string]string

	NicDownwardAPILabels      map[string]string
	NicDownwardAPIAnnotations map[string]string

	NetworkDownwardAPILabels      map[string]string
	NetworkDownwardAPIAnnotations map[string]string

	TopologyRegionLabel string
	TopologyZoneLabel   string

	ProviderID                           string
	MachineRuntimeEndpoint               string
	MachineRuntimeSocketDiscoveryTimeout time.Duration
	DialTimeout                          time.Duration
	MachineClassMapperSyncTimeout        time.Duration

	HeartbeatInterval      time.Duration
	HeartbeatLeaseDuration time.Duration
	HeartbeatStatusTimeout time.Duration

	ChannelCapacity int
	RelistPeriod    time.Duration
	RelistThreshold time.Duration

	ServerFlags server.Flags

	AddressesOptions addresses.GetOptions

	WatchFilterValue string

	MaxConcurrentReconciles int
}

func NewOptions

func NewOptions() *Options

func (*Options) AddFlags

func (o *Options) AddFlags(fs *pflag.FlagSet)

func (*Options) MarkFlagsRequired

func (o *Options) MarkFlagsRequired(cmd *cobra.Command)

Jump to

Keyboard shortcuts

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