Documentation ¶
Index ¶
- Constants
- Variables
- func LoadControllerConfig(nonCachedClient client.Client) (found bool, err error)
- type ControllerConfig
- func (wc *ControllerConfig) GetClusterRoutingSuffix() *string
- func (wc *ControllerConfig) GetDefaultRoutingClass() *string
- func (wc *ControllerConfig) GetExperimentalFeaturesEnabled() *string
- func (wc *ControllerConfig) GetPVCStorageClassName() *string
- func (wc *ControllerConfig) GetProperty(name string) *string
- func (wc *ControllerConfig) GetSidecarPullPolicy() *string
- func (wc *ControllerConfig) GetWorkspaceIdleTimeout() *string
- func (wc *ControllerConfig) GetWorkspacePVCName() *string
- func (wc *ControllerConfig) Validate() error
Constants ¶
View Source
const ( ConfigMapNameEnvVar = "CONTROLLER_CONFIG_MAP_NAME" ConfigMapNamespaceEnvVar = "CONTROLLER_CONFIG_MAP_NAMESPACE" )
Variables ¶
View Source
var ConfigMapReference = client.ObjectKey{
Namespace: "",
Name: "devworkspace-controller-configmap",
}
Functions ¶
Types ¶
type ControllerConfig ¶
type ControllerConfig struct {
// contains filtered or unexported fields
}
var ControllerCfg ControllerConfig
func (*ControllerConfig) GetClusterRoutingSuffix ¶ added in v0.11.0
func (wc *ControllerConfig) GetClusterRoutingSuffix() *string
func (*ControllerConfig) GetDefaultRoutingClass ¶
func (wc *ControllerConfig) GetDefaultRoutingClass() *string
func (*ControllerConfig) GetExperimentalFeaturesEnabled ¶
func (wc *ControllerConfig) GetExperimentalFeaturesEnabled() *string
GetExperimentalFeaturesEnabled returns true if experimental features should be enabled. DO NOT TURN ON IT IN THE PRODUCTION. Experimental features are not well tested and may be totally removed without announcement.
func (*ControllerConfig) GetPVCStorageClassName ¶
func (wc *ControllerConfig) GetPVCStorageClassName() *string
func (*ControllerConfig) GetProperty ¶
func (wc *ControllerConfig) GetProperty(name string) *string
func (*ControllerConfig) GetSidecarPullPolicy ¶
func (wc *ControllerConfig) GetSidecarPullPolicy() *string
func (*ControllerConfig) GetWorkspaceIdleTimeout ¶
func (wc *ControllerConfig) GetWorkspaceIdleTimeout() *string
func (*ControllerConfig) GetWorkspacePVCName ¶
func (wc *ControllerConfig) GetWorkspacePVCName() *string
func (*ControllerConfig) Validate ¶
func (wc *ControllerConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.