{"modulePath":"github.com/devfile/devworkspace-operator","version":"v1.1.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package metadata\n\n## Constants\n\n```go\nconst (\n\t// MetadataMountPathEnvVar is the name of an env var added to all containers to specify where workspace yamls are mounted.\n\tMetadataMountPathEnvVar = \"DEVWORKSPACE_METADATA\"\n\n\t// FlattenedDevfileMountPathEnvVar is an environment variable holding the path to the flattened devworkspace template spec\n\tFlattenedDevfileMountPathEnvVar = \"DEVWORKSPACE_FLATTENED_DEVFILE\"\n\n\t// OriginalDevfileMountPathEnvVar is an environment variable holding the path to the original devworkspace template spec\n\tOriginalDevfileMountPathEnvVar = \"DEVWORKSPACE_ORIGINAL_DEVFILE\"\n)\n```\n\n## Functions\n\n```go\nfunc ProvisionWorkspaceMetadata(podAdditions *v1alpha1.PodAdditions, original, flattened *common.DevWorkspaceWithConfig, api sync.ClusterAPI) error\n```\nProvisionWorkspaceMetadata creates a configmap on the cluster that stores metadata about the workspace and configures all workspace containers to mount that configmap at /devworkspace-metadata. Each container has the environment variable DEVWORKSPACE\\_METADATA set to the mount path for the configmap\n\n","path":"github.com/devfile/devworkspace-operator/pkg/provision/metadata","name":"metadata","synopsis":"","isRedistributable":true}
