MCPcopy Create free account
hub / github.com/devfile/api / StarterProject

Struct StarterProject

pkg/apis/workspaces/v1alpha2/projects.go:44–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44type StarterProject struct {
45 // Project name
46 // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
47 // +kubebuilder:validation:MaxLength=63
48 Name string `json:"name"`
49
50 // Map of implementation-dependant free-form YAML attributes.
51 // +optional
52 // +kubebuilder:validation:Type=object
53 // +kubebuilder:pruning:PreserveUnknownFields
54 // +kubebuilder:validation:Schemaless
55 Attributes attributes.Attributes `json:"attributes,omitempty"`
56
57 // Description of a starter project
58 // +optional
59 Description string `json:"description,omitempty"`
60
61 // Sub-directory from a starter project to be used as root for starter project.
62 // +optional
63 SubDir string `json:"subDir,omitempty"`
64
65 ProjectSource `json:",inline"`
66}
67
68// ProjectSourceType describes the type of Project sources.
69// Only one of the following project sources may be specified.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected