Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InjectorControllerOptions ¶
type InjectorControllerOptions struct { Namespace string LeaderElect bool LeaderElectionNamespace string LeaseDuration time.Duration RenewDeadline time.Duration RetryPeriod time.Duration StdOut io.Writer StdErr io.Writer // EnablePprof determines whether Go profiler should be run. EnablePprof bool // PprofAddr is the address at which Go profiler will be run if enabled. // The profiler should never be exposed on a public address. PprofAddr string // contains filtered or unexported fields }
InjectorControllerOptions is a struct having injector controller options values
func NewInjectorControllerOptions ¶
func NewInjectorControllerOptions(out, errOut io.Writer) *InjectorControllerOptions
NewInjectorControllerOptions returns a new InjectorControllerOptions
func (*InjectorControllerOptions) AddFlags ¶
func (o *InjectorControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds the various flags for injector controller options
func (InjectorControllerOptions) RunInjectorController ¶
func (o InjectorControllerOptions) RunInjectorController(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.