{"modulePath":"github.com/devfile/devworkspace-operator","version":"v1.1.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package projects\n\nPackage projects defines library functions for reconciling projects in a Devfile (i.e. cloning and maintaining state)\n\n## Constants\n\n```go\nconst (\n\tProjectClonerContainerName = \"project-clone\"\n)\n```\n\n## Functions\n\n```go\nfunc GetClonePath(project *dw.Project) string\n```\nGetClonePath gets the correct clonePath for a project, given the semantics in devfile/api\n\n```go\nfunc GetProjectCloneInitContainer(workspace *dw.DevWorkspaceTemplateSpec, options Options, proxyConfig *controllerv1alpha1.Proxy) (*corev1.Container, error)\n```\n\n```go\nfunc GetStarterProject(workspace *dw.DevWorkspaceTemplateSpec) (*dw.StarterProject, error)\n```\n\n```go\nfunc ValidateAllProjects(workspace *dw.DevWorkspaceTemplateSpec) error\n```\nValidateAllProjectsvalidates that no two projects, dependentProjects or starterProjects (if one is selected) share the same name or cloned path\n\n## Types\n\n```go\ntype Options struct {\n\tImage      string\n\tPullPolicy corev1.PullPolicy\n\tResources  *corev1.ResourceRequirements\n\tEnv        []corev1.EnvVar\n}\n```\n\n","path":"github.com/devfile/devworkspace-operator/pkg/library/projects","name":"projects","synopsis":"Package projects defines library functions for reconciling projects in a Devfile (i.e.","isRedistributable":true}
