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 ¶
func (o *GenericOptions) ApplyTo(c *generic.GenericConfiguration) error
ApplyTo fills up config with options
type LogsOptions ¶ added in v0.3.0
type LogsOptions struct {
LogPackageLevel general.LoggingPKG
LogFileMaxSizeInMB uint64
CustomLogDir string
LogBufferSize int
LogFileMaxAge int
LogFileMaxBackups int
}
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(c *generic.LogConfiguration) error
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.