app

package
v1.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandStartInjectorController

func NewCommandStartInjectorController(ctx context.Context, out, errOut io.Writer) *cobra.Command

NewCommandStartInjectorController is a CLI handler for starting cert-manager

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL