opt

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: Apache-2.0 Imports: 4 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

	// ControllerConditionTypeInclusionPattern is a regular expression used to
	// match node condition types to determine whether they should be
	// propagated.
	ControllerConditionTypeInclusionPattern *regexp.Regexp
}

func NewConfig

func NewConfig(defaultName string) (*Config, error)

Jump to

Keyboard shortcuts

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