options

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 14 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenericOptions

type GenericOptions struct {
	DryRun 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
	GenericAuthStaticUser       string
	GenericAuthStaticPasswd     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