Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubedOptions ¶
type KubedOptions struct { RecommendedOptions *genericoptions.RecommendedOptions OperatorOptions *OperatorOptions StdOut io.Writer StdErr io.Writer }
func NewKubedOptions ¶
func NewKubedOptions(out, errOut io.Writer) *KubedOptions
func (*KubedOptions) AddFlags ¶
func (o *KubedOptions) AddFlags(fs *pflag.FlagSet)
func (*KubedOptions) Complete ¶
func (o *KubedOptions) Complete() error
func (KubedOptions) Config ¶
func (o KubedOptions) Config() (*server.KubedConfig, error)
func (KubedOptions) Run ¶
func (o KubedOptions) Run(stopCh <-chan struct{}) error
func (KubedOptions) Validate ¶
func (o KubedOptions) Validate(args []string) error
type OperatorOptions ¶
type OperatorOptions struct { ClusterName string ConfigSourceNamespace string KubeConfigFile string QPS float32 Burst int ResyncPeriod time.Duration }
func NewOperatorOptions ¶
func NewOperatorOptions() *OperatorOptions
func (*OperatorOptions) AddFlags ¶
func (s *OperatorOptions) AddFlags(fs *pflag.FlagSet)
func (*OperatorOptions) ApplyTo ¶
func (s *OperatorOptions) ApplyTo(cfg *operator.OperatorConfig) error
Click to show internal directories.
Click to hide internal directories.