config

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RequeueDefaultDelayEnvVar = "REQUEUE_DEFAULT_DELAY"
	RequeueLongDelayEnvVar    = "REQUEUE_LONG_DELAY"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ReconcilerConfig

type ReconcilerConfig struct {
	DefaultDelay time.Duration
	LongDelay    time.Duration
}

func InitConfig

func InitConfig() *ReconcilerConfig

InitConfig is primarily a hook for integration tests. It provides a way to use shorter requeue delays which allows the tests to run much faster. Note that this code will likely be changed when we tackle https://github.com/k8ssandra/k8ssandra-operator/issues/63.

Jump to

Keyboard shortcuts

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