options

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	EventRecorder record.EventRecorder

	// ReadyzPort is the port to serve the readiness check on
	ReadyzPort int
	// ReadyzPath is the path to serve the readiness check on
	ReadyzPath string

	// MetricsPort is the port to serve prometheus metrics on
	MetricsPort int

	// EnableLeaderElection determines whether to use leader election
	EnableLeaderElection bool

	// LeaderElectionNamespace is the namespace to create Leader Election Resources
	LeaderElectionNamespace string

	// Logr is the shared base logr.Logger
	Logr logr.Logger

	// RestConfig is the Kubernetes config
	RestConfig *rest.Config
	// contains filtered or unexported fields
}

Options is the main configuration struct for cert-manager-openshift-routes

func New

func New() *Options

func (*Options) Complete

func (o *Options) Complete() error

func (*Options) Prepare

func (o *Options) Prepare(cmd *cobra.Command) *Options

Jump to

Keyboard shortcuts

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