options

package
v0.5.12 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 16 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthOptions added in v0.4.0

type AuthOptions struct {
	// Authentication type
	AuthType string

	// AccessControl type
	AccessControlType string

	HttpStrictAuthentication bool
}

func NewAuthOptions added in v0.4.0

func NewAuthOptions() *AuthOptions

func (*AuthOptions) AddFlags added in v0.4.0

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

AddFlags adds flags to the specified FlagSet.

func (*AuthOptions) ApplyTo added in v0.4.0

func (o *AuthOptions) ApplyTo(c *generic.AuthConfiguration) error

type GenericOptions

type GenericOptions struct {
	DryRun             bool
	EnableHealthzCheck bool

	MasterURL  string
	KubeConfig string

	TransformedInformerForPod bool

	// todo actually those auth info should be stored in secrets or somewhere like that
	GenericEndpoint             string
	GenericEndpointHandleChains []string

	componentbaseconfig.ClientConnectionConfiguration
	// contains filtered or unexported fields
}

GenericOptions holds the configurations for multi components.

func NewGenericOptions

func NewGenericOptions() *GenericOptions

func (*GenericOptions) AddFlags

func (o *GenericOptions) AddFlags(fss *cliflag.NamedFlagSets)

AddFlags adds flags to the specified FlagSet.

func (*GenericOptions) ApplyTo

ApplyTo fills up config with options

type LogsOptions added in v0.3.0

type LogsOptions struct {
	LogPackageLevel general.LoggingPKG
}

func NewLogsOptions added in v0.3.0

func NewLogsOptions() *LogsOptions

func (*LogsOptions) AddFlags added in v0.3.0

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

AddFlags adds flags to the specified FlagSet.

func (*LogsOptions) ApplyTo added in v0.3.0

func (o *LogsOptions) ApplyTo() error

type MetricsOptions

type MetricsOptions struct {
	EmitterPrometheusGCTimeout time.Duration
}

func NewMetricsOptions

func NewMetricsOptions() *MetricsOptions

func (*MetricsOptions) AddFlags

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

AddFlags adds flags to the specified FlagSet.

func (*MetricsOptions) ApplyTo

type QoSOptions

type QoSOptions struct {
	PodAnnotationQoSLevelReclaimedSelector []string
	PodAnnotationQoSLevelSharedSelector    []string
	PodAnnotationQoSLevelDedicatedSelector []string
	PodAnnotationQoSLevelSystemSelector    []string

	PodAnnotationQoSEnhancements []string
	EnhancementDefaultValues     map[string]string
}

func NewQoSOptions

func NewQoSOptions() *QoSOptions

func (*QoSOptions) AddFlags

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

AddFlags adds flags to the specified FlagSet.

func (*QoSOptions) ApplyTo

func (o *QoSOptions) ApplyTo(c *generic.QoSConfiguration) error

Jump to

Keyboard shortcuts

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