projects

package
v0.28.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package projects defines library functions for reconciling projects in a Devfile (i.e. cloning and maintaining state)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClonePath added in v0.24.0

func GetClonePath(project *dw.Project) string

GetClonePath gets the correct clonePath for a project, given the semantics in devfile/api

func GetProjectCloneInitContainer added in v0.12.0

func GetProjectCloneInitContainer(workspace *dw.DevWorkspaceTemplateSpec, options Options, proxyConfig *controllerv1alpha1.Proxy) (*corev1.Container, error)

func GetStarterProject added in v0.22.0

func GetStarterProject(workspace *dw.DevWorkspaceTemplateSpec) (*dw.StarterProject, error)

func ValidateAllProjects added in v0.25.0

func ValidateAllProjects(workspace *dw.DevWorkspaceTemplateSpec) error

ValidateAllProjectsvalidates that no two projects, dependentProjects or starterProjects (if one is selected) share the same name or cloned path

Types

type Options added in v0.21.0

type Options struct {
	Image      string
	PullPolicy corev1.PullPolicy
	Resources  *corev1.ResourceRequirements
	Env        []corev1.EnvVar
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL