 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericComponentOptions ¶
type GenericComponentOptions struct {
	MinResyncPeriod         metav1.Duration
	ContentType             string
	KubeAPIQPS              float32
	KubeAPIBurst            int32
	ControllerStartInterval metav1.Duration
	LeaderElection          componentbaseconfig.LeaderElectionConfiguration
}
    GenericComponentOptions holds the options which are generic.
func NewGenericComponentOptions ¶
func NewGenericComponentOptions(cfg config.GenericComponentConfiguration) *GenericComponentOptions
NewGenericComponentOptions returns generic configuration default values.
func (*GenericComponentOptions) AddFlags ¶
func (o *GenericComponentOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to generic for controller manager to the specified FlagSet.
func (*GenericComponentOptions) ApplyTo ¶
func (o *GenericComponentOptions) ApplyTo(cfg *config.GenericComponentConfiguration) error
ApplyTo fills up generic config with options.
func (*GenericComponentOptions) Validate ¶
func (o *GenericComponentOptions) Validate() []error
Validate checks validation of GenericComponentOptions.
 Click to show internal directories. 
   Click to hide internal directories.