config

package
v0.0.0-...-cb3ae47 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// OperatorName is the name of the operator
	OperatorName string = "managed-upgrade-operator"
	// OperatorNamespace is the namespace of the operator
	OperatorNamespace string = "openshift-managed-upgrade-operator"
	// SyncPeriodDefault reconciles a sync period for each controller
	SyncPeriodDefault = 5 * time.Minute
	// ConfigMapName is the name of the ConfigMap for the operator
	ConfigMapName string = OperatorName + "-config"
	// ConfigField is the name of field within the ConfigMap
	ConfigField string = "config.yaml"
	// EnvRoutes is used to determine if routes should be used during development
	EnvRoutes string = "ROUTES"

	EnableOLMSkipRange = "true"
)

Variables

This section is empty.

Functions

func UseRoutes

func UseRoutes() bool

Types

type CMTarget

type CMTarget configmanager.Target

func (*CMTarget) NewCMTarget

func (c *CMTarget) NewCMTarget() (configmanager.Target, error)

NewCMTarget acts as a wrapper around configmanager.Target to enable MUO defaults that can be set outside of the configmanager pkg itself.

Jump to

Keyboard shortcuts

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