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 ¶
func (o *GenericOptions) ApplyTo(c *generic.GenericConfiguration) error
ApplyTo fills up config with options
type MetricsOptions ¶
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 ¶
func (o *MetricsOptions) ApplyTo(c *generic.MetricsConfiguration) error
type QoSOptions ¶
type QoSOptions struct {
PodAnnotationQoSLevelReclaimedSelector []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
Click to show internal directories.
Click to hide internal directories.