config

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WebhooksMemLimitEnvVar   = "WEBHOOKS_SERVER_MEMORY_LIMIT"
	WebhooksMemRequestEnvVar = "WEBHOOKS_SERVER_MEMORY_REQUEST"
	WebhooksCPULimitEnvVar   = "WEBHOOKS_SERVER_CPU_LIMIT"
	WebhooksCPURequestEnvVar = "WEBHOOKS_SERVER_CPU_REQUEST"
)
View Source
const (
	OperatorConfigName = "devworkspace-operator-config"
)

Variables

Functions

func ExperimentalFeaturesEnabled added in v0.10.0

func ExperimentalFeaturesEnabled() bool

func GetDevModeEnabled

func GetDevModeEnabled() bool

func GetMaxConcurrentReconciles added in v0.4.0

func GetMaxConcurrentReconciles() (int, error)

func GetResourceQuantityFromEnvVar added in v0.4.0

func GetResourceQuantityFromEnvVar(env string) (*resource.Quantity, error)

func GetWebhooksSecretName

func GetWebhooksSecretName() (string, error)

func GetWorkspaceControllerSA added in v0.10.0

func GetWorkspaceControllerSA() (string, error)

func MigrateConfigFromConfigMap added in v0.11.0

func MigrateConfigFromConfigMap(client crclient.Client) error

func Predicates added in v0.10.0

func Predicates() predicate.Predicate

func SetConfigForTesting added in v0.10.0

func SetConfigForTesting(config *controller.OperatorConfiguration)

func SetupControllerConfig added in v0.10.0

func SetupControllerConfig(client crclient.Client) error

Types

type ControllerEnv

type ControllerEnv struct{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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