config

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolEnvVar

func BoolEnvVar(key string, defaultValue bool) bool

func DurationEnvVar

func DurationEnvVar(key string, defaultValue time.Duration) time.Duration

func IntEnvVar

func IntEnvVar(key string, defaultValue int) int

func NonLoggableKinds

func NonLoggableKinds() []string

func StringEnvVar

func StringEnvVar(key, defaultValue string) string

Types

type OperatorConfig

type OperatorConfig struct {
	ReconcileInterval     time.Duration
	Namespace             string
	MaxTenantResourceSets int
}

OperatorConfig contains the configuration options of the operator

var (
	Operator OperatorConfig
)

Jump to

Keyboard shortcuts

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