{"modulePath":"github.com/devfile/devworkspace-operator","version":"v0.8.0","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package env\n\n## Constants\n\n```go\nconst (\n\t// DevWorkspaceNamespace contains env var name which value is the current namespace where DevWorkspace CR\n\t// and related objects live\n\tDevWorkspaceNamespace = \"DEVWORKSPACE_NAMESPACE\"\n\n\t// DevWorkspaceId contains env var name which which value is the .status.devworkspaceId of the related\n\t// DevWorkspace CR. It can be used to list related objects with WorkspaceIDLabel selector\n\tDevWorkspaceId = \"DEVWORKSPACE_ID\"\n\n\t// DevWorkspaceName contains env var name which value is name of the related DevWorkspace CR.\n\t// It can be used to list related objects with WorkspaceNameLabel selector\n\tDevWorkspaceName = \"DEVWORKSPACE_NAME\"\n\n\t// DevWorkspaceCreator contains env var name which value is the uid of the identity who created the related devworkspace\n\tDevWorkspaceCreator = \"DEVWORKSPACE_CREATOR\"\n\n\t// DevWorkspaceIdleTimeout contains env var name which value is the suggested idle timeout\n\tDevWorkspaceIdleTimeout = \"DEVWORKSPACE_IDLE_TIMEOUT\"\n\n\t// DevWorkspaceComponentName contains env var name which indicates from which devfile container component\n\t// the container is created from. Note the flattened devfile is used to evaluate it.\n\tDevWorkspaceComponentName = \"DEVWORKSPACE_COMPONENT_NAME\"\n)\n```\n\n## Functions\n\n```go\nfunc CommonEnvironmentVariables(workspaceName, workspaceId, namespace, creator string) []corev1.EnvVar\n```\n\n","path":"github.com/devfile/devworkspace-operator/controllers/workspace/env","name":"env","synopsis":"","isRedistributable":true}
