options

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: Apache-2.0 Imports: 14 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 {

	// ReadyzPort if the port used to expose Prometheus metrics.
	ReadyzPort int
	// ReadyzPath if the HTTP path used to expose Prometheus metrics.
	ReadyzPath string

	// MetricsPort is the port for exposing Prometheus metrics on 0.0.0.0 on the
	// path '/metrics'.
	MetricsPort int

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

	// RestConfig is the shared based rest config to connect to the Kubernetes
	// API.
	RestConfig *rest.Config

	Controller  OptionsController
	CertManager certmanager.Options
	TLS         tls.Options
	Server      server.Options
	// contains filtered or unexported fields
}

Options is a struct to hold options for cert-manager-istio-csr

func New

func New() *Options

func (*Options) Complete

func (o *Options) Complete() error

func (*Options) Prepare

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

type OptionsController added in v0.3.0

type OptionsController struct {
	// LeaderElectionNamespace is the namespace that the leader election lease is
	// held in.
	LeaderElectionNamespace string

	// ConfigMapNamespaceSelector is the selector to filter on the namespaces that
	// receives the istio-root-ca ConfigMap
	ConfigMapNamespaceSelector string
}

OptionsController is the Controller specific options

Jump to

Keyboard shortcuts

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