Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Name of the current DevWorkspace DevWorkspaceName string // Namespace for the current DevWorkspace DevWorkspaceNamespace string // ID for the current DevWorkspace DevWorkspaceID string // URL to listen on (default :4444) URL string // AuthenticatedUserID OpenShift UID of user authorized to access DevWorksapce. Required; may be specified as empty // string for users that do not have a UID (e.g. kubeadmin) AuthenticatedUserID string // IdleTimeout is a inactivity period after which workspace should be stopped // Default -1, which mean - does not stop IdleTimeout time.Duration // StopRetryPeriod is a period after which workspace should be tried to stop if the previous try failed // Defaults 10 second StopRetryPeriod time.Duration // PodSelector set of labels to be used as selector for getting workspace pod. // Default value is controller.devfile.io/devworkspace_id=${DEVWORKSPACE_ID} PodSelector string // UseTLS (deprecated) kept for compatibility but if specified must have 'true' value UseTLS bool // UseBearerToken (deprecated) kept for compatibility but if specified must have 'true' value UseBearerToken bool )
Functions ¶
func ParseConfig ¶
func ParseConfig() error
func ResetConfigForTest ¶
func ResetConfigForTest()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.