app

package
v2.22.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: MIT Imports: 50 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flags

type Flags struct {
	MetricsAddr          string
	ProfilingMetrics     bool
	SecureMetrics        bool
	MetricsCertDir       string
	HealthAddr           string
	WebhookPort          int
	WebhookCertDir       string
	EnableLeaderElection bool
	LeaseDuration        time.Duration
	RenewDeadline        time.Duration
	RetryPeriod          time.Duration
	CRDManagementMode    string
	CRDPatterns          string // This is a ';' delimited string containing a collection of patterns
	CRDLabels            string // This is a ',' or ';' delimited string containing labels to apply to managed CRDs
	// EnableAzureCLIAuthentication adds AzureCLICredential to the default chain.
	// Off by default so in-cluster pods do not invoke az.
	EnableAzureCLIAuthentication bool
}

func InitFlags added in v2.10.0

func InitFlags(flagSet *flag.FlagSet) *Flags

func (Flags) String added in v2.1.0

func (f Flags) String() string

func (Flags) Validate

func (f Flags) Validate() error

Validate checks the flag combinations that would otherwise only fail once the manager starts.

type Runnable added in v2.11.0

type Runnable struct {
	// contains filtered or unexported fields
}

func SetupControllerManager

func SetupControllerManager(ctx context.Context, setupLog logr.Logger, flgs *Flags) *Runnable

func (*Runnable) Start added in v2.11.0

func (r *Runnable) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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