opt

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Debug determines whether this server starts with debugging enabled.
	Debug bool

	// Name is the name of this deployment, if known.
	Name string

	// Namespace is the Kubernetes namespace this deployment is running in, if
	// known.
	Namespace string

	// ControllerMaxReconcileBackoffDuration is the amount of time the
	// controller may wait to reprocess an object that has encountered an error.
	ControllerMaxReconcileBackoffDuration time.Duration

	// WebhookServiceName is the name of the service that provides access to the
	// webook.
	WebhookServiceName string

	// WebhookCertificateSecretName is the name of the secret that should
	// contain the certificate data for the webhook.
	WebhookCertificateSecretName string

	// ValidatingWebhookConfigurationName is the name of the admission webhook
	// configuration for the API server to communicate with our webhook.
	ValidatingWebhookConfigurationName string
}

func NewConfig

func NewConfig(defaultName string) *Config

Jump to

Keyboard shortcuts

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