Documentation ¶
Index ¶
- Constants
- Variables
- func ExperimentalFeaturesEnabled() bool
- func GetDevModeEnabled() bool
- func GetMaxConcurrentReconciles() (int, error)
- func GetResourceQuantityFromEnvVar(env string) (*resource.Quantity, error)
- func GetWebhooksSecretName() (string, error)
- func GetWorkspaceControllerSA() (string, error)
- func MigrateConfigFromConfigMap(client crclient.Client) error
- func Predicates() predicate.Predicate
- func SetConfigForTesting(config *controller.OperatorConfiguration)
- func SetupControllerConfig(client crclient.Client) error
- type ControllerEnv
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 ¶
View Source
var ( Routing *controller.RoutingConfig Workspace *controller.WorkspaceConfig )
Functions ¶
func ExperimentalFeaturesEnabled ¶ added in v0.10.0
func ExperimentalFeaturesEnabled() bool
func GetDevModeEnabled ¶
func GetDevModeEnabled() bool
func GetMaxConcurrentReconciles ¶ added in v0.4.0
func GetResourceQuantityFromEnvVar ¶ added in v0.4.0
func GetWebhooksSecretName ¶
func GetWorkspaceControllerSA ¶ added in v0.10.0
func MigrateConfigFromConfigMap ¶ added in v0.11.0
func Predicates ¶ added in v0.10.0
func SetConfigForTesting ¶ added in v0.10.0
func SetConfigForTesting(config *controller.OperatorConfiguration)
func SetupControllerConfig ¶ added in v0.10.0
Types ¶
type ControllerEnv ¶
type ControllerEnv struct{}
Click to show internal directories.
Click to hide internal directories.