Documentation ¶
Overview ¶
Package v1alpha2 contains API Schema definitions for the org v1alpha2 API group +k8s:deepcopy-gen=package,register +k8s:openapi-gen=true +groupName=workspace.devfile.io +devfile:jsonschema:version=2.3.0
Package v1alpha2 contains API Schema definitions for the org v1alpha2 API group +k8s:deepcopy-gen=package,register +groupName=workspace.devfile.io
Index ¶
- Variables
- func CheckDuplicateKeys(keyedList interface{}) error
- type Annotation
- type AnnotationParentOverride
- type AnnotationPluginOverride
- type AnnotationPluginOverrideParentOverride
- type ApplyCommand
- type ApplyCommandParentOverride
- type ApplyCommandPluginOverride
- type ApplyCommandPluginOverrideParentOverride
- type BaseCommand
- type BaseCommandParentOverride
- type BaseCommandPluginOverride
- type BaseCommandPluginOverrideParentOverride
- type BaseComponent
- type BaseComponentParentOverride
- type BaseComponentPluginOverride
- type BaseComponentPluginOverrideParentOverride
- type BaseImage
- type BaseImageParentOverride
- type BaseImagePluginOverride
- type BaseImagePluginOverrideParentOverride
- type CheckoutFrom
- type CheckoutFromParentOverride
- type CheckoutFromPluginOverride
- type CheckoutFromPluginOverrideParentOverride
- type Command
- type CommandGroup
- type CommandGroupKind
- type CommandGroupKindParentOverride
- type CommandGroupKindPluginOverride
- type CommandGroupKindPluginOverrideParentOverride
- type CommandGroupParentOverride
- type CommandGroupPluginOverride
- type CommandGroupPluginOverrideParentOverride
- type CommandParentOverride
- type CommandPluginOverride
- type CommandPluginOverrideParentOverride
- type CommandType
- type CommandTypeParentOverride
- type CommandTypePluginOverride
- type CommandTypePluginOverrideParentOverride
- type CommandUnion
- type CommandUnionParentOverride
- func (in *CommandUnionParentOverride) DeepCopy() *CommandUnionParentOverride
- func (in *CommandUnionParentOverride) DeepCopyInto(out *CommandUnionParentOverride)
- func (union *CommandUnionParentOverride) Normalize() error
- func (union *CommandUnionParentOverride) Simplify()
- func (union CommandUnionParentOverride) Visit(visitor CommandUnionParentOverrideVisitor) error
- type CommandUnionParentOverrideVisitor
- type CommandUnionPluginOverride
- func (in *CommandUnionPluginOverride) DeepCopy() *CommandUnionPluginOverride
- func (in *CommandUnionPluginOverride) DeepCopyInto(out *CommandUnionPluginOverride)
- func (union *CommandUnionPluginOverride) Normalize() error
- func (union *CommandUnionPluginOverride) Simplify()
- func (union CommandUnionPluginOverride) Visit(visitor CommandUnionPluginOverrideVisitor) error
- type CommandUnionPluginOverrideParentOverride
- func (in *CommandUnionPluginOverrideParentOverride) DeepCopy() *CommandUnionPluginOverrideParentOverride
- func (in *CommandUnionPluginOverrideParentOverride) DeepCopyInto(out *CommandUnionPluginOverrideParentOverride)
- func (union *CommandUnionPluginOverrideParentOverride) Normalize() error
- func (union *CommandUnionPluginOverrideParentOverride) Simplify()
- func (union CommandUnionPluginOverrideParentOverride) Visit(visitor CommandUnionPluginOverrideParentOverrideVisitor) error
- type CommandUnionPluginOverrideParentOverrideVisitor
- type CommandUnionPluginOverrideVisitor
- type CommandUnionVisitor
- type CommonProjectSource
- type CommonProjectSourceParentOverride
- type CommonProjectSourcePluginOverride
- type CommonProjectSourcePluginOverrideParentOverride
- type Component
- type ComponentContribution
- type ComponentParentOverride
- type ComponentPluginOverride
- type ComponentPluginOverrideParentOverride
- type ComponentType
- type ComponentTypeParentOverride
- type ComponentTypePluginOverride
- type ComponentTypePluginOverrideParentOverride
- type ComponentUnion
- type ComponentUnionParentOverride
- func (in *ComponentUnionParentOverride) DeepCopy() *ComponentUnionParentOverride
- func (in *ComponentUnionParentOverride) DeepCopyInto(out *ComponentUnionParentOverride)
- func (union *ComponentUnionParentOverride) Normalize() error
- func (union *ComponentUnionParentOverride) Simplify()
- func (union ComponentUnionParentOverride) Visit(visitor ComponentUnionParentOverrideVisitor) error
- type ComponentUnionParentOverrideVisitor
- type ComponentUnionPluginOverride
- func (in *ComponentUnionPluginOverride) DeepCopy() *ComponentUnionPluginOverride
- func (in *ComponentUnionPluginOverride) DeepCopyInto(out *ComponentUnionPluginOverride)
- func (union *ComponentUnionPluginOverride) Normalize() error
- func (union *ComponentUnionPluginOverride) Simplify()
- func (union ComponentUnionPluginOverride) Visit(visitor ComponentUnionPluginOverrideVisitor) error
- type ComponentUnionPluginOverrideParentOverride
- func (in *ComponentUnionPluginOverrideParentOverride) DeepCopy() *ComponentUnionPluginOverrideParentOverride
- func (in *ComponentUnionPluginOverrideParentOverride) DeepCopyInto(out *ComponentUnionPluginOverrideParentOverride)
- func (union *ComponentUnionPluginOverrideParentOverride) Normalize() error
- func (union *ComponentUnionPluginOverrideParentOverride) Simplify()
- func (union ComponentUnionPluginOverrideParentOverride) Visit(visitor ComponentUnionPluginOverrideParentOverrideVisitor) error
- type ComponentUnionPluginOverrideParentOverrideVisitor
- type ComponentUnionPluginOverrideVisitor
- type ComponentUnionVisitor
- type CompositeCommand
- type CompositeCommandParentOverride
- type CompositeCommandPluginOverride
- type CompositeCommandPluginOverrideParentOverride
- type Container
- type ContainerComponent
- type ContainerComponentParentOverride
- type ContainerComponentPluginOverride
- type ContainerComponentPluginOverrideParentOverride
- type ContainerParentOverride
- type ContainerPluginOverride
- type ContainerPluginOverrideParentOverride
- type CustomCommand
- type CustomComponent
- type CustomProjectSource
- type DevWorkspace
- type DevWorkspaceCondition
- type DevWorkspaceConditionType
- type DevWorkspaceEvents
- type DevWorkspaceList
- type DevWorkspacePhase
- type DevWorkspaceSpec
- type DevWorkspaceStatus
- type DevWorkspaceTemplate
- type DevWorkspaceTemplateList
- type DevWorkspaceTemplateSpec
- type DevWorkspaceTemplateSpecContent
- type Devfile
- type Dockerfile
- type DockerfileDevfileRegistrySource
- type DockerfileDevfileRegistrySourceParentOverride
- type DockerfileDevfileRegistrySourcePluginOverride
- type DockerfileDevfileRegistrySourcePluginOverrideParentOverride
- type DockerfileGitProjectSource
- type DockerfileGitProjectSourceParentOverride
- type DockerfileGitProjectSourcePluginOverride
- type DockerfileGitProjectSourcePluginOverrideParentOverride
- type DockerfileImage
- type DockerfileImageParentOverride
- type DockerfileImagePluginOverride
- type DockerfileImagePluginOverrideParentOverride
- type DockerfileParentOverride
- type DockerfilePluginOverride
- type DockerfilePluginOverrideParentOverride
- type DockerfileSrc
- type DockerfileSrcParentOverride
- func (in *DockerfileSrcParentOverride) DeepCopy() *DockerfileSrcParentOverride
- func (in *DockerfileSrcParentOverride) DeepCopyInto(out *DockerfileSrcParentOverride)
- func (union *DockerfileSrcParentOverride) Normalize() error
- func (union *DockerfileSrcParentOverride) Simplify()
- func (union DockerfileSrcParentOverride) Visit(visitor DockerfileSrcParentOverrideVisitor) error
- type DockerfileSrcParentOverrideVisitor
- type DockerfileSrcPluginOverride
- func (in *DockerfileSrcPluginOverride) DeepCopy() *DockerfileSrcPluginOverride
- func (in *DockerfileSrcPluginOverride) DeepCopyInto(out *DockerfileSrcPluginOverride)
- func (union *DockerfileSrcPluginOverride) Normalize() error
- func (union *DockerfileSrcPluginOverride) Simplify()
- func (union DockerfileSrcPluginOverride) Visit(visitor DockerfileSrcPluginOverrideVisitor) error
- type DockerfileSrcPluginOverrideParentOverride
- func (in *DockerfileSrcPluginOverrideParentOverride) DeepCopy() *DockerfileSrcPluginOverrideParentOverride
- func (in *DockerfileSrcPluginOverrideParentOverride) DeepCopyInto(out *DockerfileSrcPluginOverrideParentOverride)
- func (union *DockerfileSrcPluginOverrideParentOverride) Normalize() error
- func (union *DockerfileSrcPluginOverrideParentOverride) Simplify()
- func (union DockerfileSrcPluginOverrideParentOverride) Visit(visitor DockerfileSrcPluginOverrideParentOverrideVisitor) error
- type DockerfileSrcPluginOverrideParentOverrideVisitor
- type DockerfileSrcPluginOverrideVisitor
- type DockerfileSrcType
- type DockerfileSrcTypeParentOverride
- type DockerfileSrcTypePluginOverride
- type DockerfileSrcTypePluginOverrideParentOverride
- type DockerfileSrcVisitor
- type Endpoint
- type EndpointExposure
- type EndpointExposureParentOverride
- type EndpointExposurePluginOverride
- type EndpointExposurePluginOverrideParentOverride
- type EndpointParentOverride
- type EndpointPluginOverride
- type EndpointPluginOverrideParentOverride
- type EndpointProtocol
- type EndpointProtocolParentOverride
- type EndpointProtocolPluginOverride
- type EndpointProtocolPluginOverrideParentOverride
- type EnvVar
- type EnvVarParentOverride
- type EnvVarPluginOverride
- type EnvVarPluginOverrideParentOverride
- type Events
- type ExecCommand
- type ExecCommandParentOverride
- type ExecCommandPluginOverride
- type ExecCommandPluginOverrideParentOverride
- type GitLikeProjectSource
- type GitLikeProjectSourceParentOverride
- type GitLikeProjectSourcePluginOverride
- type GitLikeProjectSourcePluginOverrideParentOverride
- type GitProjectSource
- type GitProjectSourceParentOverride
- type GitProjectSourcePluginOverride
- type GitProjectSourcePluginOverrideParentOverride
- type Image
- type ImageComponent
- type ImageComponentParentOverride
- type ImageComponentPluginOverride
- type ImageComponentPluginOverrideParentOverride
- type ImageParentOverride
- type ImagePluginOverride
- type ImagePluginOverrideParentOverride
- type ImageType
- type ImageTypeParentOverride
- type ImageTypePluginOverride
- type ImageTypePluginOverrideParentOverride
- type ImageUnion
- type ImageUnionParentOverride
- func (in *ImageUnionParentOverride) DeepCopy() *ImageUnionParentOverride
- func (in *ImageUnionParentOverride) DeepCopyInto(out *ImageUnionParentOverride)
- func (union *ImageUnionParentOverride) Normalize() error
- func (union *ImageUnionParentOverride) Simplify()
- func (union ImageUnionParentOverride) Visit(visitor ImageUnionParentOverrideVisitor) error
- type ImageUnionParentOverrideVisitor
- type ImageUnionPluginOverride
- func (in *ImageUnionPluginOverride) DeepCopy() *ImageUnionPluginOverride
- func (in *ImageUnionPluginOverride) DeepCopyInto(out *ImageUnionPluginOverride)
- func (union *ImageUnionPluginOverride) Normalize() error
- func (union *ImageUnionPluginOverride) Simplify()
- func (union ImageUnionPluginOverride) Visit(visitor ImageUnionPluginOverrideVisitor) error
- type ImageUnionPluginOverrideParentOverride
- func (in *ImageUnionPluginOverrideParentOverride) DeepCopy() *ImageUnionPluginOverrideParentOverride
- func (in *ImageUnionPluginOverrideParentOverride) DeepCopyInto(out *ImageUnionPluginOverrideParentOverride)
- func (union *ImageUnionPluginOverrideParentOverride) Normalize() error
- func (union *ImageUnionPluginOverrideParentOverride) Simplify()
- func (union ImageUnionPluginOverrideParentOverride) Visit(visitor ImageUnionPluginOverrideParentOverrideVisitor) error
- type ImageUnionPluginOverrideParentOverrideVisitor
- type ImageUnionPluginOverrideVisitor
- type ImageUnionVisitor
- type ImportReference
- type ImportReferenceParentOverride
- type ImportReferenceType
- type ImportReferenceTypeParentOverride
- type ImportReferenceUnion
- func (in *ImportReferenceUnion) DeepCopy() *ImportReferenceUnion
- func (in *ImportReferenceUnion) DeepCopyInto(out *ImportReferenceUnion)
- func (union *ImportReferenceUnion) Normalize() error
- func (union *ImportReferenceUnion) Simplify()
- func (union ImportReferenceUnion) Visit(visitor ImportReferenceUnionVisitor) error
- type ImportReferenceUnionParentOverride
- func (in *ImportReferenceUnionParentOverride) DeepCopy() *ImportReferenceUnionParentOverride
- func (in *ImportReferenceUnionParentOverride) DeepCopyInto(out *ImportReferenceUnionParentOverride)
- func (union *ImportReferenceUnionParentOverride) Normalize() error
- func (union *ImportReferenceUnionParentOverride) Simplify()
- func (union ImportReferenceUnionParentOverride) Visit(visitor ImportReferenceUnionParentOverrideVisitor) error
- type ImportReferenceUnionParentOverrideVisitor
- type ImportReferenceUnionVisitor
- type K8sLikeComponent
- type K8sLikeComponentLocation
- func (in *K8sLikeComponentLocation) DeepCopy() *K8sLikeComponentLocation
- func (in *K8sLikeComponentLocation) DeepCopyInto(out *K8sLikeComponentLocation)
- func (union *K8sLikeComponentLocation) Normalize() error
- func (union *K8sLikeComponentLocation) Simplify()
- func (union K8sLikeComponentLocation) Visit(visitor K8sLikeComponentLocationVisitor) error
- type K8sLikeComponentLocationParentOverride
- func (in *K8sLikeComponentLocationParentOverride) DeepCopy() *K8sLikeComponentLocationParentOverride
- func (in *K8sLikeComponentLocationParentOverride) DeepCopyInto(out *K8sLikeComponentLocationParentOverride)
- func (union *K8sLikeComponentLocationParentOverride) Normalize() error
- func (union *K8sLikeComponentLocationParentOverride) Simplify()
- func (union K8sLikeComponentLocationParentOverride) Visit(visitor K8sLikeComponentLocationParentOverrideVisitor) error
- type K8sLikeComponentLocationParentOverrideVisitor
- type K8sLikeComponentLocationPluginOverride
- func (in *K8sLikeComponentLocationPluginOverride) DeepCopy() *K8sLikeComponentLocationPluginOverride
- func (in *K8sLikeComponentLocationPluginOverride) DeepCopyInto(out *K8sLikeComponentLocationPluginOverride)
- func (union *K8sLikeComponentLocationPluginOverride) Normalize() error
- func (union *K8sLikeComponentLocationPluginOverride) Simplify()
- func (union K8sLikeComponentLocationPluginOverride) Visit(visitor K8sLikeComponentLocationPluginOverrideVisitor) error
- type K8sLikeComponentLocationPluginOverrideParentOverride
- func (in *K8sLikeComponentLocationPluginOverrideParentOverride) DeepCopy() *K8sLikeComponentLocationPluginOverrideParentOverride
- func (in *K8sLikeComponentLocationPluginOverrideParentOverride) DeepCopyInto(out *K8sLikeComponentLocationPluginOverrideParentOverride)
- func (union *K8sLikeComponentLocationPluginOverrideParentOverride) Normalize() error
- func (union *K8sLikeComponentLocationPluginOverrideParentOverride) Simplify()
- func (union K8sLikeComponentLocationPluginOverrideParentOverride) Visit(visitor K8sLikeComponentLocationPluginOverrideParentOverrideVisitor) error
- type K8sLikeComponentLocationPluginOverrideParentOverrideVisitor
- type K8sLikeComponentLocationPluginOverrideVisitor
- type K8sLikeComponentLocationType
- type K8sLikeComponentLocationTypeParentOverride
- type K8sLikeComponentLocationTypePluginOverride
- type K8sLikeComponentLocationTypePluginOverrideParentOverride
- type K8sLikeComponentLocationVisitor
- type K8sLikeComponentParentOverride
- type K8sLikeComponentPluginOverride
- type K8sLikeComponentPluginOverrideParentOverride
- type Keyed
- type KeyedList
- type KubernetesComponent
- type KubernetesComponentParentOverride
- type KubernetesComponentPluginOverride
- type KubernetesComponentPluginOverrideParentOverride
- type KubernetesCustomResourceImportReference
- type KubernetesCustomResourceImportReferenceParentOverride
- type LabeledCommand
- type LabeledCommandParentOverride
- type LabeledCommandPluginOverride
- type LabeledCommandPluginOverrideParentOverride
- type OpenshiftComponent
- type OpenshiftComponentParentOverride
- type OpenshiftComponentPluginOverride
- type OpenshiftComponentPluginOverrideParentOverride
- type OverrideDirective
- type Overrides
- type OverridesBase
- type OverridesBaseParentOverride
- type OverridingPatchDirective
- type Parent
- type ParentOverrides
- type PluginComponent
- type PluginComponentParentOverride
- type PluginOverrides
- type PluginOverridesParentOverride
- type Project
- type ProjectParentOverride
- type ProjectSource
- type ProjectSourceParentOverride
- func (in *ProjectSourceParentOverride) DeepCopy() *ProjectSourceParentOverride
- func (in *ProjectSourceParentOverride) DeepCopyInto(out *ProjectSourceParentOverride)
- func (union *ProjectSourceParentOverride) Normalize() error
- func (union *ProjectSourceParentOverride) Simplify()
- func (union ProjectSourceParentOverride) Visit(visitor ProjectSourceParentOverrideVisitor) error
- type ProjectSourceParentOverrideVisitor
- type ProjectSourceType
- type ProjectSourceTypeParentOverride
- type ProjectSourceVisitor
- type StarterProject
- type StarterProjectParentOverride
- type TopLevelListContainer
- type TopLevelLists
- type Union
- type Volume
- type VolumeComponent
- type VolumeComponentParentOverride
- type VolumeComponentPluginOverride
- type VolumeComponentPluginOverrideParentOverride
- type VolumeMount
- type VolumeMountParentOverride
- type VolumeMountPluginOverride
- type VolumeMountPluginOverrideParentOverride
- type VolumeParentOverride
- type VolumePluginOverride
- type VolumePluginOverrideParentOverride
- type ZipProjectSource
- type ZipProjectSourceParentOverride
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "workspace.devfile.io", Version: "v1alpha2"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func CheckDuplicateKeys ¶ added in v2.1.0
func CheckDuplicateKeys(keyedList interface{}) error
CheckDuplicateKeys checks if duplicate keys are present in the devfile objects
Types ¶
type Annotation ¶ added in v2.2.0
type Annotation struct { // +optional // Annotations to be added to deployment Deployment map[string]string `json:"deployment,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional // Annotations to be added to service Service map[string]string `json:"service,omitempty" patchStrategy:"merge" patchMergeKey:"name"` }
Annotation specifies the annotations to be added to specific resources
func (*Annotation) DeepCopy ¶ added in v2.2.0
func (in *Annotation) DeepCopy() *Annotation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Annotation.
func (*Annotation) DeepCopyInto ¶ added in v2.2.0
func (in *Annotation) DeepCopyInto(out *Annotation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AnnotationParentOverride ¶ added in v2.2.0
type AnnotationParentOverride struct { // +optional // Annotations to be added to deployment Deployment map[string]string `json:"deployment,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional // Annotations to be added to service Service map[string]string `json:"service,omitempty" patchStrategy:"merge" patchMergeKey:"name"` }
Annotation specifies the annotations to be added to specific resources
func (*AnnotationParentOverride) DeepCopy ¶ added in v2.2.0
func (in *AnnotationParentOverride) DeepCopy() *AnnotationParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnnotationParentOverride.
func (*AnnotationParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *AnnotationParentOverride) DeepCopyInto(out *AnnotationParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AnnotationPluginOverride ¶ added in v2.2.0
type AnnotationPluginOverride struct { // +optional // Annotations to be added to deployment Deployment map[string]string `json:"deployment,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional // Annotations to be added to service Service map[string]string `json:"service,omitempty" patchStrategy:"merge" patchMergeKey:"name"` }
Annotation specifies the annotations to be added to specific resources
func (*AnnotationPluginOverride) DeepCopy ¶ added in v2.2.0
func (in *AnnotationPluginOverride) DeepCopy() *AnnotationPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnnotationPluginOverride.
func (*AnnotationPluginOverride) DeepCopyInto ¶ added in v2.2.0
func (in *AnnotationPluginOverride) DeepCopyInto(out *AnnotationPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AnnotationPluginOverrideParentOverride ¶ added in v2.2.0
type AnnotationPluginOverrideParentOverride struct { // +optional // Annotations to be added to deployment Deployment map[string]string `json:"deployment,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional // Annotations to be added to service Service map[string]string `json:"service,omitempty" patchStrategy:"merge" patchMergeKey:"name"` }
Annotation specifies the annotations to be added to specific resources
func (*AnnotationPluginOverrideParentOverride) DeepCopy ¶ added in v2.2.0
func (in *AnnotationPluginOverrideParentOverride) DeepCopy() *AnnotationPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnnotationPluginOverrideParentOverride.
func (*AnnotationPluginOverrideParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *AnnotationPluginOverrideParentOverride) DeepCopyInto(out *AnnotationPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplyCommand ¶
type ApplyCommand struct { LabeledCommand `json:",inline"` // Describes component that will be applied // Component string `json:"component"` }
func (*ApplyCommand) DeepCopy ¶
func (in *ApplyCommand) DeepCopy() *ApplyCommand
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplyCommand.
func (*ApplyCommand) DeepCopyInto ¶
func (in *ApplyCommand) DeepCopyInto(out *ApplyCommand)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplyCommandParentOverride ¶
type ApplyCommandParentOverride struct { LabeledCommandParentOverride `json:",inline"` // +optional // Describes component that will be applied // Component string `json:"component,omitempty"` }
func (*ApplyCommandParentOverride) DeepCopy ¶
func (in *ApplyCommandParentOverride) DeepCopy() *ApplyCommandParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplyCommandParentOverride.
func (*ApplyCommandParentOverride) DeepCopyInto ¶
func (in *ApplyCommandParentOverride) DeepCopyInto(out *ApplyCommandParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplyCommandPluginOverride ¶
type ApplyCommandPluginOverride struct { LabeledCommandPluginOverride `json:",inline"` // +optional // Describes component that will be applied // Component string `json:"component,omitempty"` }
func (*ApplyCommandPluginOverride) DeepCopy ¶
func (in *ApplyCommandPluginOverride) DeepCopy() *ApplyCommandPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplyCommandPluginOverride.
func (*ApplyCommandPluginOverride) DeepCopyInto ¶
func (in *ApplyCommandPluginOverride) DeepCopyInto(out *ApplyCommandPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplyCommandPluginOverrideParentOverride ¶
type ApplyCommandPluginOverrideParentOverride struct { LabeledCommandPluginOverrideParentOverride `json:",inline"` // +optional // Describes component that will be applied // Component string `json:"component,omitempty"` }
func (*ApplyCommandPluginOverrideParentOverride) DeepCopy ¶
func (in *ApplyCommandPluginOverrideParentOverride) DeepCopy() *ApplyCommandPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplyCommandPluginOverrideParentOverride.
func (*ApplyCommandPluginOverrideParentOverride) DeepCopyInto ¶
func (in *ApplyCommandPluginOverrideParentOverride) DeepCopyInto(out *ApplyCommandPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BaseCommand ¶
type BaseCommand struct { // +optional // Defines the group this command is part of Group *CommandGroup `json:"group,omitempty"` }
func (*BaseCommand) DeepCopy ¶
func (in *BaseCommand) DeepCopy() *BaseCommand
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseCommand.
func (*BaseCommand) DeepCopyInto ¶
func (in *BaseCommand) DeepCopyInto(out *BaseCommand)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BaseCommandParentOverride ¶
type BaseCommandParentOverride struct { // +optional // Defines the group this command is part of Group *CommandGroupParentOverride `json:"group,omitempty"` }
func (*BaseCommandParentOverride) DeepCopy ¶
func (in *BaseCommandParentOverride) DeepCopy() *BaseCommandParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseCommandParentOverride.
func (*BaseCommandParentOverride) DeepCopyInto ¶
func (in *BaseCommandParentOverride) DeepCopyInto(out *BaseCommandParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BaseCommandPluginOverride ¶
type BaseCommandPluginOverride struct { // +optional // Defines the group this command is part of Group *CommandGroupPluginOverride `json:"group,omitempty"` }
func (*BaseCommandPluginOverride) DeepCopy ¶
func (in *BaseCommandPluginOverride) DeepCopy() *BaseCommandPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseCommandPluginOverride.
func (*BaseCommandPluginOverride) DeepCopyInto ¶
func (in *BaseCommandPluginOverride) DeepCopyInto(out *BaseCommandPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BaseCommandPluginOverrideParentOverride ¶
type BaseCommandPluginOverrideParentOverride struct { // +optional // Defines the group this command is part of Group *CommandGroupPluginOverrideParentOverride `json:"group,omitempty"` }
func (*BaseCommandPluginOverrideParentOverride) DeepCopy ¶
func (in *BaseCommandPluginOverrideParentOverride) DeepCopy() *BaseCommandPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseCommandPluginOverrideParentOverride.
func (*BaseCommandPluginOverrideParentOverride) DeepCopyInto ¶
func (in *BaseCommandPluginOverrideParentOverride) DeepCopyInto(out *BaseCommandPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BaseComponent ¶
type BaseComponent struct { }
DevWorkspace component: Anything that will bring additional features / tooling / behaviour / context to the devworkspace, in order to make working in it easier.
func (*BaseComponent) DeepCopy ¶
func (in *BaseComponent) DeepCopy() *BaseComponent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseComponent.
func (*BaseComponent) DeepCopyInto ¶
func (in *BaseComponent) DeepCopyInto(out *BaseComponent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BaseComponentParentOverride ¶
type BaseComponentParentOverride struct { }
DevWorkspace component: Anything that will bring additional features / tooling / behaviour / context to the devworkspace, in order to make working in it easier.
func (*BaseComponentParentOverride) DeepCopy ¶
func (in *BaseComponentParentOverride) DeepCopy() *BaseComponentParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseComponentParentOverride.
func (*BaseComponentParentOverride) DeepCopyInto ¶
func (in *BaseComponentParentOverride) DeepCopyInto(out *BaseComponentParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BaseComponentPluginOverride ¶
type BaseComponentPluginOverride struct { }
DevWorkspace component: Anything that will bring additional features / tooling / behaviour / context to the devworkspace, in order to make working in it easier.
func (*BaseComponentPluginOverride) DeepCopy ¶
func (in *BaseComponentPluginOverride) DeepCopy() *BaseComponentPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseComponentPluginOverride.
func (*BaseComponentPluginOverride) DeepCopyInto ¶
func (in *BaseComponentPluginOverride) DeepCopyInto(out *BaseComponentPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BaseComponentPluginOverrideParentOverride ¶
type BaseComponentPluginOverrideParentOverride struct { }
DevWorkspace component: Anything that will bring additional features / tooling / behaviour / context to the devworkspace, in order to make working in it easier.
func (*BaseComponentPluginOverrideParentOverride) DeepCopy ¶
func (in *BaseComponentPluginOverrideParentOverride) DeepCopy() *BaseComponentPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseComponentPluginOverrideParentOverride.
func (*BaseComponentPluginOverrideParentOverride) DeepCopyInto ¶
func (in *BaseComponentPluginOverrideParentOverride) DeepCopyInto(out *BaseComponentPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BaseImage ¶ added in v2.2.0
type BaseImage struct { }
func (*BaseImage) DeepCopy ¶ added in v2.2.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseImage.
func (*BaseImage) DeepCopyInto ¶ added in v2.2.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BaseImageParentOverride ¶ added in v2.2.0
type BaseImageParentOverride struct { }
func (*BaseImageParentOverride) DeepCopy ¶ added in v2.2.0
func (in *BaseImageParentOverride) DeepCopy() *BaseImageParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseImageParentOverride.
func (*BaseImageParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *BaseImageParentOverride) DeepCopyInto(out *BaseImageParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BaseImagePluginOverride ¶ added in v2.2.0
type BaseImagePluginOverride struct { }
func (*BaseImagePluginOverride) DeepCopy ¶ added in v2.2.0
func (in *BaseImagePluginOverride) DeepCopy() *BaseImagePluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseImagePluginOverride.
func (*BaseImagePluginOverride) DeepCopyInto ¶ added in v2.2.0
func (in *BaseImagePluginOverride) DeepCopyInto(out *BaseImagePluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BaseImagePluginOverrideParentOverride ¶ added in v2.2.0
type BaseImagePluginOverrideParentOverride struct { }
func (*BaseImagePluginOverrideParentOverride) DeepCopy ¶ added in v2.2.0
func (in *BaseImagePluginOverrideParentOverride) DeepCopy() *BaseImagePluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseImagePluginOverrideParentOverride.
func (*BaseImagePluginOverrideParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *BaseImagePluginOverrideParentOverride) DeepCopyInto(out *BaseImagePluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CheckoutFrom ¶
type CheckoutFrom struct { // The revision to checkout from. Should be branch name, tag or commit id. // Default branch is used if missing or specified revision is not found. // +optional Revision string `json:"revision,omitempty"` // The remote name should be used as init. Required if there are more than one remote configured // +optional Remote string `json:"remote,omitempty"` }
func (*CheckoutFrom) DeepCopy ¶
func (in *CheckoutFrom) DeepCopy() *CheckoutFrom
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckoutFrom.
func (*CheckoutFrom) DeepCopyInto ¶
func (in *CheckoutFrom) DeepCopyInto(out *CheckoutFrom)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CheckoutFromParentOverride ¶
type CheckoutFromParentOverride struct { // The revision to checkout from. Should be branch name, tag or commit id. // Default branch is used if missing or specified revision is not found. // +optional Revision string `json:"revision,omitempty"` // The remote name should be used as init. Required if there are more than one remote configured // +optional Remote string `json:"remote,omitempty"` }
func (*CheckoutFromParentOverride) DeepCopy ¶
func (in *CheckoutFromParentOverride) DeepCopy() *CheckoutFromParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckoutFromParentOverride.
func (*CheckoutFromParentOverride) DeepCopyInto ¶
func (in *CheckoutFromParentOverride) DeepCopyInto(out *CheckoutFromParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CheckoutFromPluginOverride ¶ added in v2.2.0
type CheckoutFromPluginOverride struct { // The revision to checkout from. Should be branch name, tag or commit id. // Default branch is used if missing or specified revision is not found. // +optional Revision string `json:"revision,omitempty"` // The remote name should be used as init. Required if there are more than one remote configured // +optional Remote string `json:"remote,omitempty"` }
func (*CheckoutFromPluginOverride) DeepCopy ¶ added in v2.2.0
func (in *CheckoutFromPluginOverride) DeepCopy() *CheckoutFromPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckoutFromPluginOverride.
func (*CheckoutFromPluginOverride) DeepCopyInto ¶ added in v2.2.0
func (in *CheckoutFromPluginOverride) DeepCopyInto(out *CheckoutFromPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CheckoutFromPluginOverrideParentOverride ¶ added in v2.2.0
type CheckoutFromPluginOverrideParentOverride struct { // The revision to checkout from. Should be branch name, tag or commit id. // Default branch is used if missing or specified revision is not found. // +optional Revision string `json:"revision,omitempty"` // The remote name should be used as init. Required if there are more than one remote configured // +optional Remote string `json:"remote,omitempty"` }
func (*CheckoutFromPluginOverrideParentOverride) DeepCopy ¶ added in v2.2.0
func (in *CheckoutFromPluginOverrideParentOverride) DeepCopy() *CheckoutFromPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CheckoutFromPluginOverrideParentOverride.
func (*CheckoutFromPluginOverrideParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *CheckoutFromPluginOverrideParentOverride) DeepCopyInto(out *CheckoutFromPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Command ¶
type Command struct { // Mandatory identifier that allows referencing // this command in composite commands, from // a parent, or in events. // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Id string `json:"id"` // Map of implementation-dependant free-form YAML attributes. // +optional // +kubebuilder:validation:Type=object // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Attributes attributes.Attributes `json:"attributes,omitempty"` CommandUnion `json:",inline"` }
func (*Command) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Command.
func (*Command) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommandGroup ¶
type CommandGroup struct { // Kind of group the command is part of Kind CommandGroupKind `json:"kind"` // +optional // Identifies the default command for a given group kind // +devfile:default:value=false IsDefault *bool `json:"isDefault,omitempty"` }
+devfile:getter:generate
func (*CommandGroup) DeepCopy ¶
func (in *CommandGroup) DeepCopy() *CommandGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandGroup.
func (*CommandGroup) DeepCopyInto ¶
func (in *CommandGroup) DeepCopyInto(out *CommandGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CommandGroup) GetIsDefault ¶ added in v2.2.0
func (in *CommandGroup) GetIsDefault() bool
GetIsDefault returns the value of the boolean property. If unset, it's the default value specified in the devfile:default:value marker
type CommandGroupKind ¶
type CommandGroupKind string
CommandGroupKind describes the kind of command group. +kubebuilder:validation:Enum=build;run;test;debug;deploy
const ( BuildCommandGroupKind CommandGroupKind = "build" RunCommandGroupKind CommandGroupKind = "run" TestCommandGroupKind CommandGroupKind = "test" DebugCommandGroupKind CommandGroupKind = "debug" DeployCommandGroupKind CommandGroupKind = "deploy" )
type CommandGroupKindParentOverride ¶
type CommandGroupKindParentOverride string
CommandGroupKind describes the kind of command group. +kubebuilder:validation:Enum=build;run;test;debug;deploy
type CommandGroupKindPluginOverride ¶
type CommandGroupKindPluginOverride string
CommandGroupKind describes the kind of command group. +kubebuilder:validation:Enum=build;run;test;debug;deploy
type CommandGroupKindPluginOverrideParentOverride ¶
type CommandGroupKindPluginOverrideParentOverride string
CommandGroupKind describes the kind of command group. +kubebuilder:validation:Enum=build;run;test;debug;deploy
type CommandGroupParentOverride ¶
type CommandGroupParentOverride struct { // +optional // Kind of group the command is part of Kind CommandGroupKindParentOverride `json:"kind,omitempty"` // +optional // Identifies the default command for a given group kind IsDefault *bool `json:"isDefault,omitempty"` }
func (*CommandGroupParentOverride) DeepCopy ¶
func (in *CommandGroupParentOverride) DeepCopy() *CommandGroupParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandGroupParentOverride.
func (*CommandGroupParentOverride) DeepCopyInto ¶
func (in *CommandGroupParentOverride) DeepCopyInto(out *CommandGroupParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommandGroupPluginOverride ¶
type CommandGroupPluginOverride struct { // +optional // Kind of group the command is part of Kind CommandGroupKindPluginOverride `json:"kind,omitempty"` // +optional // Identifies the default command for a given group kind IsDefault *bool `json:"isDefault,omitempty"` }
func (*CommandGroupPluginOverride) DeepCopy ¶
func (in *CommandGroupPluginOverride) DeepCopy() *CommandGroupPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandGroupPluginOverride.
func (*CommandGroupPluginOverride) DeepCopyInto ¶
func (in *CommandGroupPluginOverride) DeepCopyInto(out *CommandGroupPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommandGroupPluginOverrideParentOverride ¶
type CommandGroupPluginOverrideParentOverride struct { // +optional // Kind of group the command is part of Kind CommandGroupKindPluginOverrideParentOverride `json:"kind,omitempty"` // +optional // Identifies the default command for a given group kind IsDefault *bool `json:"isDefault,omitempty"` }
func (*CommandGroupPluginOverrideParentOverride) DeepCopy ¶
func (in *CommandGroupPluginOverrideParentOverride) DeepCopy() *CommandGroupPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandGroupPluginOverrideParentOverride.
func (*CommandGroupPluginOverrideParentOverride) DeepCopyInto ¶
func (in *CommandGroupPluginOverrideParentOverride) DeepCopyInto(out *CommandGroupPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommandParentOverride ¶
type CommandParentOverride struct { // Mandatory identifier that allows referencing // this command in composite commands, from // a parent, or in events. // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Id string `json:"id"` // Map of implementation-dependant free-form YAML attributes. // +optional // +kubebuilder:validation:Type=object // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Attributes attributes.Attributes `json:"attributes,omitempty"` CommandUnionParentOverride `json:",inline"` }
func (*CommandParentOverride) DeepCopy ¶
func (in *CommandParentOverride) DeepCopy() *CommandParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandParentOverride.
func (*CommandParentOverride) DeepCopyInto ¶
func (in *CommandParentOverride) DeepCopyInto(out *CommandParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (CommandParentOverride) Key ¶
func (keyed CommandParentOverride) Key() string
type CommandPluginOverride ¶
type CommandPluginOverride struct { // Mandatory identifier that allows referencing // this command in composite commands, from // a parent, or in events. // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Id string `json:"id"` // Map of implementation-dependant free-form YAML attributes. // +optional // +kubebuilder:validation:Type=object // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Attributes attributes.Attributes `json:"attributes,omitempty"` CommandUnionPluginOverride `json:",inline"` }
func (*CommandPluginOverride) DeepCopy ¶
func (in *CommandPluginOverride) DeepCopy() *CommandPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandPluginOverride.
func (*CommandPluginOverride) DeepCopyInto ¶
func (in *CommandPluginOverride) DeepCopyInto(out *CommandPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (CommandPluginOverride) Key ¶
func (keyed CommandPluginOverride) Key() string
type CommandPluginOverrideParentOverride ¶
type CommandPluginOverrideParentOverride struct { // Mandatory identifier that allows referencing // this command in composite commands, from // a parent, or in events. // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Id string `json:"id"` // Map of implementation-dependant free-form YAML attributes. // +optional // +kubebuilder:validation:Type=object // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Attributes attributes.Attributes `json:"attributes,omitempty"` CommandUnionPluginOverrideParentOverride `json:",inline"` }
func (*CommandPluginOverrideParentOverride) DeepCopy ¶
func (in *CommandPluginOverrideParentOverride) DeepCopy() *CommandPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandPluginOverrideParentOverride.
func (*CommandPluginOverrideParentOverride) DeepCopyInto ¶
func (in *CommandPluginOverrideParentOverride) DeepCopyInto(out *CommandPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (CommandPluginOverrideParentOverride) Key ¶
func (keyed CommandPluginOverrideParentOverride) Key() string
type CommandType ¶
type CommandType string
CommandType describes the type of command. Only one of the following command type may be specified. +kubebuilder:validation:Enum=Exec;Apply;Composite;Custom
const ( ExecCommandType CommandType = "Exec" ApplyCommandType CommandType = "Apply" CompositeCommandType CommandType = "Composite" CustomCommandType CommandType = "Custom" )
type CommandTypeParentOverride ¶
type CommandTypeParentOverride string
CommandType describes the type of command. Only one of the following command type may be specified.
type CommandTypePluginOverride ¶
type CommandTypePluginOverride string
CommandType describes the type of command. Only one of the following command type may be specified.
type CommandTypePluginOverrideParentOverride ¶
type CommandTypePluginOverrideParentOverride string
CommandType describes the type of command. Only one of the following command type may be specified.
type CommandUnion ¶
type CommandUnion struct { // Type of devworkspace command // +unionDiscriminator // +optional CommandType CommandType `json:"commandType,omitempty"` // CLI Command executed in an existing component container // +optional Exec *ExecCommand `json:"exec,omitempty"` // Command that consists in applying a given component definition, // typically bound to a devworkspace event. // // For example, when an `apply` command is bound to a `preStart` event, // and references a `container` component, it will start the container as a // K8S initContainer in the devworkspace POD, unless the component has its // `dedicatedPod` field set to `true`. // // When no `apply` command exist for a given component, // it is assumed the component will be applied at devworkspace start // by default, unless `deployByDefault` for that component is set to false. // +optional Apply *ApplyCommand `json:"apply,omitempty"` // Composite command that allows executing several sub-commands // either sequentially or concurrently // +optional Composite *CompositeCommand `json:"composite,omitempty"` // Custom command whose logic is implementation-dependant // and should be provided by the user // possibly through some dedicated plugin // +optional // +devfile:overrides:include:omit=true Custom *CustomCommand `json:"custom,omitempty"` }
+union
func (*CommandUnion) DeepCopy ¶
func (in *CommandUnion) DeepCopy() *CommandUnion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandUnion.
func (*CommandUnion) DeepCopyInto ¶
func (in *CommandUnion) DeepCopyInto(out *CommandUnion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CommandUnion) Normalize ¶
func (union *CommandUnion) Normalize() error
func (*CommandUnion) Simplify ¶
func (union *CommandUnion) Simplify()
func (CommandUnion) Visit ¶
func (union CommandUnion) Visit(visitor CommandUnionVisitor) error
type CommandUnionParentOverride ¶
type CommandUnionParentOverride struct { // +kubebuilder:validation:Enum=Exec;Apply;Composite // Type of devworkspace command // +unionDiscriminator // +optional CommandType CommandTypeParentOverride `json:"commandType,omitempty"` // CLI Command executed in an existing component container // +optional Exec *ExecCommandParentOverride `json:"exec,omitempty"` // Command that consists in applying a given component definition, // typically bound to a devworkspace event. // // For example, when an `apply` command is bound to a `preStart` event, // and references a `container` component, it will start the container as a // K8S initContainer in the devworkspace POD, unless the component has its // `dedicatedPod` field set to `true`. // // When no `apply` command exist for a given component, // it is assumed the component will be applied at devworkspace start // by default, unless `deployByDefault` for that component is set to false. // +optional Apply *ApplyCommandParentOverride `json:"apply,omitempty"` // Composite command that allows executing several sub-commands // either sequentially or concurrently // +optional Composite *CompositeCommandParentOverride `json:"composite,omitempty"` }
+union
func (*CommandUnionParentOverride) DeepCopy ¶
func (in *CommandUnionParentOverride) DeepCopy() *CommandUnionParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandUnionParentOverride.
func (*CommandUnionParentOverride) DeepCopyInto ¶
func (in *CommandUnionParentOverride) DeepCopyInto(out *CommandUnionParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CommandUnionParentOverride) Normalize ¶
func (union *CommandUnionParentOverride) Normalize() error
func (*CommandUnionParentOverride) Simplify ¶
func (union *CommandUnionParentOverride) Simplify()
func (CommandUnionParentOverride) Visit ¶
func (union CommandUnionParentOverride) Visit(visitor CommandUnionParentOverrideVisitor) error
type CommandUnionParentOverrideVisitor ¶
type CommandUnionParentOverrideVisitor struct { Exec func(*ExecCommandParentOverride) error Apply func(*ApplyCommandParentOverride) error Composite func(*CompositeCommandParentOverride) error }
+k8s:deepcopy-gen=false
type CommandUnionPluginOverride ¶
type CommandUnionPluginOverride struct { // +kubebuilder:validation:Enum=Exec;Apply;Composite // Type of devworkspace command // +unionDiscriminator // +optional CommandType CommandTypePluginOverride `json:"commandType,omitempty"` // CLI Command executed in an existing component container // +optional Exec *ExecCommandPluginOverride `json:"exec,omitempty"` // Command that consists in applying a given component definition, // typically bound to a devworkspace event. // // For example, when an `apply` command is bound to a `preStart` event, // and references a `container` component, it will start the container as a // K8S initContainer in the devworkspace POD, unless the component has its // `dedicatedPod` field set to `true`. // // When no `apply` command exist for a given component, // it is assumed the component will be applied at devworkspace start // by default, unless `deployByDefault` for that component is set to false. // +optional Apply *ApplyCommandPluginOverride `json:"apply,omitempty"` // Composite command that allows executing several sub-commands // either sequentially or concurrently // +optional Composite *CompositeCommandPluginOverride `json:"composite,omitempty"` }
+union
func (*CommandUnionPluginOverride) DeepCopy ¶
func (in *CommandUnionPluginOverride) DeepCopy() *CommandUnionPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandUnionPluginOverride.
func (*CommandUnionPluginOverride) DeepCopyInto ¶
func (in *CommandUnionPluginOverride) DeepCopyInto(out *CommandUnionPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CommandUnionPluginOverride) Normalize ¶
func (union *CommandUnionPluginOverride) Normalize() error
func (*CommandUnionPluginOverride) Simplify ¶
func (union *CommandUnionPluginOverride) Simplify()
func (CommandUnionPluginOverride) Visit ¶
func (union CommandUnionPluginOverride) Visit(visitor CommandUnionPluginOverrideVisitor) error
type CommandUnionPluginOverrideParentOverride ¶
type CommandUnionPluginOverrideParentOverride struct { // +kubebuilder:validation:Enum=Exec;Apply;Composite // Type of devworkspace command // +unionDiscriminator // +optional CommandType CommandTypePluginOverrideParentOverride `json:"commandType,omitempty"` // CLI Command executed in an existing component container // +optional Exec *ExecCommandPluginOverrideParentOverride `json:"exec,omitempty"` // Command that consists in applying a given component definition, // typically bound to a devworkspace event. // // For example, when an `apply` command is bound to a `preStart` event, // and references a `container` component, it will start the container as a // K8S initContainer in the devworkspace POD, unless the component has its // `dedicatedPod` field set to `true`. // // When no `apply` command exist for a given component, // it is assumed the component will be applied at devworkspace start // by default, unless `deployByDefault` for that component is set to false. // +optional Apply *ApplyCommandPluginOverrideParentOverride `json:"apply,omitempty"` // Composite command that allows executing several sub-commands // either sequentially or concurrently // +optional Composite *CompositeCommandPluginOverrideParentOverride `json:"composite,omitempty"` }
+union
func (*CommandUnionPluginOverrideParentOverride) DeepCopy ¶
func (in *CommandUnionPluginOverrideParentOverride) DeepCopy() *CommandUnionPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandUnionPluginOverrideParentOverride.
func (*CommandUnionPluginOverrideParentOverride) DeepCopyInto ¶
func (in *CommandUnionPluginOverrideParentOverride) DeepCopyInto(out *CommandUnionPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CommandUnionPluginOverrideParentOverride) Normalize ¶
func (union *CommandUnionPluginOverrideParentOverride) Normalize() error
func (*CommandUnionPluginOverrideParentOverride) Simplify ¶
func (union *CommandUnionPluginOverrideParentOverride) Simplify()
func (CommandUnionPluginOverrideParentOverride) Visit ¶
func (union CommandUnionPluginOverrideParentOverride) Visit(visitor CommandUnionPluginOverrideParentOverrideVisitor) error
type CommandUnionPluginOverrideParentOverrideVisitor ¶
type CommandUnionPluginOverrideParentOverrideVisitor struct { Exec func(*ExecCommandPluginOverrideParentOverride) error Apply func(*ApplyCommandPluginOverrideParentOverride) error Composite func(*CompositeCommandPluginOverrideParentOverride) error }
+k8s:deepcopy-gen=false
type CommandUnionPluginOverrideVisitor ¶
type CommandUnionPluginOverrideVisitor struct { Exec func(*ExecCommandPluginOverride) error Apply func(*ApplyCommandPluginOverride) error Composite func(*CompositeCommandPluginOverride) error }
+k8s:deepcopy-gen=false
type CommandUnionVisitor ¶
type CommandUnionVisitor struct { Exec func(*ExecCommand) error Apply func(*ApplyCommand) error Composite func(*CompositeCommand) error Custom func(*CustomCommand) error }
+k8s:deepcopy-gen=false
type CommonProjectSource ¶
type CommonProjectSource struct { }
func (*CommonProjectSource) DeepCopy ¶
func (in *CommonProjectSource) DeepCopy() *CommonProjectSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonProjectSource.
func (*CommonProjectSource) DeepCopyInto ¶
func (in *CommonProjectSource) DeepCopyInto(out *CommonProjectSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommonProjectSourceParentOverride ¶
type CommonProjectSourceParentOverride struct { }
func (*CommonProjectSourceParentOverride) DeepCopy ¶
func (in *CommonProjectSourceParentOverride) DeepCopy() *CommonProjectSourceParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonProjectSourceParentOverride.
func (*CommonProjectSourceParentOverride) DeepCopyInto ¶
func (in *CommonProjectSourceParentOverride) DeepCopyInto(out *CommonProjectSourceParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommonProjectSourcePluginOverride ¶ added in v2.2.0
type CommonProjectSourcePluginOverride struct { }
func (*CommonProjectSourcePluginOverride) DeepCopy ¶ added in v2.2.0
func (in *CommonProjectSourcePluginOverride) DeepCopy() *CommonProjectSourcePluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonProjectSourcePluginOverride.
func (*CommonProjectSourcePluginOverride) DeepCopyInto ¶ added in v2.2.0
func (in *CommonProjectSourcePluginOverride) DeepCopyInto(out *CommonProjectSourcePluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommonProjectSourcePluginOverrideParentOverride ¶ added in v2.2.0
type CommonProjectSourcePluginOverrideParentOverride struct { }
func (*CommonProjectSourcePluginOverrideParentOverride) DeepCopy ¶ added in v2.2.0
func (in *CommonProjectSourcePluginOverrideParentOverride) DeepCopy() *CommonProjectSourcePluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonProjectSourcePluginOverrideParentOverride.
func (*CommonProjectSourcePluginOverrideParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *CommonProjectSourcePluginOverrideParentOverride) DeepCopyInto(out *CommonProjectSourcePluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Component ¶
type Component struct { // Mandatory name that allows referencing the component // from other elements (such as commands) or from an external // devfile that may reference this component through a parent or a plugin. // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Name string `json:"name"` // Map of implementation-dependant free-form YAML attributes. // +optional // +kubebuilder:validation:Type=object // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Attributes attributes.Attributes `json:"attributes,omitempty"` ComponentUnion `json:",inline"` }
+k8s:openapi-gen=true
func (*Component) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Component.
func (*Component) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentContribution ¶ added in v2.2.0
type ComponentContribution struct { // Mandatory name that allows referencing the component // from other elements (such as commands) or from an external // devfile that may reference this component through a parent or a plugin. // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Name string `json:"name"` // Map of implementation-dependant free-form YAML attributes. // +optional // +kubebuilder:validation:Type=object // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Attributes attributes.Attributes `json:"attributes,omitempty"` // Reference to a remote Devfile or DevWorkspace resource to be included // in the DevWorkspace. PluginComponent `json:",inline"` }
func (*ComponentContribution) DeepCopy ¶ added in v2.2.0
func (in *ComponentContribution) DeepCopy() *ComponentContribution
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentContribution.
func (*ComponentContribution) DeepCopyInto ¶ added in v2.2.0
func (in *ComponentContribution) DeepCopyInto(out *ComponentContribution)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentParentOverride ¶
type ComponentParentOverride struct { // Mandatory name that allows referencing the component // from other elements (such as commands) or from an external // devfile that may reference this component through a parent or a plugin. // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Name string `json:"name"` // Map of implementation-dependant free-form YAML attributes. // +optional // +kubebuilder:validation:Type=object // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Attributes attributes.Attributes `json:"attributes,omitempty"` ComponentUnionParentOverride `json:",inline"` }
+k8s:openapi-gen=true
func (*ComponentParentOverride) DeepCopy ¶
func (in *ComponentParentOverride) DeepCopy() *ComponentParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentParentOverride.
func (*ComponentParentOverride) DeepCopyInto ¶
func (in *ComponentParentOverride) DeepCopyInto(out *ComponentParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ComponentParentOverride) Key ¶
func (keyed ComponentParentOverride) Key() string
type ComponentPluginOverride ¶
type ComponentPluginOverride struct { // Mandatory name that allows referencing the component // from other elements (such as commands) or from an external // devfile that may reference this component through a parent or a plugin. // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Name string `json:"name"` // Map of implementation-dependant free-form YAML attributes. // +optional // +kubebuilder:validation:Type=object // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Attributes attributes.Attributes `json:"attributes,omitempty"` ComponentUnionPluginOverride `json:",inline"` }
+k8s:openapi-gen=true
func (*ComponentPluginOverride) DeepCopy ¶
func (in *ComponentPluginOverride) DeepCopy() *ComponentPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentPluginOverride.
func (*ComponentPluginOverride) DeepCopyInto ¶
func (in *ComponentPluginOverride) DeepCopyInto(out *ComponentPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ComponentPluginOverride) Key ¶
func (keyed ComponentPluginOverride) Key() string
type ComponentPluginOverrideParentOverride ¶
type ComponentPluginOverrideParentOverride struct { // Mandatory name that allows referencing the component // from other elements (such as commands) or from an external // devfile that may reference this component through a parent or a plugin. // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Name string `json:"name"` // Map of implementation-dependant free-form YAML attributes. // +optional // +kubebuilder:validation:Type=object // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Attributes attributes.Attributes `json:"attributes,omitempty"` ComponentUnionPluginOverrideParentOverride `json:",inline"` }
+k8s:openapi-gen=true
func (*ComponentPluginOverrideParentOverride) DeepCopy ¶
func (in *ComponentPluginOverrideParentOverride) DeepCopy() *ComponentPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentPluginOverrideParentOverride.
func (*ComponentPluginOverrideParentOverride) DeepCopyInto ¶
func (in *ComponentPluginOverrideParentOverride) DeepCopyInto(out *ComponentPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ComponentPluginOverrideParentOverride) Key ¶
func (keyed ComponentPluginOverrideParentOverride) Key() string
type ComponentType ¶
type ComponentType string
ComponentType describes the type of component. Only one of the following component type may be specified. +kubebuilder:validation:Enum=Container;Kubernetes;Openshift;Volume;Image;Plugin;Custom
const ( ContainerComponentType ComponentType = "Container" KubernetesComponentType ComponentType = "Kubernetes" OpenshiftComponentType ComponentType = "Openshift" PluginComponentType ComponentType = "Plugin" VolumeComponentType ComponentType = "Volume" ImageComponentType ComponentType = "Image" CustomComponentType ComponentType = "Custom" )
type ComponentTypeParentOverride ¶
type ComponentTypeParentOverride string
ComponentType describes the type of component. Only one of the following component type may be specified.
type ComponentTypePluginOverride ¶
type ComponentTypePluginOverride string
ComponentType describes the type of component. Only one of the following component type may be specified.
type ComponentTypePluginOverrideParentOverride ¶
type ComponentTypePluginOverrideParentOverride string
ComponentType describes the type of component. Only one of the following component type may be specified.
type ComponentUnion ¶
type ComponentUnion struct { // Type of component // // +unionDiscriminator // +optional ComponentType ComponentType `json:"componentType,omitempty"` // Allows adding and configuring devworkspace-related containers // +optional Container *ContainerComponent `json:"container,omitempty"` // Allows importing into the devworkspace the Kubernetes resources // defined in a given manifest. For example this allows reusing the Kubernetes // definitions used to deploy some runtime components in production. // // +optional Kubernetes *KubernetesComponent `json:"kubernetes,omitempty"` // Allows importing into the devworkspace the OpenShift resources // defined in a given manifest. For example this allows reusing the OpenShift // definitions used to deploy some runtime components in production. // // +optional Openshift *OpenshiftComponent `json:"openshift,omitempty"` // Allows specifying the definition of a volume // shared by several other components // +optional Volume *VolumeComponent `json:"volume,omitempty"` // Allows specifying the definition of an image for outer loop builds // +optional Image *ImageComponent `json:"image,omitempty"` // Allows importing a plugin. // // Plugins are mainly imported devfiles that contribute components, commands // and events as a consistent single unit. They are defined in either YAML files // following the devfile syntax, // or as `DevWorkspaceTemplate` Kubernetes Custom Resources // +optional // +devfile:overrides:include:omitInPlugin=true Plugin *PluginComponent `json:"plugin,omitempty"` // Custom component whose logic is implementation-dependant // and should be provided by the user // possibly through some dedicated controller // +optional // +devfile:overrides:include:omit=true Custom *CustomComponent `json:"custom,omitempty"` }
+union
func (*ComponentUnion) DeepCopy ¶
func (in *ComponentUnion) DeepCopy() *ComponentUnion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentUnion.
func (*ComponentUnion) DeepCopyInto ¶
func (in *ComponentUnion) DeepCopyInto(out *ComponentUnion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComponentUnion) Normalize ¶
func (union *ComponentUnion) Normalize() error
func (*ComponentUnion) Simplify ¶
func (union *ComponentUnion) Simplify()
func (ComponentUnion) Visit ¶
func (union ComponentUnion) Visit(visitor ComponentUnionVisitor) error
type ComponentUnionParentOverride ¶
type ComponentUnionParentOverride struct { // +kubebuilder:validation:Enum=Container;Kubernetes;Openshift;Volume;Image;Plugin // Type of component // // +unionDiscriminator // +optional ComponentType ComponentTypeParentOverride `json:"componentType,omitempty"` // Allows adding and configuring devworkspace-related containers // +optional Container *ContainerComponentParentOverride `json:"container,omitempty"` // Allows importing into the devworkspace the Kubernetes resources // defined in a given manifest. For example this allows reusing the Kubernetes // definitions used to deploy some runtime components in production. // // +optional Kubernetes *KubernetesComponentParentOverride `json:"kubernetes,omitempty"` // Allows importing into the devworkspace the OpenShift resources // defined in a given manifest. For example this allows reusing the OpenShift // definitions used to deploy some runtime components in production. // // +optional Openshift *OpenshiftComponentParentOverride `json:"openshift,omitempty"` // Allows specifying the definition of a volume // shared by several other components // +optional Volume *VolumeComponentParentOverride `json:"volume,omitempty"` // Allows specifying the definition of an image for outer loop builds // +optional Image *ImageComponentParentOverride `json:"image,omitempty"` // Allows importing a plugin. // // Plugins are mainly imported devfiles that contribute components, commands // and events as a consistent single unit. They are defined in either YAML files // following the devfile syntax, // or as `DevWorkspaceTemplate` Kubernetes Custom Resources // +optional // +devfile:overrides:include:omitInPlugin=true Plugin *PluginComponentParentOverride `json:"plugin,omitempty"` }
+union
func (*ComponentUnionParentOverride) DeepCopy ¶
func (in *ComponentUnionParentOverride) DeepCopy() *ComponentUnionParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentUnionParentOverride.
func (*ComponentUnionParentOverride) DeepCopyInto ¶
func (in *ComponentUnionParentOverride) DeepCopyInto(out *ComponentUnionParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComponentUnionParentOverride) Normalize ¶
func (union *ComponentUnionParentOverride) Normalize() error
func (*ComponentUnionParentOverride) Simplify ¶
func (union *ComponentUnionParentOverride) Simplify()
func (ComponentUnionParentOverride) Visit ¶
func (union ComponentUnionParentOverride) Visit(visitor ComponentUnionParentOverrideVisitor) error
type ComponentUnionParentOverrideVisitor ¶
type ComponentUnionParentOverrideVisitor struct { Container func(*ContainerComponentParentOverride) error Kubernetes func(*KubernetesComponentParentOverride) error Openshift func(*OpenshiftComponentParentOverride) error Volume func(*VolumeComponentParentOverride) error Image func(*ImageComponentParentOverride) error Plugin func(*PluginComponentParentOverride) error }
+k8s:deepcopy-gen=false
type ComponentUnionPluginOverride ¶
type ComponentUnionPluginOverride struct { // +kubebuilder:validation:Enum=Container;Kubernetes;Openshift;Volume;Image // Type of component // // +unionDiscriminator // +optional ComponentType ComponentTypePluginOverride `json:"componentType,omitempty"` // Allows adding and configuring devworkspace-related containers // +optional Container *ContainerComponentPluginOverride `json:"container,omitempty"` // Allows importing into the devworkspace the Kubernetes resources // defined in a given manifest. For example this allows reusing the Kubernetes // definitions used to deploy some runtime components in production. // // +optional Kubernetes *KubernetesComponentPluginOverride `json:"kubernetes,omitempty"` // Allows importing into the devworkspace the OpenShift resources // defined in a given manifest. For example this allows reusing the OpenShift // definitions used to deploy some runtime components in production. // // +optional Openshift *OpenshiftComponentPluginOverride `json:"openshift,omitempty"` // Allows specifying the definition of a volume // shared by several other components // +optional Volume *VolumeComponentPluginOverride `json:"volume,omitempty"` // Allows specifying the definition of an image for outer loop builds // +optional Image *ImageComponentPluginOverride `json:"image,omitempty"` }
+union
func (*ComponentUnionPluginOverride) DeepCopy ¶
func (in *ComponentUnionPluginOverride) DeepCopy() *ComponentUnionPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentUnionPluginOverride.
func (*ComponentUnionPluginOverride) DeepCopyInto ¶
func (in *ComponentUnionPluginOverride) DeepCopyInto(out *ComponentUnionPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComponentUnionPluginOverride) Normalize ¶
func (union *ComponentUnionPluginOverride) Normalize() error
func (*ComponentUnionPluginOverride) Simplify ¶
func (union *ComponentUnionPluginOverride) Simplify()
func (ComponentUnionPluginOverride) Visit ¶
func (union ComponentUnionPluginOverride) Visit(visitor ComponentUnionPluginOverrideVisitor) error
type ComponentUnionPluginOverrideParentOverride ¶
type ComponentUnionPluginOverrideParentOverride struct { // +kubebuilder:validation:Enum=Container;Kubernetes;Openshift;Volume;Image // Type of component // // +unionDiscriminator // +optional ComponentType ComponentTypePluginOverrideParentOverride `json:"componentType,omitempty"` // Allows adding and configuring devworkspace-related containers // +optional Container *ContainerComponentPluginOverrideParentOverride `json:"container,omitempty"` // Allows importing into the devworkspace the Kubernetes resources // defined in a given manifest. For example this allows reusing the Kubernetes // definitions used to deploy some runtime components in production. // // +optional Kubernetes *KubernetesComponentPluginOverrideParentOverride `json:"kubernetes,omitempty"` // Allows importing into the devworkspace the OpenShift resources // defined in a given manifest. For example this allows reusing the OpenShift // definitions used to deploy some runtime components in production. // // +optional Openshift *OpenshiftComponentPluginOverrideParentOverride `json:"openshift,omitempty"` // Allows specifying the definition of a volume // shared by several other components // +optional Volume *VolumeComponentPluginOverrideParentOverride `json:"volume,omitempty"` // Allows specifying the definition of an image for outer loop builds // +optional Image *ImageComponentPluginOverrideParentOverride `json:"image,omitempty"` }
+union
func (*ComponentUnionPluginOverrideParentOverride) DeepCopy ¶
func (in *ComponentUnionPluginOverrideParentOverride) DeepCopy() *ComponentUnionPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentUnionPluginOverrideParentOverride.
func (*ComponentUnionPluginOverrideParentOverride) DeepCopyInto ¶
func (in *ComponentUnionPluginOverrideParentOverride) DeepCopyInto(out *ComponentUnionPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComponentUnionPluginOverrideParentOverride) Normalize ¶
func (union *ComponentUnionPluginOverrideParentOverride) Normalize() error
func (*ComponentUnionPluginOverrideParentOverride) Simplify ¶
func (union *ComponentUnionPluginOverrideParentOverride) Simplify()
func (ComponentUnionPluginOverrideParentOverride) Visit ¶
func (union ComponentUnionPluginOverrideParentOverride) Visit(visitor ComponentUnionPluginOverrideParentOverrideVisitor) error
type ComponentUnionPluginOverrideParentOverrideVisitor ¶
type ComponentUnionPluginOverrideParentOverrideVisitor struct { Container func(*ContainerComponentPluginOverrideParentOverride) error Kubernetes func(*KubernetesComponentPluginOverrideParentOverride) error Openshift func(*OpenshiftComponentPluginOverrideParentOverride) error Volume func(*VolumeComponentPluginOverrideParentOverride) error Image func(*ImageComponentPluginOverrideParentOverride) error }
+k8s:deepcopy-gen=false
type ComponentUnionPluginOverrideVisitor ¶
type ComponentUnionPluginOverrideVisitor struct { Container func(*ContainerComponentPluginOverride) error Kubernetes func(*KubernetesComponentPluginOverride) error Openshift func(*OpenshiftComponentPluginOverride) error Volume func(*VolumeComponentPluginOverride) error Image func(*ImageComponentPluginOverride) error }
+k8s:deepcopy-gen=false
type ComponentUnionVisitor ¶
type ComponentUnionVisitor struct { Container func(*ContainerComponent) error Kubernetes func(*KubernetesComponent) error Openshift func(*OpenshiftComponent) error Volume func(*VolumeComponent) error Image func(*ImageComponent) error Plugin func(*PluginComponent) error Custom func(*CustomComponent) error }
+k8s:deepcopy-gen=false
type CompositeCommand ¶
type CompositeCommand struct { LabeledCommand `json:",inline"` // The commands that comprise this composite command Commands []string `json:"commands,omitempty" patchStrategy:"replace"` // Indicates if the sub-commands should be executed concurrently // +optional // +devfile:default:value=false Parallel *bool `json:"parallel,omitempty"` }
+devfile:getter:generate
func (*CompositeCommand) DeepCopy ¶
func (in *CompositeCommand) DeepCopy() *CompositeCommand
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompositeCommand.
func (*CompositeCommand) DeepCopyInto ¶
func (in *CompositeCommand) DeepCopyInto(out *CompositeCommand)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CompositeCommand) GetParallel ¶ added in v2.2.0
func (in *CompositeCommand) GetParallel() bool
GetParallel returns the value of the boolean property. If unset, it's the default value specified in the devfile:default:value marker
type CompositeCommandParentOverride ¶
type CompositeCommandParentOverride struct { LabeledCommandParentOverride `json:",inline"` // The commands that comprise this composite command Commands []string `json:"commands,omitempty" patchStrategy:"replace"` // Indicates if the sub-commands should be executed concurrently // +optional Parallel *bool `json:"parallel,omitempty"` }
func (*CompositeCommandParentOverride) DeepCopy ¶
func (in *CompositeCommandParentOverride) DeepCopy() *CompositeCommandParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompositeCommandParentOverride.
func (*CompositeCommandParentOverride) DeepCopyInto ¶
func (in *CompositeCommandParentOverride) DeepCopyInto(out *CompositeCommandParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CompositeCommandPluginOverride ¶
type CompositeCommandPluginOverride struct { LabeledCommandPluginOverride `json:",inline"` // The commands that comprise this composite command Commands []string `json:"commands,omitempty" patchStrategy:"replace"` // Indicates if the sub-commands should be executed concurrently // +optional Parallel *bool `json:"parallel,omitempty"` }
func (*CompositeCommandPluginOverride) DeepCopy ¶
func (in *CompositeCommandPluginOverride) DeepCopy() *CompositeCommandPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompositeCommandPluginOverride.
func (*CompositeCommandPluginOverride) DeepCopyInto ¶
func (in *CompositeCommandPluginOverride) DeepCopyInto(out *CompositeCommandPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CompositeCommandPluginOverrideParentOverride ¶
type CompositeCommandPluginOverrideParentOverride struct { LabeledCommandPluginOverrideParentOverride `json:",inline"` // The commands that comprise this composite command Commands []string `json:"commands,omitempty" patchStrategy:"replace"` // Indicates if the sub-commands should be executed concurrently // +optional Parallel *bool `json:"parallel,omitempty"` }
func (*CompositeCommandPluginOverrideParentOverride) DeepCopy ¶
func (in *CompositeCommandPluginOverrideParentOverride) DeepCopy() *CompositeCommandPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompositeCommandPluginOverrideParentOverride.
func (*CompositeCommandPluginOverrideParentOverride) DeepCopyInto ¶
func (in *CompositeCommandPluginOverrideParentOverride) DeepCopyInto(out *CompositeCommandPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Container ¶
type Container struct { Image string `json:"image"` // +optional // +patchMergeKey=name // +patchStrategy=merge // Environment variables used in this container. // // The following variables are reserved and cannot be overridden via env: // // - `$PROJECTS_ROOT` // // - `$PROJECT_SOURCE` Env []EnvVar `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional // Annotations that should be added to specific resources for this container Annotation *Annotation `json:"annotation,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional // List of volumes mounts that should be mounted is this container. VolumeMounts []VolumeMount `json:"volumeMounts,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional MemoryLimit string `json:"memoryLimit,omitempty"` // +optional MemoryRequest string `json:"memoryRequest,omitempty"` // +optional CpuLimit string `json:"cpuLimit,omitempty"` // +optional CpuRequest string `json:"cpuRequest,omitempty"` // The command to run in the dockerimage component instead of the default one provided in the image. // // Defaults to an empty array, meaning use whatever is defined in the image. // +optional Command []string `json:"command,omitempty" patchStrategy:"replace"` // The arguments to supply to the command running the dockerimage component. The arguments are supplied either to the default command provided in the image or to the overridden command. // // Defaults to an empty array, meaning use whatever is defined in the image. // +optional Args []string `json:"args,omitempty" patchStrategy:"replace"` // Toggles whether or not the project source code should // be mounted in the component. // // Defaults to true for all component types except plugins and components that set `dedicatedPod` to true. // +optional MountSources *bool `json:"mountSources,omitempty"` // Optional specification of the path in the container where // project sources should be transferred/mounted when `mountSources` is `true`. // When omitted, the default value of /projects is used. // +optional // +kubebuilder:default=/projects SourceMapping string `json:"sourceMapping,omitempty"` // Specify if a container should run in its own separated pod, // instead of running as part of the main development environment pod. // // Default value is `false` // +optional // +devfile:default:value=false DedicatedPod *bool `json:"dedicatedPod,omitempty"` }
+devfile:getter:generate
func (*Container) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.
func (*Container) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Container) GetDedicatedPod ¶ added in v2.2.0
GetDedicatedPod returns the value of the boolean property. If unset, it's the default value specified in the devfile:default:value marker
func (*Container) GetMountSources ¶ added in v2.2.0
GetMountSources returns the value of the boolean property. If it's unset, the default value is true for all component types except plugins and components that set `dedicatedPod` to true.
type ContainerComponent ¶
type ContainerComponent struct { BaseComponent `json:",inline"` Container `json:",inline"` Endpoints []Endpoint `json:"endpoints,omitempty" patchStrategy:"merge" patchMergeKey:"name"` }
Component that allows the developer to add a configured container into their devworkspace
func (*ContainerComponent) DeepCopy ¶
func (in *ContainerComponent) DeepCopy() *ContainerComponent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerComponent.
func (*ContainerComponent) DeepCopyInto ¶
func (in *ContainerComponent) DeepCopyInto(out *ContainerComponent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerComponentParentOverride ¶
type ContainerComponentParentOverride struct { BaseComponentParentOverride `json:",inline"` ContainerParentOverride `json:",inline"` Endpoints []EndpointParentOverride `json:"endpoints,omitempty" patchStrategy:"merge" patchMergeKey:"name"` }
Component that allows the developer to add a configured container into their devworkspace
func (*ContainerComponentParentOverride) DeepCopy ¶
func (in *ContainerComponentParentOverride) DeepCopy() *ContainerComponentParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerComponentParentOverride.
func (*ContainerComponentParentOverride) DeepCopyInto ¶
func (in *ContainerComponentParentOverride) DeepCopyInto(out *ContainerComponentParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerComponentPluginOverride ¶
type ContainerComponentPluginOverride struct { BaseComponentPluginOverride `json:",inline"` ContainerPluginOverride `json:",inline"` Endpoints []EndpointPluginOverride `json:"endpoints,omitempty" patchStrategy:"merge" patchMergeKey:"name"` }
Component that allows the developer to add a configured container into their devworkspace
func (*ContainerComponentPluginOverride) DeepCopy ¶
func (in *ContainerComponentPluginOverride) DeepCopy() *ContainerComponentPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerComponentPluginOverride.
func (*ContainerComponentPluginOverride) DeepCopyInto ¶
func (in *ContainerComponentPluginOverride) DeepCopyInto(out *ContainerComponentPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerComponentPluginOverrideParentOverride ¶
type ContainerComponentPluginOverrideParentOverride struct { BaseComponentPluginOverrideParentOverride `json:",inline"` ContainerPluginOverrideParentOverride `json:",inline"` Endpoints []EndpointPluginOverrideParentOverride `json:"endpoints,omitempty" patchStrategy:"merge" patchMergeKey:"name"` }
Component that allows the developer to add a configured container into their devworkspace
func (*ContainerComponentPluginOverrideParentOverride) DeepCopy ¶
func (in *ContainerComponentPluginOverrideParentOverride) DeepCopy() *ContainerComponentPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerComponentPluginOverrideParentOverride.
func (*ContainerComponentPluginOverrideParentOverride) DeepCopyInto ¶
func (in *ContainerComponentPluginOverrideParentOverride) DeepCopyInto(out *ContainerComponentPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerParentOverride ¶
type ContainerParentOverride struct { // +optional Image string `json:"image,omitempty"` // +optional // +patchMergeKey=name // +patchStrategy=merge // Environment variables used in this container. // // The following variables are reserved and cannot be overridden via env: // // - `$PROJECTS_ROOT` // // - `$PROJECT_SOURCE` Env []EnvVarParentOverride `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional // Annotations that should be added to specific resources for this container Annotation *AnnotationParentOverride `json:"annotation,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional // List of volumes mounts that should be mounted is this container. VolumeMounts []VolumeMountParentOverride `json:"volumeMounts,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional MemoryLimit string `json:"memoryLimit,omitempty"` // +optional MemoryRequest string `json:"memoryRequest,omitempty"` // +optional CpuLimit string `json:"cpuLimit,omitempty"` // +optional CpuRequest string `json:"cpuRequest,omitempty"` // The command to run in the dockerimage component instead of the default one provided in the image. // // Defaults to an empty array, meaning use whatever is defined in the image. // +optional Command []string `json:"command,omitempty" patchStrategy:"replace"` // The arguments to supply to the command running the dockerimage component. The arguments are supplied either to the default command provided in the image or to the overridden command. // // Defaults to an empty array, meaning use whatever is defined in the image. // +optional Args []string `json:"args,omitempty" patchStrategy:"replace"` // Toggles whether or not the project source code should // be mounted in the component. // // Defaults to true for all component types except plugins and components that set `dedicatedPod` to true. // +optional MountSources *bool `json:"mountSources,omitempty"` // Optional specification of the path in the container where // project sources should be transferred/mounted when `mountSources` is `true`. // When omitted, the default value of /projects is used. // +optional SourceMapping string `json:"sourceMapping,omitempty"` // Specify if a container should run in its own separated pod, // instead of running as part of the main development environment pod. // // Default value is `false` // +optional DedicatedPod *bool `json:"dedicatedPod,omitempty"` }
func (*ContainerParentOverride) DeepCopy ¶
func (in *ContainerParentOverride) DeepCopy() *ContainerParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerParentOverride.
func (*ContainerParentOverride) DeepCopyInto ¶
func (in *ContainerParentOverride) DeepCopyInto(out *ContainerParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerPluginOverride ¶
type ContainerPluginOverride struct { // +optional Image string `json:"image,omitempty"` // +optional // +patchMergeKey=name // +patchStrategy=merge // Environment variables used in this container. // // The following variables are reserved and cannot be overridden via env: // // - `$PROJECTS_ROOT` // // - `$PROJECT_SOURCE` Env []EnvVarPluginOverride `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional // Annotations that should be added to specific resources for this container Annotation *AnnotationPluginOverride `json:"annotation,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional // List of volumes mounts that should be mounted is this container. VolumeMounts []VolumeMountPluginOverride `json:"volumeMounts,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional MemoryLimit string `json:"memoryLimit,omitempty"` // +optional MemoryRequest string `json:"memoryRequest,omitempty"` // +optional CpuLimit string `json:"cpuLimit,omitempty"` // +optional CpuRequest string `json:"cpuRequest,omitempty"` // The command to run in the dockerimage component instead of the default one provided in the image. // // Defaults to an empty array, meaning use whatever is defined in the image. // +optional Command []string `json:"command,omitempty" patchStrategy:"replace"` // The arguments to supply to the command running the dockerimage component. The arguments are supplied either to the default command provided in the image or to the overridden command. // // Defaults to an empty array, meaning use whatever is defined in the image. // +optional Args []string `json:"args,omitempty" patchStrategy:"replace"` // Toggles whether or not the project source code should // be mounted in the component. // // Defaults to true for all component types except plugins and components that set `dedicatedPod` to true. // +optional MountSources *bool `json:"mountSources,omitempty"` // Optional specification of the path in the container where // project sources should be transferred/mounted when `mountSources` is `true`. // When omitted, the default value of /projects is used. // +optional SourceMapping string `json:"sourceMapping,omitempty"` // Specify if a container should run in its own separated pod, // instead of running as part of the main development environment pod. // // Default value is `false` // +optional DedicatedPod *bool `json:"dedicatedPod,omitempty"` }
func (*ContainerPluginOverride) DeepCopy ¶
func (in *ContainerPluginOverride) DeepCopy() *ContainerPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerPluginOverride.
func (*ContainerPluginOverride) DeepCopyInto ¶
func (in *ContainerPluginOverride) DeepCopyInto(out *ContainerPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerPluginOverrideParentOverride ¶
type ContainerPluginOverrideParentOverride struct { // +optional Image string `json:"image,omitempty"` // +optional // +patchMergeKey=name // +patchStrategy=merge // Environment variables used in this container. // // The following variables are reserved and cannot be overridden via env: // // - `$PROJECTS_ROOT` // // - `$PROJECT_SOURCE` Env []EnvVarPluginOverrideParentOverride `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional // Annotations that should be added to specific resources for this container Annotation *AnnotationPluginOverrideParentOverride `json:"annotation,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional // List of volumes mounts that should be mounted is this container. VolumeMounts []VolumeMountPluginOverrideParentOverride `json:"volumeMounts,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional MemoryLimit string `json:"memoryLimit,omitempty"` // +optional MemoryRequest string `json:"memoryRequest,omitempty"` // +optional CpuLimit string `json:"cpuLimit,omitempty"` // +optional CpuRequest string `json:"cpuRequest,omitempty"` // The command to run in the dockerimage component instead of the default one provided in the image. // // Defaults to an empty array, meaning use whatever is defined in the image. // +optional Command []string `json:"command,omitempty" patchStrategy:"replace"` // The arguments to supply to the command running the dockerimage component. The arguments are supplied either to the default command provided in the image or to the overridden command. // // Defaults to an empty array, meaning use whatever is defined in the image. // +optional Args []string `json:"args,omitempty" patchStrategy:"replace"` // Toggles whether or not the project source code should // be mounted in the component. // // Defaults to true for all component types except plugins and components that set `dedicatedPod` to true. // +optional MountSources *bool `json:"mountSources,omitempty"` // Optional specification of the path in the container where // project sources should be transferred/mounted when `mountSources` is `true`. // When omitted, the default value of /projects is used. // +optional SourceMapping string `json:"sourceMapping,omitempty"` // Specify if a container should run in its own separated pod, // instead of running as part of the main development environment pod. // // Default value is `false` // +optional DedicatedPod *bool `json:"dedicatedPod,omitempty"` }
func (*ContainerPluginOverrideParentOverride) DeepCopy ¶
func (in *ContainerPluginOverrideParentOverride) DeepCopy() *ContainerPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerPluginOverrideParentOverride.
func (*ContainerPluginOverrideParentOverride) DeepCopyInto ¶
func (in *ContainerPluginOverrideParentOverride) DeepCopyInto(out *ContainerPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomCommand ¶
type CustomCommand struct { LabeledCommand `json:",inline"` // Class of command that the associated implementation component // should use to process this command with the appropriate logic CommandClass string `json:"commandClass"` // Additional free-form configuration for this custom command // that the implementation component will know how to use // // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:EmbeddedResource EmbeddedResource runtime.RawExtension `json:"embeddedResource"` }
func (*CustomCommand) DeepCopy ¶
func (in *CustomCommand) DeepCopy() *CustomCommand
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomCommand.
func (*CustomCommand) DeepCopyInto ¶
func (in *CustomCommand) DeepCopyInto(out *CustomCommand)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomComponent ¶
type CustomComponent struct { // Class of component that the associated implementation controller // should use to process this command with the appropriate logic ComponentClass string `json:"componentClass"` // Additional free-form configuration for this custom component // that the implementation controller will know how to use // // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:EmbeddedResource EmbeddedResource runtime.RawExtension `json:"embeddedResource"` }
func (*CustomComponent) DeepCopy ¶
func (in *CustomComponent) DeepCopy() *CustomComponent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomComponent.
func (*CustomComponent) DeepCopyInto ¶
func (in *CustomComponent) DeepCopyInto(out *CustomComponent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomProjectSource ¶
type CustomProjectSource struct { ProjectSourceClass string `json:"projectSourceClass"` // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:EmbeddedResource EmbeddedResource runtime.RawExtension `json:"embeddedResource"` }
func (*CustomProjectSource) DeepCopy ¶
func (in *CustomProjectSource) DeepCopy() *CustomProjectSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomProjectSource.
func (*CustomProjectSource) DeepCopyInto ¶
func (in *CustomProjectSource) DeepCopyInto(out *CustomProjectSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DevWorkspace ¶
type DevWorkspace struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DevWorkspaceSpec `json:"spec,omitempty"` Status DevWorkspaceStatus `json:"status,omitempty"` }
DevWorkspace is the Schema for the devworkspaces API +kubebuilder:subresource:status +kubebuilder:resource:path=devworkspaces,scope=Namespaced,shortName=dw +kubebuilder:printcolumn:name="DevWorkspace ID",type="string",JSONPath=".status.devworkspaceId",description="The devworkspace's unique id" +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=".status.phase",description="The current devworkspace startup phase" +kubebuilder:printcolumn:name="Info",type="string",JSONPath=".status.message",description="Additional information about the devworkspace" +devfile:jsonschema:generate +kubebuilder:storageversion
func (*DevWorkspace) DeepCopy ¶
func (in *DevWorkspace) DeepCopy() *DevWorkspace
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevWorkspace.
func (*DevWorkspace) DeepCopyInto ¶
func (in *DevWorkspace) DeepCopyInto(out *DevWorkspace)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DevWorkspace) DeepCopyObject ¶
func (in *DevWorkspace) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DevWorkspaceCondition ¶ added in v2.1.0
type DevWorkspaceCondition struct { // Type is the type of the condition. Type DevWorkspaceConditionType `json:"type"` // Phase is the status of the condition. // Can be True, False, Unknown. Status corev1.ConditionStatus `json:"status"` // Last time the condition transitioned from one status to another. LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // Unique, one-word, CamelCase reason for the condition's last transition. Reason string `json:"reason,omitempty"` // Human-readable message indicating details about last transition. Message string `json:"message,omitempty"` }
DevWorkspaceCondition contains details for the current condition of this devworkspace.
func (*DevWorkspaceCondition) DeepCopy ¶ added in v2.1.0
func (in *DevWorkspaceCondition) DeepCopy() *DevWorkspaceCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevWorkspaceCondition.
func (*DevWorkspaceCondition) DeepCopyInto ¶ added in v2.1.0
func (in *DevWorkspaceCondition) DeepCopyInto(out *DevWorkspaceCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DevWorkspaceConditionType ¶ added in v2.1.0
type DevWorkspaceConditionType string
Types of conditions reported by devworkspace
const ( DevWorkspaceComponentsReady DevWorkspaceConditionType = "ComponentsReady" DevWorkspaceRoutingReady DevWorkspaceConditionType = "RoutingReady" DevWorkspaceServiceAccountReady DevWorkspaceConditionType = "ServiceAccountReady" DevWorkspaceReady DevWorkspaceConditionType = "Ready" DevWorkspaceFailedStart DevWorkspaceConditionType = "FailedStart" DevWorkspaceError DevWorkspaceConditionType = "Error" )
type DevWorkspaceEvents ¶ added in v2.1.0
type DevWorkspaceEvents struct { // IDs of commands that should be executed before the devworkspace start. // Kubernetes-wise, these commands would typically be executed in init containers of the devworkspace POD. // +optional PreStart []string `json:"preStart,omitempty"` // IDs of commands that should be executed after the devworkspace is completely started. // In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. // This means that those commands are not triggered until the user opens the IDE in his browser. // +optional PostStart []string `json:"postStart,omitempty"` // +optional // IDs of commands that should be executed before stopping the devworkspace. PreStop []string `json:"preStop,omitempty"` // +optional // IDs of commands that should be executed after stopping the devworkspace. PostStop []string `json:"postStop,omitempty"` }
func (*DevWorkspaceEvents) DeepCopy ¶ added in v2.1.0
func (in *DevWorkspaceEvents) DeepCopy() *DevWorkspaceEvents
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevWorkspaceEvents.
func (*DevWorkspaceEvents) DeepCopyInto ¶ added in v2.1.0
func (in *DevWorkspaceEvents) DeepCopyInto(out *DevWorkspaceEvents)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DevWorkspaceList ¶
type DevWorkspaceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DevWorkspace `json:"items"` }
DevWorkspaceList contains a list of DevWorkspace
func (*DevWorkspaceList) DeepCopy ¶
func (in *DevWorkspaceList) DeepCopy() *DevWorkspaceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevWorkspaceList.
func (*DevWorkspaceList) DeepCopyInto ¶
func (in *DevWorkspaceList) DeepCopyInto(out *DevWorkspaceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DevWorkspaceList) DeepCopyObject ¶
func (in *DevWorkspaceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DevWorkspacePhase ¶ added in v2.1.0
type DevWorkspacePhase string
const ( DevWorkspaceStatusStarting DevWorkspacePhase = "Starting" DevWorkspaceStatusRunning DevWorkspacePhase = "Running" DevWorkspaceStatusStopped DevWorkspacePhase = "Stopped" DevWorkspaceStatusStopping DevWorkspacePhase = "Stopping" DevWorkspaceStatusFailed DevWorkspacePhase = "Failed" DevWorkspaceStatusError DevWorkspacePhase = "Error" )
Valid devworkspace Statuses
type DevWorkspaceSpec ¶
type DevWorkspaceSpec struct { Started bool `json:"started"` RoutingClass string `json:"routingClass,omitempty"` Template DevWorkspaceTemplateSpec `json:"template,omitempty"` Contributions []ComponentContribution `json:"contributions,omitempty"` }
DevWorkspaceSpec defines the desired state of DevWorkspace
func (*DevWorkspaceSpec) DeepCopy ¶
func (in *DevWorkspaceSpec) DeepCopy() *DevWorkspaceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevWorkspaceSpec.
func (*DevWorkspaceSpec) DeepCopyInto ¶
func (in *DevWorkspaceSpec) DeepCopyInto(out *DevWorkspaceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DevWorkspaceStatus ¶
type DevWorkspaceStatus struct { // Id of the DevWorkspace DevWorkspaceId string `json:"devworkspaceId"` // Main URL for this DevWorkspace MainUrl string `json:"mainUrl,omitempty"` Phase DevWorkspacePhase `json:"phase,omitempty"` // Conditions represent the latest available observations of an object's state Conditions []DevWorkspaceCondition `json:"conditions,omitempty"` // Message is a short user-readable message giving additional information // about an object's state Message string `json:"message,omitempty"` }
DevWorkspaceStatus defines the observed state of DevWorkspace
func (*DevWorkspaceStatus) DeepCopy ¶
func (in *DevWorkspaceStatus) DeepCopy() *DevWorkspaceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevWorkspaceStatus.
func (*DevWorkspaceStatus) DeepCopyInto ¶
func (in *DevWorkspaceStatus) DeepCopyInto(out *DevWorkspaceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DevWorkspaceTemplate ¶
type DevWorkspaceTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DevWorkspaceTemplateSpec `json:"spec,omitempty"` }
DevWorkspaceTemplate is the Schema for the devworkspacetemplates API +kubebuilder:resource:path=devworkspacetemplates,scope=Namespaced,shortName=dwt +devfile:jsonschema:generate +kubebuilder:storageversion
func (*DevWorkspaceTemplate) DeepCopy ¶
func (in *DevWorkspaceTemplate) DeepCopy() *DevWorkspaceTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevWorkspaceTemplate.
func (*DevWorkspaceTemplate) DeepCopyInto ¶
func (in *DevWorkspaceTemplate) DeepCopyInto(out *DevWorkspaceTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DevWorkspaceTemplate) DeepCopyObject ¶
func (in *DevWorkspaceTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DevWorkspaceTemplate) Hub ¶
func (*DevWorkspaceTemplate) Hub()
Hub marks this type as a conversion hub.
type DevWorkspaceTemplateList ¶
type DevWorkspaceTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DevWorkspaceTemplate `json:"items"` }
DevWorkspaceTemplateList contains a list of DevWorkspaceTemplate
func (*DevWorkspaceTemplateList) DeepCopy ¶
func (in *DevWorkspaceTemplateList) DeepCopy() *DevWorkspaceTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevWorkspaceTemplateList.
func (*DevWorkspaceTemplateList) DeepCopyInto ¶
func (in *DevWorkspaceTemplateList) DeepCopyInto(out *DevWorkspaceTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DevWorkspaceTemplateList) DeepCopyObject ¶
func (in *DevWorkspaceTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DevWorkspaceTemplateSpec ¶
type DevWorkspaceTemplateSpec struct { // Parent devworkspace template // +optional Parent *Parent `json:"parent,omitempty"` DevWorkspaceTemplateSpecContent `json:",inline"` }
Structure of the devworkspace. This is also the specification of a devworkspace template. +devfile:jsonschema:generate
func (*DevWorkspaceTemplateSpec) DeepCopy ¶
func (in *DevWorkspaceTemplateSpec) DeepCopy() *DevWorkspaceTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevWorkspaceTemplateSpec.
func (*DevWorkspaceTemplateSpec) DeepCopyInto ¶
func (in *DevWorkspaceTemplateSpec) DeepCopyInto(out *DevWorkspaceTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DevWorkspaceTemplateSpecContent ¶
type DevWorkspaceTemplateSpecContent struct { // Map of key-value variables used for string replacement in the devfile. Values can be referenced via {{variable-key}} // to replace the corresponding value in string fields in the devfile. Replacement cannot be used for // // - schemaVersion, metadata, parent source // // - element identifiers, e.g. command id, component name, endpoint name, project name // // - references to identifiers, e.g. in events, a command's component, container's volume mount name // // - string enums, e.g. command group kind, endpoint exposure // +optional // +patchStrategy=merge // +devfile:overrides:include:omitInPlugin=true,description=Overrides of variables encapsulated in a parent devfile. Variables map[string]string `json:"variables,omitempty" patchStrategy:"merge"` // Map of implementation-dependant free-form YAML attributes. // +optional // +patchStrategy=merge // +devfile:overrides:include:omitInPlugin=true,description=Overrides of attributes encapsulated in a parent devfile. // +kubebuilder:validation:Type=object // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Attributes attributes.Attributes `json:"attributes,omitempty" patchStrategy:"merge"` // List of the devworkspace components, such as editor and plugins, // user-provided containers, or other types of components // +optional // +patchMergeKey=name // +patchStrategy=merge // +devfile:overrides:include:description=Overrides of components encapsulated in a parent devfile or a plugin. // +devfile:toplevellist Components []Component `json:"components,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // Projects worked on in the devworkspace, containing names and sources locations // +optional // +patchMergeKey=name // +patchStrategy=merge // +devfile:overrides:include:omitInPlugin=true,description=Overrides of projects encapsulated in a parent devfile. // +devfile:toplevellist Projects []Project `json:"projects,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // StarterProjects is a project that can be used as a starting point when bootstrapping new projects // +optional // +patchMergeKey=name // +patchStrategy=merge // +devfile:overrides:include:omitInPlugin=true,description=Overrides of starterProjects encapsulated in a parent devfile. // +devfile:toplevellist StarterProjects []StarterProject `json:"starterProjects,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // Additional projects related to the main project in the devfile, contianing names and sources locations // +optional // +patchMergeKey=name // +patchStrategy=merge // +devfile:overrides:include:omitInPlugin=true,description=Overrides of dependentProjects encapsulated in a parent devfile. // +devfile:toplevellist DependentProjects []Project `json:"dependentProjects,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // Predefined, ready-to-use, devworkspace-related commands // +optional // +patchMergeKey=id // +patchStrategy=merge // +devfile:overrides:include:description=Overrides of commands encapsulated in a parent devfile or a plugin. // +devfile:toplevellist Commands []Command `json:"commands,omitempty" patchStrategy:"merge" patchMergeKey:"id"` // Bindings of commands to events. // Each command is referred-to by its name. // +optional // +devfile:overrides:include:omit=true Events *Events `json:"events,omitempty"` }
+devfile:overrides:generate
func (*DevWorkspaceTemplateSpecContent) DeepCopy ¶
func (in *DevWorkspaceTemplateSpecContent) DeepCopy() *DevWorkspaceTemplateSpecContent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevWorkspaceTemplateSpecContent.
func (*DevWorkspaceTemplateSpecContent) DeepCopyInto ¶
func (in *DevWorkspaceTemplateSpecContent) DeepCopyInto(out *DevWorkspaceTemplateSpecContent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (DevWorkspaceTemplateSpecContent) GetToplevelLists ¶
func (container DevWorkspaceTemplateSpecContent) GetToplevelLists() TopLevelLists
type Devfile ¶
type Devfile struct { devfile.DevfileHeader `json:",inline"` DevWorkspaceTemplateSpec `json:",inline"` }
Devfile describes the structure of a cloud-native devworkspace and development environment. +k8s:deepcopy-gen=false +devfile:jsonschema:generate:omitCustomUnionMembers=true,omitPluginUnionMembers=true,shortenEndpointNameLength=true
type Dockerfile ¶ added in v2.2.0
type Dockerfile struct { // Path of source directory to establish build context. Defaults to ${PROJECT_SOURCE} in the container // +optional BuildContext string `json:"buildContext,omitempty"` // The arguments to supply to the dockerfile build. // +optional Args []string `json:"args,omitempty" patchStrategy:"replace"` // Specify if a privileged builder pod is required. // // Default value is `false` // +optional // +devfile:default:value=false RootRequired *bool `json:"rootRequired,omitempty"` }
+devfile:getter:generate
func (*Dockerfile) DeepCopy ¶ added in v2.2.0
func (in *Dockerfile) DeepCopy() *Dockerfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dockerfile.
func (*Dockerfile) DeepCopyInto ¶ added in v2.2.0
func (in *Dockerfile) DeepCopyInto(out *Dockerfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Dockerfile) GetRootRequired ¶ added in v2.2.0
func (in *Dockerfile) GetRootRequired() bool
GetRootRequired returns the value of the boolean property. If unset, it's the default value specified in the devfile:default:value marker
type DockerfileDevfileRegistrySource ¶ added in v2.2.0
type DockerfileDevfileRegistrySource struct { // Id in a devfile registry that contains a Dockerfile. The src in the OCI registry // required for the Dockerfile build will be downloaded for building the image. Id string `json:"id"` // Devfile Registry URL to pull the Dockerfile from when using the Devfile Registry as Dockerfile src. // To ensure the Dockerfile gets resolved consistently in different environments, // it is recommended to always specify the `devfileRegistryUrl` when `Id` is used. // +optional RegistryUrl string `json:"registryUrl,omitempty"` }
func (*DockerfileDevfileRegistrySource) DeepCopy ¶ added in v2.2.0
func (in *DockerfileDevfileRegistrySource) DeepCopy() *DockerfileDevfileRegistrySource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerfileDevfileRegistrySource.
func (*DockerfileDevfileRegistrySource) DeepCopyInto ¶ added in v2.2.0
func (in *DockerfileDevfileRegistrySource) DeepCopyInto(out *DockerfileDevfileRegistrySource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerfileDevfileRegistrySourceParentOverride ¶ added in v2.2.0
type DockerfileDevfileRegistrySourceParentOverride struct { // +optional // Id in a devfile registry that contains a Dockerfile. The src in the OCI registry // required for the Dockerfile build will be downloaded for building the image. Id string `json:"id,omitempty"` // Devfile Registry URL to pull the Dockerfile from when using the Devfile Registry as Dockerfile src. // To ensure the Dockerfile gets resolved consistently in different environments, // it is recommended to always specify the `devfileRegistryUrl` when `Id` is used. // +optional RegistryUrl string `json:"registryUrl,omitempty"` }
func (*DockerfileDevfileRegistrySourceParentOverride) DeepCopy ¶ added in v2.2.0
func (in *DockerfileDevfileRegistrySourceParentOverride) DeepCopy() *DockerfileDevfileRegistrySourceParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerfileDevfileRegistrySourceParentOverride.
func (*DockerfileDevfileRegistrySourceParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *DockerfileDevfileRegistrySourceParentOverride) DeepCopyInto(out *DockerfileDevfileRegistrySourceParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerfileDevfileRegistrySourcePluginOverride ¶ added in v2.2.0
type DockerfileDevfileRegistrySourcePluginOverride struct { // +optional // Id in a devfile registry that contains a Dockerfile. The src in the OCI registry // required for the Dockerfile build will be downloaded for building the image. Id string `json:"id,omitempty"` // Devfile Registry URL to pull the Dockerfile from when using the Devfile Registry as Dockerfile src. // To ensure the Dockerfile gets resolved consistently in different environments, // it is recommended to always specify the `devfileRegistryUrl` when `Id` is used. // +optional RegistryUrl string `json:"registryUrl,omitempty"` }
func (*DockerfileDevfileRegistrySourcePluginOverride) DeepCopy ¶ added in v2.2.0
func (in *DockerfileDevfileRegistrySourcePluginOverride) DeepCopy() *DockerfileDevfileRegistrySourcePluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerfileDevfileRegistrySourcePluginOverride.
func (*DockerfileDevfileRegistrySourcePluginOverride) DeepCopyInto ¶ added in v2.2.0
func (in *DockerfileDevfileRegistrySourcePluginOverride) DeepCopyInto(out *DockerfileDevfileRegistrySourcePluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerfileDevfileRegistrySourcePluginOverrideParentOverride ¶ added in v2.2.0
type DockerfileDevfileRegistrySourcePluginOverrideParentOverride struct { // +optional // Id in a devfile registry that contains a Dockerfile. The src in the OCI registry // required for the Dockerfile build will be downloaded for building the image. Id string `json:"id,omitempty"` // Devfile Registry URL to pull the Dockerfile from when using the Devfile Registry as Dockerfile src. // To ensure the Dockerfile gets resolved consistently in different environments, // it is recommended to always specify the `devfileRegistryUrl` when `Id` is used. // +optional RegistryUrl string `json:"registryUrl,omitempty"` }
func (*DockerfileDevfileRegistrySourcePluginOverrideParentOverride) DeepCopy ¶ added in v2.2.0
func (in *DockerfileDevfileRegistrySourcePluginOverrideParentOverride) DeepCopy() *DockerfileDevfileRegistrySourcePluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerfileDevfileRegistrySourcePluginOverrideParentOverride.
func (*DockerfileDevfileRegistrySourcePluginOverrideParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *DockerfileDevfileRegistrySourcePluginOverrideParentOverride) DeepCopyInto(out *DockerfileDevfileRegistrySourcePluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerfileGitProjectSource ¶ added in v2.2.0
type DockerfileGitProjectSource struct { // Git src for the Dockerfile build. The src required for the Dockerfile build will need to be // cloned for building the image. GitProjectSource `json:",inline"` // Location of the Dockerfile in the Git repository when using git as Dockerfile src. // Defaults to Dockerfile. // +optional FileLocation string `json:"fileLocation,omitempty"` }
func (*DockerfileGitProjectSource) DeepCopy ¶ added in v2.2.0
func (in *DockerfileGitProjectSource) DeepCopy() *DockerfileGitProjectSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerfileGitProjectSource.
func (*DockerfileGitProjectSource) DeepCopyInto ¶ added in v2.2.0
func (in *DockerfileGitProjectSource) DeepCopyInto(out *DockerfileGitProjectSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerfileGitProjectSourceParentOverride ¶ added in v2.2.0
type DockerfileGitProjectSourceParentOverride struct { // Git src for the Dockerfile build. The src required for the Dockerfile build will need to be // cloned for building the image. GitProjectSourceParentOverride `json:",inline"` // Location of the Dockerfile in the Git repository when using git as Dockerfile src. // Defaults to Dockerfile. // +optional FileLocation string `json:"fileLocation,omitempty"` }
func (*DockerfileGitProjectSourceParentOverride) DeepCopy ¶ added in v2.2.0
func (in *DockerfileGitProjectSourceParentOverride) DeepCopy() *DockerfileGitProjectSourceParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerfileGitProjectSourceParentOverride.
func (*DockerfileGitProjectSourceParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *DockerfileGitProjectSourceParentOverride) DeepCopyInto(out *DockerfileGitProjectSourceParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerfileGitProjectSourcePluginOverride ¶ added in v2.2.0
type DockerfileGitProjectSourcePluginOverride struct { // Git src for the Dockerfile build. The src required for the Dockerfile build will need to be // cloned for building the image. GitProjectSourcePluginOverride `json:",inline"` // Location of the Dockerfile in the Git repository when using git as Dockerfile src. // Defaults to Dockerfile. // +optional FileLocation string `json:"fileLocation,omitempty"` }
func (*DockerfileGitProjectSourcePluginOverride) DeepCopy ¶ added in v2.2.0
func (in *DockerfileGitProjectSourcePluginOverride) DeepCopy() *DockerfileGitProjectSourcePluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerfileGitProjectSourcePluginOverride.
func (*DockerfileGitProjectSourcePluginOverride) DeepCopyInto ¶ added in v2.2.0
func (in *DockerfileGitProjectSourcePluginOverride) DeepCopyInto(out *DockerfileGitProjectSourcePluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerfileGitProjectSourcePluginOverrideParentOverride ¶ added in v2.2.0
type DockerfileGitProjectSourcePluginOverrideParentOverride struct { // Git src for the Dockerfile build. The src required for the Dockerfile build will need to be // cloned for building the image. GitProjectSourcePluginOverrideParentOverride `json:",inline"` // Location of the Dockerfile in the Git repository when using git as Dockerfile src. // Defaults to Dockerfile. // +optional FileLocation string `json:"fileLocation,omitempty"` }
func (*DockerfileGitProjectSourcePluginOverrideParentOverride) DeepCopy ¶ added in v2.2.0
func (in *DockerfileGitProjectSourcePluginOverrideParentOverride) DeepCopy() *DockerfileGitProjectSourcePluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerfileGitProjectSourcePluginOverrideParentOverride.
func (*DockerfileGitProjectSourcePluginOverrideParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *DockerfileGitProjectSourcePluginOverrideParentOverride) DeepCopyInto(out *DockerfileGitProjectSourcePluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerfileImage ¶ added in v2.2.0
type DockerfileImage struct { BaseImage `json:",inline"` DockerfileSrc `json:",inline"` Dockerfile `json:",inline"` }
Dockerfile Image type to specify the outerloop build using a Dockerfile
func (*DockerfileImage) DeepCopy ¶ added in v2.2.0
func (in *DockerfileImage) DeepCopy() *DockerfileImage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerfileImage.
func (*DockerfileImage) DeepCopyInto ¶ added in v2.2.0
func (in *DockerfileImage) DeepCopyInto(out *DockerfileImage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerfileImageParentOverride ¶ added in v2.2.0
type DockerfileImageParentOverride struct { BaseImageParentOverride `json:",inline"` DockerfileSrcParentOverride `json:",inline"` DockerfileParentOverride `json:",inline"` }
Dockerfile Image type to specify the outerloop build using a Dockerfile
func (*DockerfileImageParentOverride) DeepCopy ¶ added in v2.2.0
func (in *DockerfileImageParentOverride) DeepCopy() *DockerfileImageParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerfileImageParentOverride.
func (*DockerfileImageParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *DockerfileImageParentOverride) DeepCopyInto(out *DockerfileImageParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerfileImagePluginOverride ¶ added in v2.2.0
type DockerfileImagePluginOverride struct { BaseImagePluginOverride `json:",inline"` DockerfileSrcPluginOverride `json:",inline"` DockerfilePluginOverride `json:",inline"` }
Dockerfile Image type to specify the outerloop build using a Dockerfile
func (*DockerfileImagePluginOverride) DeepCopy ¶ added in v2.2.0
func (in *DockerfileImagePluginOverride) DeepCopy() *DockerfileImagePluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerfileImagePluginOverride.
func (*DockerfileImagePluginOverride) DeepCopyInto ¶ added in v2.2.0
func (in *DockerfileImagePluginOverride) DeepCopyInto(out *DockerfileImagePluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerfileImagePluginOverrideParentOverride ¶ added in v2.2.0
type DockerfileImagePluginOverrideParentOverride struct { BaseImagePluginOverrideParentOverride `json:",inline"` DockerfileSrcPluginOverrideParentOverride `json:",inline"` DockerfilePluginOverrideParentOverride `json:",inline"` }
Dockerfile Image type to specify the outerloop build using a Dockerfile
func (*DockerfileImagePluginOverrideParentOverride) DeepCopy ¶ added in v2.2.0
func (in *DockerfileImagePluginOverrideParentOverride) DeepCopy() *DockerfileImagePluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerfileImagePluginOverrideParentOverride.
func (*DockerfileImagePluginOverrideParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *DockerfileImagePluginOverrideParentOverride) DeepCopyInto(out *DockerfileImagePluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerfileParentOverride ¶ added in v2.2.0
type DockerfileParentOverride struct { // Path of source directory to establish build context. Defaults to ${PROJECT_SOURCE} in the container // +optional BuildContext string `json:"buildContext,omitempty"` // The arguments to supply to the dockerfile build. // +optional Args []string `json:"args,omitempty" patchStrategy:"replace"` // Specify if a privileged builder pod is required. // // Default value is `false` // +optional RootRequired *bool `json:"rootRequired,omitempty"` }
func (*DockerfileParentOverride) DeepCopy ¶ added in v2.2.0
func (in *DockerfileParentOverride) DeepCopy() *DockerfileParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerfileParentOverride.
func (*DockerfileParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *DockerfileParentOverride) DeepCopyInto(out *DockerfileParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerfilePluginOverride ¶ added in v2.2.0
type DockerfilePluginOverride struct { // Path of source directory to establish build context. Defaults to ${PROJECT_SOURCE} in the container // +optional BuildContext string `json:"buildContext,omitempty"` // The arguments to supply to the dockerfile build. // +optional Args []string `json:"args,omitempty" patchStrategy:"replace"` // Specify if a privileged builder pod is required. // // Default value is `false` // +optional RootRequired *bool `json:"rootRequired,omitempty"` }
func (*DockerfilePluginOverride) DeepCopy ¶ added in v2.2.0
func (in *DockerfilePluginOverride) DeepCopy() *DockerfilePluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerfilePluginOverride.
func (*DockerfilePluginOverride) DeepCopyInto ¶ added in v2.2.0
func (in *DockerfilePluginOverride) DeepCopyInto(out *DockerfilePluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerfilePluginOverrideParentOverride ¶ added in v2.2.0
type DockerfilePluginOverrideParentOverride struct { // Path of source directory to establish build context. Defaults to ${PROJECT_SOURCE} in the container // +optional BuildContext string `json:"buildContext,omitempty"` // The arguments to supply to the dockerfile build. // +optional Args []string `json:"args,omitempty" patchStrategy:"replace"` // Specify if a privileged builder pod is required. // // Default value is `false` // +optional RootRequired *bool `json:"rootRequired,omitempty"` }
func (*DockerfilePluginOverrideParentOverride) DeepCopy ¶ added in v2.2.0
func (in *DockerfilePluginOverrideParentOverride) DeepCopy() *DockerfilePluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerfilePluginOverrideParentOverride.
func (*DockerfilePluginOverrideParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *DockerfilePluginOverrideParentOverride) DeepCopyInto(out *DockerfilePluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DockerfileSrc ¶ added in v2.2.0
type DockerfileSrc struct { // Type of Dockerfile src // + // +unionDiscriminator // +optional SrcType DockerfileSrcType `json:"srcType,omitempty"` // URI Reference of a Dockerfile. // It can be a full URL or a relative URI from the current devfile as the base URI. // +optional Uri string `json:"uri,omitempty"` // Dockerfile's Devfile Registry source // +optional DevfileRegistry *DockerfileDevfileRegistrySource `json:"devfileRegistry,omitempty"` // Dockerfile's Git source // +optional Git *DockerfileGitProjectSource `json:"git,omitempty"` }
+union
func (*DockerfileSrc) DeepCopy ¶ added in v2.2.0
func (in *DockerfileSrc) DeepCopy() *DockerfileSrc
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerfileSrc.
func (*DockerfileSrc) DeepCopyInto ¶ added in v2.2.0
func (in *DockerfileSrc) DeepCopyInto(out *DockerfileSrc)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DockerfileSrc) Normalize ¶ added in v2.2.0
func (union *DockerfileSrc) Normalize() error
func (*DockerfileSrc) Simplify ¶ added in v2.2.0
func (union *DockerfileSrc) Simplify()
func (DockerfileSrc) Visit ¶ added in v2.2.0
func (union DockerfileSrc) Visit(visitor DockerfileSrcVisitor) error
type DockerfileSrcParentOverride ¶ added in v2.2.0
type DockerfileSrcParentOverride struct { // +kubebuilder:validation:Enum=Uri;DevfileRegistry;Git // Type of Dockerfile src // + // +unionDiscriminator // +optional SrcType DockerfileSrcTypeParentOverride `json:"srcType,omitempty"` // URI Reference of a Dockerfile. // It can be a full URL or a relative URI from the current devfile as the base URI. // +optional Uri string `json:"uri,omitempty"` // Dockerfile's Devfile Registry source // +optional DevfileRegistry *DockerfileDevfileRegistrySourceParentOverride `json:"devfileRegistry,omitempty"` // Dockerfile's Git source // +optional Git *DockerfileGitProjectSourceParentOverride `json:"git,omitempty"` }
+union
func (*DockerfileSrcParentOverride) DeepCopy ¶ added in v2.2.0
func (in *DockerfileSrcParentOverride) DeepCopy() *DockerfileSrcParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerfileSrcParentOverride.
func (*DockerfileSrcParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *DockerfileSrcParentOverride) DeepCopyInto(out *DockerfileSrcParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DockerfileSrcParentOverride) Normalize ¶ added in v2.2.0
func (union *DockerfileSrcParentOverride) Normalize() error
func (*DockerfileSrcParentOverride) Simplify ¶ added in v2.2.0
func (union *DockerfileSrcParentOverride) Simplify()
func (DockerfileSrcParentOverride) Visit ¶ added in v2.2.0
func (union DockerfileSrcParentOverride) Visit(visitor DockerfileSrcParentOverrideVisitor) error
type DockerfileSrcParentOverrideVisitor ¶ added in v2.2.0
type DockerfileSrcParentOverrideVisitor struct { Uri func(string) error DevfileRegistry func(*DockerfileDevfileRegistrySourceParentOverride) error Git func(*DockerfileGitProjectSourceParentOverride) error }
+k8s:deepcopy-gen=false
type DockerfileSrcPluginOverride ¶ added in v2.2.0
type DockerfileSrcPluginOverride struct { // +kubebuilder:validation:Enum=Uri;DevfileRegistry;Git // Type of Dockerfile src // + // +unionDiscriminator // +optional SrcType DockerfileSrcTypePluginOverride `json:"srcType,omitempty"` // URI Reference of a Dockerfile. // It can be a full URL or a relative URI from the current devfile as the base URI. // +optional Uri string `json:"uri,omitempty"` // Dockerfile's Devfile Registry source // +optional DevfileRegistry *DockerfileDevfileRegistrySourcePluginOverride `json:"devfileRegistry,omitempty"` // Dockerfile's Git source // +optional Git *DockerfileGitProjectSourcePluginOverride `json:"git,omitempty"` }
+union
func (*DockerfileSrcPluginOverride) DeepCopy ¶ added in v2.2.0
func (in *DockerfileSrcPluginOverride) DeepCopy() *DockerfileSrcPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerfileSrcPluginOverride.
func (*DockerfileSrcPluginOverride) DeepCopyInto ¶ added in v2.2.0
func (in *DockerfileSrcPluginOverride) DeepCopyInto(out *DockerfileSrcPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DockerfileSrcPluginOverride) Normalize ¶ added in v2.2.0
func (union *DockerfileSrcPluginOverride) Normalize() error
func (*DockerfileSrcPluginOverride) Simplify ¶ added in v2.2.0
func (union *DockerfileSrcPluginOverride) Simplify()
func (DockerfileSrcPluginOverride) Visit ¶ added in v2.2.0
func (union DockerfileSrcPluginOverride) Visit(visitor DockerfileSrcPluginOverrideVisitor) error
type DockerfileSrcPluginOverrideParentOverride ¶ added in v2.2.0
type DockerfileSrcPluginOverrideParentOverride struct { // +kubebuilder:validation:Enum=Uri;DevfileRegistry;Git // Type of Dockerfile src // + // +unionDiscriminator // +optional SrcType DockerfileSrcTypePluginOverrideParentOverride `json:"srcType,omitempty"` // URI Reference of a Dockerfile. // It can be a full URL or a relative URI from the current devfile as the base URI. // +optional Uri string `json:"uri,omitempty"` // Dockerfile's Devfile Registry source // +optional DevfileRegistry *DockerfileDevfileRegistrySourcePluginOverrideParentOverride `json:"devfileRegistry,omitempty"` // Dockerfile's Git source // +optional Git *DockerfileGitProjectSourcePluginOverrideParentOverride `json:"git,omitempty"` }
+union
func (*DockerfileSrcPluginOverrideParentOverride) DeepCopy ¶ added in v2.2.0
func (in *DockerfileSrcPluginOverrideParentOverride) DeepCopy() *DockerfileSrcPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerfileSrcPluginOverrideParentOverride.
func (*DockerfileSrcPluginOverrideParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *DockerfileSrcPluginOverrideParentOverride) DeepCopyInto(out *DockerfileSrcPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DockerfileSrcPluginOverrideParentOverride) Normalize ¶ added in v2.2.0
func (union *DockerfileSrcPluginOverrideParentOverride) Normalize() error
func (*DockerfileSrcPluginOverrideParentOverride) Simplify ¶ added in v2.2.0
func (union *DockerfileSrcPluginOverrideParentOverride) Simplify()
func (DockerfileSrcPluginOverrideParentOverride) Visit ¶ added in v2.2.0
func (union DockerfileSrcPluginOverrideParentOverride) Visit(visitor DockerfileSrcPluginOverrideParentOverrideVisitor) error
type DockerfileSrcPluginOverrideParentOverrideVisitor ¶ added in v2.2.0
type DockerfileSrcPluginOverrideParentOverrideVisitor struct { Uri func(string) error DevfileRegistry func(*DockerfileDevfileRegistrySourcePluginOverrideParentOverride) error Git func(*DockerfileGitProjectSourcePluginOverrideParentOverride) error }
+k8s:deepcopy-gen=false
type DockerfileSrcPluginOverrideVisitor ¶ added in v2.2.0
type DockerfileSrcPluginOverrideVisitor struct { Uri func(string) error DevfileRegistry func(*DockerfileDevfileRegistrySourcePluginOverride) error Git func(*DockerfileGitProjectSourcePluginOverride) error }
+k8s:deepcopy-gen=false
type DockerfileSrcType ¶ added in v2.2.0
type DockerfileSrcType string
DockerfileSrcType describes the type of the src for the Dockerfile outerloop build. Only one of the following location type may be specified. +kubebuilder:validation:Enum=Uri;DevfileRegistry;Git
const ( UriLikeDockerfileSrcType DockerfileSrcType = "Uri" DevfileRegistryLikeDockerfileSrcType DockerfileSrcType = "DevfileRegistry" GitLikeDockerfileSrcType DockerfileSrcType = "Git" )
type DockerfileSrcTypeParentOverride ¶ added in v2.2.0
type DockerfileSrcTypeParentOverride string
DockerfileSrcType describes the type of the src for the Dockerfile outerloop build. Only one of the following location type may be specified.
type DockerfileSrcTypePluginOverride ¶ added in v2.2.0
type DockerfileSrcTypePluginOverride string
DockerfileSrcType describes the type of the src for the Dockerfile outerloop build. Only one of the following location type may be specified.
type DockerfileSrcTypePluginOverrideParentOverride ¶ added in v2.2.0
type DockerfileSrcTypePluginOverrideParentOverride string
DockerfileSrcType describes the type of the src for the Dockerfile outerloop build. Only one of the following location type may be specified.
type DockerfileSrcVisitor ¶ added in v2.2.0
type DockerfileSrcVisitor struct { Uri func(string) error DevfileRegistry func(*DockerfileDevfileRegistrySource) error Git func(*DockerfileGitProjectSource) error }
+k8s:deepcopy-gen=false
type Endpoint ¶
type Endpoint struct { // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Name string `json:"name"` // Port number to be used within the container component. The same port cannot // be used by two different container components. TargetPort int `json:"targetPort"` // Describes how the endpoint should be exposed on the network. // // - `public` means that the endpoint will be exposed on the public network, typically through // a K8S ingress or an OpenShift route. // // - `internal` means that the endpoint will be exposed internally outside of the main devworkspace POD, // typically by K8S services, to be consumed by other elements running // on the same cloud internal network. // // - `none` means that the endpoint will not be exposed and will only be accessible // inside the main devworkspace POD, on a local address. // // Default value is `public` // +optional // +kubebuilder:default=public Exposure EndpointExposure `json:"exposure,omitempty"` // Describes the application and transport protocols of the traffic that will go through this endpoint. // // - `http`: Endpoint will have `http` traffic, typically on a TCP connection. // It will be automaticaly promoted to `https` when the `secure` field is set to `true`. // // - `https`: Endpoint will have `https` traffic, typically on a TCP connection. // // - `ws`: Endpoint will have `ws` traffic, typically on a TCP connection. // It will be automaticaly promoted to `wss` when the `secure` field is set to `true`. // // - `wss`: Endpoint will have `wss` traffic, typically on a TCP connection. // // - `tcp`: Endpoint will have traffic on a TCP connection, without specifying an application protocol. // // - `udp`: Endpoint will have traffic on an UDP connection, without specifying an application protocol. // // Default value is `http` // +optional // +kubebuilder:default=http Protocol EndpointProtocol `json:"protocol,omitempty"` // Describes whether the endpoint should be secured and protected by some // authentication process. This requires a protocol of `https` or `wss`. // +optional // +devfile:default:value=false Secure *bool `json:"secure,omitempty"` // Path of the endpoint URL // +optional Path string `json:"path,omitempty"` // Map of implementation-dependant string-based free-form attributes. // // Examples of Che-specific attributes: // // - cookiesAuthEnabled: "true" / "false", // // - type: "terminal" / "ide" / "ide-dev", // +optional // +kubebuilder:validation:Type=object // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Attributes attributes.Attributes `json:"attributes,omitempty"` // +optional // Annotations to be added to Kubernetes Ingress or Openshift Route Annotations map[string]string `json:"annotation,omitempty" patchStrategy:"merge" patchMergeKey:"name"` }
+devfile:getter:generate
func (*Endpoint) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint.
func (*Endpoint) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointExposure ¶
type EndpointExposure string
EndpointExposure describes the way an endpoint is exposed on the network. Only one of the following exposures may be specified: public, internal, none. +kubebuilder:validation:Enum=public;internal;none
const ( // Endpoint will be exposed on the public network, typically through // a K8S ingress or an OpenShift route PublicEndpointExposure EndpointExposure = "public" // Endpoint will be exposed internally outside of the main devworkspace POD, // typically by K8S services, to be consumed by other elements running // on the same cloud internal network. InternalEndpointExposure EndpointExposure = "internal" // Endpoint will not be exposed and will only be accessible // inside the main devworkspace POD, on a local address. NoneEndpointExposure EndpointExposure = "none" )
type EndpointExposureParentOverride ¶
type EndpointExposureParentOverride string
EndpointExposure describes the way an endpoint is exposed on the network. Only one of the following exposures may be specified: public, internal, none. +kubebuilder:validation:Enum=public;internal;none
type EndpointExposurePluginOverride ¶
type EndpointExposurePluginOverride string
EndpointExposure describes the way an endpoint is exposed on the network. Only one of the following exposures may be specified: public, internal, none. +kubebuilder:validation:Enum=public;internal;none
type EndpointExposurePluginOverrideParentOverride ¶
type EndpointExposurePluginOverrideParentOverride string
EndpointExposure describes the way an endpoint is exposed on the network. Only one of the following exposures may be specified: public, internal, none. +kubebuilder:validation:Enum=public;internal;none
type EndpointParentOverride ¶
type EndpointParentOverride struct { // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Name string `json:"name"` // +optional // Port number to be used within the container component. The same port cannot // be used by two different container components. TargetPort int `json:"targetPort,omitempty"` // Describes how the endpoint should be exposed on the network. // // - `public` means that the endpoint will be exposed on the public network, typically through // a K8S ingress or an OpenShift route. // // - `internal` means that the endpoint will be exposed internally outside of the main devworkspace POD, // typically by K8S services, to be consumed by other elements running // on the same cloud internal network. // // - `none` means that the endpoint will not be exposed and will only be accessible // inside the main devworkspace POD, on a local address. // // Default value is `public` // +optional Exposure EndpointExposureParentOverride `json:"exposure,omitempty"` // Describes the application and transport protocols of the traffic that will go through this endpoint. // // - `http`: Endpoint will have `http` traffic, typically on a TCP connection. // It will be automaticaly promoted to `https` when the `secure` field is set to `true`. // // - `https`: Endpoint will have `https` traffic, typically on a TCP connection. // // - `ws`: Endpoint will have `ws` traffic, typically on a TCP connection. // It will be automaticaly promoted to `wss` when the `secure` field is set to `true`. // // - `wss`: Endpoint will have `wss` traffic, typically on a TCP connection. // // - `tcp`: Endpoint will have traffic on a TCP connection, without specifying an application protocol. // // - `udp`: Endpoint will have traffic on an UDP connection, without specifying an application protocol. // // Default value is `http` // +optional Protocol EndpointProtocolParentOverride `json:"protocol,omitempty"` // Describes whether the endpoint should be secured and protected by some // authentication process. This requires a protocol of `https` or `wss`. // +optional Secure *bool `json:"secure,omitempty"` // Path of the endpoint URL // +optional Path string `json:"path,omitempty"` // Map of implementation-dependant string-based free-form attributes. // // Examples of Che-specific attributes: // // - cookiesAuthEnabled: "true" / "false", // // - type: "terminal" / "ide" / "ide-dev", // +optional // +kubebuilder:validation:Type=object // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Attributes attributes.Attributes `json:"attributes,omitempty"` // +optional // Annotations to be added to Kubernetes Ingress or Openshift Route Annotations map[string]string `json:"annotation,omitempty" patchStrategy:"merge" patchMergeKey:"name"` }
func (*EndpointParentOverride) DeepCopy ¶
func (in *EndpointParentOverride) DeepCopy() *EndpointParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointParentOverride.
func (*EndpointParentOverride) DeepCopyInto ¶
func (in *EndpointParentOverride) DeepCopyInto(out *EndpointParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointPluginOverride ¶
type EndpointPluginOverride struct { // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Name string `json:"name"` // +optional // Port number to be used within the container component. The same port cannot // be used by two different container components. TargetPort int `json:"targetPort,omitempty"` // Describes how the endpoint should be exposed on the network. // // - `public` means that the endpoint will be exposed on the public network, typically through // a K8S ingress or an OpenShift route. // // - `internal` means that the endpoint will be exposed internally outside of the main devworkspace POD, // typically by K8S services, to be consumed by other elements running // on the same cloud internal network. // // - `none` means that the endpoint will not be exposed and will only be accessible // inside the main devworkspace POD, on a local address. // // Default value is `public` // +optional Exposure EndpointExposurePluginOverride `json:"exposure,omitempty"` // Describes the application and transport protocols of the traffic that will go through this endpoint. // // - `http`: Endpoint will have `http` traffic, typically on a TCP connection. // It will be automaticaly promoted to `https` when the `secure` field is set to `true`. // // - `https`: Endpoint will have `https` traffic, typically on a TCP connection. // // - `ws`: Endpoint will have `ws` traffic, typically on a TCP connection. // It will be automaticaly promoted to `wss` when the `secure` field is set to `true`. // // - `wss`: Endpoint will have `wss` traffic, typically on a TCP connection. // // - `tcp`: Endpoint will have traffic on a TCP connection, without specifying an application protocol. // // - `udp`: Endpoint will have traffic on an UDP connection, without specifying an application protocol. // // Default value is `http` // +optional Protocol EndpointProtocolPluginOverride `json:"protocol,omitempty"` // Describes whether the endpoint should be secured and protected by some // authentication process. This requires a protocol of `https` or `wss`. // +optional Secure *bool `json:"secure,omitempty"` // Path of the endpoint URL // +optional Path string `json:"path,omitempty"` // Map of implementation-dependant string-based free-form attributes. // // Examples of Che-specific attributes: // // - cookiesAuthEnabled: "true" / "false", // // - type: "terminal" / "ide" / "ide-dev", // +optional // +kubebuilder:validation:Type=object // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Attributes attributes.Attributes `json:"attributes,omitempty"` // +optional // Annotations to be added to Kubernetes Ingress or Openshift Route Annotations map[string]string `json:"annotation,omitempty" patchStrategy:"merge" patchMergeKey:"name"` }
func (*EndpointPluginOverride) DeepCopy ¶
func (in *EndpointPluginOverride) DeepCopy() *EndpointPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointPluginOverride.
func (*EndpointPluginOverride) DeepCopyInto ¶
func (in *EndpointPluginOverride) DeepCopyInto(out *EndpointPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointPluginOverrideParentOverride ¶
type EndpointPluginOverrideParentOverride struct { // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Name string `json:"name"` // +optional // Port number to be used within the container component. The same port cannot // be used by two different container components. TargetPort int `json:"targetPort,omitempty"` // Describes how the endpoint should be exposed on the network. // // - `public` means that the endpoint will be exposed on the public network, typically through // a K8S ingress or an OpenShift route. // // - `internal` means that the endpoint will be exposed internally outside of the main devworkspace POD, // typically by K8S services, to be consumed by other elements running // on the same cloud internal network. // // - `none` means that the endpoint will not be exposed and will only be accessible // inside the main devworkspace POD, on a local address. // // Default value is `public` // +optional Exposure EndpointExposurePluginOverrideParentOverride `json:"exposure,omitempty"` // Describes the application and transport protocols of the traffic that will go through this endpoint. // // - `http`: Endpoint will have `http` traffic, typically on a TCP connection. // It will be automaticaly promoted to `https` when the `secure` field is set to `true`. // // - `https`: Endpoint will have `https` traffic, typically on a TCP connection. // // - `ws`: Endpoint will have `ws` traffic, typically on a TCP connection. // It will be automaticaly promoted to `wss` when the `secure` field is set to `true`. // // - `wss`: Endpoint will have `wss` traffic, typically on a TCP connection. // // - `tcp`: Endpoint will have traffic on a TCP connection, without specifying an application protocol. // // - `udp`: Endpoint will have traffic on an UDP connection, without specifying an application protocol. // // Default value is `http` // +optional Protocol EndpointProtocolPluginOverrideParentOverride `json:"protocol,omitempty"` // Describes whether the endpoint should be secured and protected by some // authentication process. This requires a protocol of `https` or `wss`. // +optional Secure *bool `json:"secure,omitempty"` // Path of the endpoint URL // +optional Path string `json:"path,omitempty"` // Map of implementation-dependant string-based free-form attributes. // // Examples of Che-specific attributes: // // - cookiesAuthEnabled: "true" / "false", // // - type: "terminal" / "ide" / "ide-dev", // +optional // +kubebuilder:validation:Type=object // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Attributes attributes.Attributes `json:"attributes,omitempty"` // +optional // Annotations to be added to Kubernetes Ingress or Openshift Route Annotations map[string]string `json:"annotation,omitempty" patchStrategy:"merge" patchMergeKey:"name"` }
func (*EndpointPluginOverrideParentOverride) DeepCopy ¶
func (in *EndpointPluginOverrideParentOverride) DeepCopy() *EndpointPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointPluginOverrideParentOverride.
func (*EndpointPluginOverrideParentOverride) DeepCopyInto ¶
func (in *EndpointPluginOverrideParentOverride) DeepCopyInto(out *EndpointPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointProtocol ¶
type EndpointProtocol string
EndpointProtocol defines the application and transport protocols of the traffic that will go through this endpoint. Only one of the following protocols may be specified: http, ws, tcp, udp. +kubebuilder:validation:Enum=http;https;ws;wss;tcp;udp
const ( // Endpoint will have `http` traffic, typically on a TCP connection. // It will be automaticaly promoted to `https` when the `secure` field is set to `true` HTTPEndpointProtocol EndpointProtocol = "http" // Endpoint will have `https` traffic, typically on a TCP connection HTTPSEndpointProtocol EndpointProtocol = "https" // Endpoint will have `ws` traffic, typically on a TCP connection // It will be automaticaly promoted to `wss` when the `secure` field is set to `true` WSEndpointProtocol EndpointProtocol = "ws" // Endpoint will have `wss` traffic, typically on a TCP connection WSSEndpointProtocol EndpointProtocol = "wss" // Endpoint will have traffic on a TCP connection, // without specifying an application protocol TCPEndpointProtocol EndpointProtocol = "tcp" // Endpoint will have traffic on an UDP connection, // without specifying an application protocol UDPEndpointProtocol EndpointProtocol = "udp" )
type EndpointProtocolParentOverride ¶
type EndpointProtocolParentOverride string
EndpointProtocol defines the application and transport protocols of the traffic that will go through this endpoint. Only one of the following protocols may be specified: http, ws, tcp, udp. +kubebuilder:validation:Enum=http;https;ws;wss;tcp;udp
type EndpointProtocolPluginOverride ¶
type EndpointProtocolPluginOverride string
EndpointProtocol defines the application and transport protocols of the traffic that will go through this endpoint. Only one of the following protocols may be specified: http, ws, tcp, udp. +kubebuilder:validation:Enum=http;https;ws;wss;tcp;udp
type EndpointProtocolPluginOverrideParentOverride ¶
type EndpointProtocolPluginOverrideParentOverride string
EndpointProtocol defines the application and transport protocols of the traffic that will go through this endpoint. Only one of the following protocols may be specified: http, ws, tcp, udp. +kubebuilder:validation:Enum=http;https;ws;wss;tcp;udp
type EnvVar ¶
type EnvVar struct { Name string `json:"name" yaml:"name"` Value string `json:"value" yaml:"value"` }
func (*EnvVar) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.
func (*EnvVar) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvVarParentOverride ¶
type EnvVarParentOverride struct { Name string `json:"name" yaml:"name"` // +optional Value string `json:"value,omitempty" yaml:"value"` }
func (*EnvVarParentOverride) DeepCopy ¶
func (in *EnvVarParentOverride) DeepCopy() *EnvVarParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVarParentOverride.
func (*EnvVarParentOverride) DeepCopyInto ¶
func (in *EnvVarParentOverride) DeepCopyInto(out *EnvVarParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvVarPluginOverride ¶
type EnvVarPluginOverride struct { Name string `json:"name" yaml:"name"` // +optional Value string `json:"value,omitempty" yaml:"value"` }
func (*EnvVarPluginOverride) DeepCopy ¶
func (in *EnvVarPluginOverride) DeepCopy() *EnvVarPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVarPluginOverride.
func (*EnvVarPluginOverride) DeepCopyInto ¶
func (in *EnvVarPluginOverride) DeepCopyInto(out *EnvVarPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvVarPluginOverrideParentOverride ¶
type EnvVarPluginOverrideParentOverride struct { Name string `json:"name" yaml:"name"` // +optional Value string `json:"value,omitempty" yaml:"value"` }
func (*EnvVarPluginOverrideParentOverride) DeepCopy ¶
func (in *EnvVarPluginOverrideParentOverride) DeepCopy() *EnvVarPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVarPluginOverrideParentOverride.
func (*EnvVarPluginOverrideParentOverride) DeepCopyInto ¶
func (in *EnvVarPluginOverrideParentOverride) DeepCopyInto(out *EnvVarPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Events ¶
type Events struct {
DevWorkspaceEvents `json:",inline"`
}
func (*Events) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Events.
func (*Events) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExecCommand ¶
type ExecCommand struct { LabeledCommand `json:",inline"` // The actual command-line string // // Special variables that can be used: // // - `$PROJECTS_ROOT`: A path where projects sources are mounted as defined by container component's sourceMapping. // // - `$PROJECT_SOURCE`: A path to a project source ($PROJECTS_ROOT/<project-name>). If there are multiple projects, this will point to the directory of the first one. CommandLine string `json:"commandLine"` // Describes component to which given action relates // Component string `json:"component"` // Working directory where the command should be executed // // Special variables that can be used: // // - `$PROJECTS_ROOT`: A path where projects sources are mounted as defined by container component's sourceMapping. // // - `$PROJECT_SOURCE`: A path to a project source ($PROJECTS_ROOT/<project-name>). If there are multiple projects, this will point to the directory of the first one. // +optional WorkingDir string `json:"workingDir,omitempty"` // +optional // +patchMergeKey=name // +patchStrategy=merge // Optional list of environment variables that have to be set // before running the command Env []EnvVar `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional // Specify whether the command is restarted or not when the source code changes. // If set to `true` the command won't be restarted. // A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. // A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. // This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`. // // Default value is `false` // +devfile:default:value=false HotReloadCapable *bool `json:"hotReloadCapable,omitempty"` }
+devfile:getter:generate
func (*ExecCommand) DeepCopy ¶
func (in *ExecCommand) DeepCopy() *ExecCommand
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCommand.
func (*ExecCommand) DeepCopyInto ¶
func (in *ExecCommand) DeepCopyInto(out *ExecCommand)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExecCommand) GetHotReloadCapable ¶ added in v2.2.0
func (in *ExecCommand) GetHotReloadCapable() bool
GetHotReloadCapable returns the value of the boolean property. If unset, it's the default value specified in the devfile:default:value marker
type ExecCommandParentOverride ¶
type ExecCommandParentOverride struct { LabeledCommandParentOverride `json:",inline"` // +optional // The actual command-line string // // Special variables that can be used: // // - `$PROJECTS_ROOT`: A path where projects sources are mounted as defined by container component's sourceMapping. // // - `$PROJECT_SOURCE`: A path to a project source ($PROJECTS_ROOT/<project-name>). If there are multiple projects, this will point to the directory of the first one. CommandLine string `json:"commandLine,omitempty"` // +optional // Describes component to which given action relates // Component string `json:"component,omitempty"` // Working directory where the command should be executed // // Special variables that can be used: // // - `$PROJECTS_ROOT`: A path where projects sources are mounted as defined by container component's sourceMapping. // // - `$PROJECT_SOURCE`: A path to a project source ($PROJECTS_ROOT/<project-name>). If there are multiple projects, this will point to the directory of the first one. // +optional WorkingDir string `json:"workingDir,omitempty"` // +optional // +patchMergeKey=name // +patchStrategy=merge // Optional list of environment variables that have to be set // before running the command Env []EnvVarParentOverride `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional // Specify whether the command is restarted or not when the source code changes. // If set to `true` the command won't be restarted. // A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. // A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. // This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`. // // Default value is `false` HotReloadCapable *bool `json:"hotReloadCapable,omitempty"` }
func (*ExecCommandParentOverride) DeepCopy ¶
func (in *ExecCommandParentOverride) DeepCopy() *ExecCommandParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCommandParentOverride.
func (*ExecCommandParentOverride) DeepCopyInto ¶
func (in *ExecCommandParentOverride) DeepCopyInto(out *ExecCommandParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExecCommandPluginOverride ¶
type ExecCommandPluginOverride struct { LabeledCommandPluginOverride `json:",inline"` // +optional // The actual command-line string // // Special variables that can be used: // // - `$PROJECTS_ROOT`: A path where projects sources are mounted as defined by container component's sourceMapping. // // - `$PROJECT_SOURCE`: A path to a project source ($PROJECTS_ROOT/<project-name>). If there are multiple projects, this will point to the directory of the first one. CommandLine string `json:"commandLine,omitempty"` // +optional // Describes component to which given action relates // Component string `json:"component,omitempty"` // Working directory where the command should be executed // // Special variables that can be used: // // - `$PROJECTS_ROOT`: A path where projects sources are mounted as defined by container component's sourceMapping. // // - `$PROJECT_SOURCE`: A path to a project source ($PROJECTS_ROOT/<project-name>). If there are multiple projects, this will point to the directory of the first one. // +optional WorkingDir string `json:"workingDir,omitempty"` // +optional // +patchMergeKey=name // +patchStrategy=merge // Optional list of environment variables that have to be set // before running the command Env []EnvVarPluginOverride `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional // Specify whether the command is restarted or not when the source code changes. // If set to `true` the command won't be restarted. // A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. // A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. // This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`. // // Default value is `false` HotReloadCapable *bool `json:"hotReloadCapable,omitempty"` }
func (*ExecCommandPluginOverride) DeepCopy ¶
func (in *ExecCommandPluginOverride) DeepCopy() *ExecCommandPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCommandPluginOverride.
func (*ExecCommandPluginOverride) DeepCopyInto ¶
func (in *ExecCommandPluginOverride) DeepCopyInto(out *ExecCommandPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExecCommandPluginOverrideParentOverride ¶
type ExecCommandPluginOverrideParentOverride struct { LabeledCommandPluginOverrideParentOverride `json:",inline"` // +optional // The actual command-line string // // Special variables that can be used: // // - `$PROJECTS_ROOT`: A path where projects sources are mounted as defined by container component's sourceMapping. // // - `$PROJECT_SOURCE`: A path to a project source ($PROJECTS_ROOT/<project-name>). If there are multiple projects, this will point to the directory of the first one. CommandLine string `json:"commandLine,omitempty"` // +optional // Describes component to which given action relates // Component string `json:"component,omitempty"` // Working directory where the command should be executed // // Special variables that can be used: // // - `$PROJECTS_ROOT`: A path where projects sources are mounted as defined by container component's sourceMapping. // // - `$PROJECT_SOURCE`: A path to a project source ($PROJECTS_ROOT/<project-name>). If there are multiple projects, this will point to the directory of the first one. // +optional WorkingDir string `json:"workingDir,omitempty"` // +optional // +patchMergeKey=name // +patchStrategy=merge // Optional list of environment variables that have to be set // before running the command Env []EnvVarPluginOverrideParentOverride `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // +optional // Specify whether the command is restarted or not when the source code changes. // If set to `true` the command won't be restarted. // A *hotReloadCapable* `run` or `debug` command is expected to handle file changes on its own and won't be restarted. // A *hotReloadCapable* `build` command is expected to be executed only once and won't be executed again. // This field is taken into account only for commands `build`, `run` and `debug` with `isDefault` set to `true`. // // Default value is `false` HotReloadCapable *bool `json:"hotReloadCapable,omitempty"` }
func (*ExecCommandPluginOverrideParentOverride) DeepCopy ¶
func (in *ExecCommandPluginOverrideParentOverride) DeepCopy() *ExecCommandPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCommandPluginOverrideParentOverride.
func (*ExecCommandPluginOverrideParentOverride) DeepCopyInto ¶
func (in *ExecCommandPluginOverrideParentOverride) DeepCopyInto(out *ExecCommandPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitLikeProjectSource ¶
type GitLikeProjectSource struct { CommonProjectSource `json:",inline"` // Defines from what the project should be checked out. Required if there are more than one remote configured // +optional CheckoutFrom *CheckoutFrom `json:"checkoutFrom,omitempty"` // The remotes map which should be initialized in the git project. // Projects must have at least one remote configured while StarterProjects & Image Component's Git source can only have at most one remote configured. Remotes map[string]string `json:"remotes"` }
func (*GitLikeProjectSource) DeepCopy ¶
func (in *GitLikeProjectSource) DeepCopy() *GitLikeProjectSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitLikeProjectSource.
func (*GitLikeProjectSource) DeepCopyInto ¶
func (in *GitLikeProjectSource) DeepCopyInto(out *GitLikeProjectSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitLikeProjectSourceParentOverride ¶
type GitLikeProjectSourceParentOverride struct { CommonProjectSourceParentOverride `json:",inline"` // Defines from what the project should be checked out. Required if there are more than one remote configured // +optional CheckoutFrom *CheckoutFromParentOverride `json:"checkoutFrom,omitempty"` // +optional // The remotes map which should be initialized in the git project. // Projects must have at least one remote configured while StarterProjects & Image Component's Git source can only have at most one remote configured. Remotes map[string]string `json:"remotes,omitempty"` }
func (*GitLikeProjectSourceParentOverride) DeepCopy ¶
func (in *GitLikeProjectSourceParentOverride) DeepCopy() *GitLikeProjectSourceParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitLikeProjectSourceParentOverride.
func (*GitLikeProjectSourceParentOverride) DeepCopyInto ¶
func (in *GitLikeProjectSourceParentOverride) DeepCopyInto(out *GitLikeProjectSourceParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitLikeProjectSourcePluginOverride ¶ added in v2.2.0
type GitLikeProjectSourcePluginOverride struct { CommonProjectSourcePluginOverride `json:",inline"` // Defines from what the project should be checked out. Required if there are more than one remote configured // +optional CheckoutFrom *CheckoutFromPluginOverride `json:"checkoutFrom,omitempty"` // +optional // The remotes map which should be initialized in the git project. // Projects must have at least one remote configured while StarterProjects & Image Component's Git source can only have at most one remote configured. Remotes map[string]string `json:"remotes,omitempty"` }
func (*GitLikeProjectSourcePluginOverride) DeepCopy ¶ added in v2.2.0
func (in *GitLikeProjectSourcePluginOverride) DeepCopy() *GitLikeProjectSourcePluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitLikeProjectSourcePluginOverride.
func (*GitLikeProjectSourcePluginOverride) DeepCopyInto ¶ added in v2.2.0
func (in *GitLikeProjectSourcePluginOverride) DeepCopyInto(out *GitLikeProjectSourcePluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitLikeProjectSourcePluginOverrideParentOverride ¶ added in v2.2.0
type GitLikeProjectSourcePluginOverrideParentOverride struct { CommonProjectSourcePluginOverrideParentOverride `json:",inline"` // Defines from what the project should be checked out. Required if there are more than one remote configured // +optional CheckoutFrom *CheckoutFromPluginOverrideParentOverride `json:"checkoutFrom,omitempty"` // +optional // The remotes map which should be initialized in the git project. // Projects must have at least one remote configured while StarterProjects & Image Component's Git source can only have at most one remote configured. Remotes map[string]string `json:"remotes,omitempty"` }
func (*GitLikeProjectSourcePluginOverrideParentOverride) DeepCopy ¶ added in v2.2.0
func (in *GitLikeProjectSourcePluginOverrideParentOverride) DeepCopy() *GitLikeProjectSourcePluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitLikeProjectSourcePluginOverrideParentOverride.
func (*GitLikeProjectSourcePluginOverrideParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *GitLikeProjectSourcePluginOverrideParentOverride) DeepCopyInto(out *GitLikeProjectSourcePluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitProjectSource ¶
type GitProjectSource struct {
GitLikeProjectSource `json:",inline"`
}
func (*GitProjectSource) DeepCopy ¶
func (in *GitProjectSource) DeepCopy() *GitProjectSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitProjectSource.
func (*GitProjectSource) DeepCopyInto ¶
func (in *GitProjectSource) DeepCopyInto(out *GitProjectSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitProjectSourceParentOverride ¶
type GitProjectSourceParentOverride struct {
GitLikeProjectSourceParentOverride `json:",inline"`
}
func (*GitProjectSourceParentOverride) DeepCopy ¶
func (in *GitProjectSourceParentOverride) DeepCopy() *GitProjectSourceParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitProjectSourceParentOverride.
func (*GitProjectSourceParentOverride) DeepCopyInto ¶
func (in *GitProjectSourceParentOverride) DeepCopyInto(out *GitProjectSourceParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitProjectSourcePluginOverride ¶ added in v2.2.0
type GitProjectSourcePluginOverride struct {
GitLikeProjectSourcePluginOverride `json:",inline"`
}
func (*GitProjectSourcePluginOverride) DeepCopy ¶ added in v2.2.0
func (in *GitProjectSourcePluginOverride) DeepCopy() *GitProjectSourcePluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitProjectSourcePluginOverride.
func (*GitProjectSourcePluginOverride) DeepCopyInto ¶ added in v2.2.0
func (in *GitProjectSourcePluginOverride) DeepCopyInto(out *GitProjectSourcePluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitProjectSourcePluginOverrideParentOverride ¶ added in v2.2.0
type GitProjectSourcePluginOverrideParentOverride struct {
GitLikeProjectSourcePluginOverrideParentOverride `json:",inline"`
}
func (*GitProjectSourcePluginOverrideParentOverride) DeepCopy ¶ added in v2.2.0
func (in *GitProjectSourcePluginOverrideParentOverride) DeepCopy() *GitProjectSourcePluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitProjectSourcePluginOverrideParentOverride.
func (*GitProjectSourcePluginOverrideParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *GitProjectSourcePluginOverrideParentOverride) DeepCopyInto(out *GitProjectSourcePluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Image ¶ added in v2.2.0
type Image struct { // Name of the image for the resulting outerloop build ImageName string `json:"imageName"` ImageUnion `json:",inline"` }
func (*Image) DeepCopy ¶ added in v2.2.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶ added in v2.2.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageComponent ¶ added in v2.2.0
type ImageComponent struct { BaseComponent `json:",inline"` Image `json:",inline"` }
Component that allows the developer to build a runtime image for outerloop
func (*ImageComponent) DeepCopy ¶ added in v2.2.0
func (in *ImageComponent) DeepCopy() *ImageComponent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageComponent.
func (*ImageComponent) DeepCopyInto ¶ added in v2.2.0
func (in *ImageComponent) DeepCopyInto(out *ImageComponent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageComponentParentOverride ¶ added in v2.2.0
type ImageComponentParentOverride struct { BaseComponentParentOverride `json:",inline"` ImageParentOverride `json:",inline"` }
Component that allows the developer to build a runtime image for outerloop
func (*ImageComponentParentOverride) DeepCopy ¶ added in v2.2.0
func (in *ImageComponentParentOverride) DeepCopy() *ImageComponentParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageComponentParentOverride.
func (*ImageComponentParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *ImageComponentParentOverride) DeepCopyInto(out *ImageComponentParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageComponentPluginOverride ¶ added in v2.2.0
type ImageComponentPluginOverride struct { BaseComponentPluginOverride `json:",inline"` ImagePluginOverride `json:",inline"` }
Component that allows the developer to build a runtime image for outerloop
func (*ImageComponentPluginOverride) DeepCopy ¶ added in v2.2.0
func (in *ImageComponentPluginOverride) DeepCopy() *ImageComponentPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageComponentPluginOverride.
func (*ImageComponentPluginOverride) DeepCopyInto ¶ added in v2.2.0
func (in *ImageComponentPluginOverride) DeepCopyInto(out *ImageComponentPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageComponentPluginOverrideParentOverride ¶ added in v2.2.0
type ImageComponentPluginOverrideParentOverride struct { BaseComponentPluginOverrideParentOverride `json:",inline"` ImagePluginOverrideParentOverride `json:",inline"` }
Component that allows the developer to build a runtime image for outerloop
func (*ImageComponentPluginOverrideParentOverride) DeepCopy ¶ added in v2.2.0
func (in *ImageComponentPluginOverrideParentOverride) DeepCopy() *ImageComponentPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageComponentPluginOverrideParentOverride.
func (*ImageComponentPluginOverrideParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *ImageComponentPluginOverrideParentOverride) DeepCopyInto(out *ImageComponentPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageParentOverride ¶ added in v2.2.0
type ImageParentOverride struct { // +optional // Name of the image for the resulting outerloop build ImageName string `json:"imageName,omitempty"` ImageUnionParentOverride `json:",inline"` }
func (*ImageParentOverride) DeepCopy ¶ added in v2.2.0
func (in *ImageParentOverride) DeepCopy() *ImageParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageParentOverride.
func (*ImageParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *ImageParentOverride) DeepCopyInto(out *ImageParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImagePluginOverride ¶ added in v2.2.0
type ImagePluginOverride struct { // +optional // Name of the image for the resulting outerloop build ImageName string `json:"imageName,omitempty"` ImageUnionPluginOverride `json:",inline"` }
func (*ImagePluginOverride) DeepCopy ¶ added in v2.2.0
func (in *ImagePluginOverride) DeepCopy() *ImagePluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePluginOverride.
func (*ImagePluginOverride) DeepCopyInto ¶ added in v2.2.0
func (in *ImagePluginOverride) DeepCopyInto(out *ImagePluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImagePluginOverrideParentOverride ¶ added in v2.2.0
type ImagePluginOverrideParentOverride struct { // +optional // Name of the image for the resulting outerloop build ImageName string `json:"imageName,omitempty"` ImageUnionPluginOverrideParentOverride `json:",inline"` }
func (*ImagePluginOverrideParentOverride) DeepCopy ¶ added in v2.2.0
func (in *ImagePluginOverrideParentOverride) DeepCopy() *ImagePluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePluginOverrideParentOverride.
func (*ImagePluginOverrideParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *ImagePluginOverrideParentOverride) DeepCopyInto(out *ImagePluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageType ¶ added in v2.2.0
type ImageType string
ImageType describes the type of image. Only one of the following image type may be specified. +kubebuilder:validation:Enum=Dockerfile
const (
DockerfileImageType ImageType = "Dockerfile"
)
type ImageTypeParentOverride ¶ added in v2.2.0
type ImageTypeParentOverride string
ImageType describes the type of image. Only one of the following image type may be specified.
type ImageTypePluginOverride ¶ added in v2.2.0
type ImageTypePluginOverride string
ImageType describes the type of image. Only one of the following image type may be specified.
type ImageTypePluginOverrideParentOverride ¶ added in v2.2.0
type ImageTypePluginOverrideParentOverride string
ImageType describes the type of image. Only one of the following image type may be specified.
type ImageUnion ¶ added in v2.2.0
type ImageUnion struct { // Type of image // // +unionDiscriminator // +optional ImageType ImageType `json:"imageType,omitempty"` // Allows specifying dockerfile type build // +optional Dockerfile *DockerfileImage `json:"dockerfile,omitempty"` // Defines if the image should be built during startup. // // Default value is `false` // +optional // +devfile:default:value=false AutoBuild *bool `json:"autoBuild,omitempty"` }
+union +devfile:getter:generate
func (*ImageUnion) DeepCopy ¶ added in v2.2.0
func (in *ImageUnion) DeepCopy() *ImageUnion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageUnion.
func (*ImageUnion) DeepCopyInto ¶ added in v2.2.0
func (in *ImageUnion) DeepCopyInto(out *ImageUnion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageUnion) GetAutoBuild ¶ added in v2.2.0
func (in *ImageUnion) GetAutoBuild() bool
GetAutoBuild returns the value of the boolean property. If unset, it's the default value specified in the devfile:default:value marker
func (*ImageUnion) Normalize ¶ added in v2.2.0
func (union *ImageUnion) Normalize() error
func (*ImageUnion) Simplify ¶ added in v2.2.0
func (union *ImageUnion) Simplify()
func (ImageUnion) Visit ¶ added in v2.2.0
func (union ImageUnion) Visit(visitor ImageUnionVisitor) error
type ImageUnionParentOverride ¶ added in v2.2.0
type ImageUnionParentOverride struct { // +kubebuilder:validation:Enum=Dockerfile;AutoBuild // Type of image // // +unionDiscriminator // +optional ImageType ImageTypeParentOverride `json:"imageType,omitempty"` // Allows specifying dockerfile type build // +optional Dockerfile *DockerfileImageParentOverride `json:"dockerfile,omitempty"` // Defines if the image should be built during startup. // // Default value is `false` // +optional AutoBuild *bool `json:"autoBuild,omitempty"` }
+union
func (*ImageUnionParentOverride) DeepCopy ¶ added in v2.2.0
func (in *ImageUnionParentOverride) DeepCopy() *ImageUnionParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageUnionParentOverride.
func (*ImageUnionParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *ImageUnionParentOverride) DeepCopyInto(out *ImageUnionParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageUnionParentOverride) Normalize ¶ added in v2.2.0
func (union *ImageUnionParentOverride) Normalize() error
func (*ImageUnionParentOverride) Simplify ¶ added in v2.2.0
func (union *ImageUnionParentOverride) Simplify()
func (ImageUnionParentOverride) Visit ¶ added in v2.2.0
func (union ImageUnionParentOverride) Visit(visitor ImageUnionParentOverrideVisitor) error
type ImageUnionParentOverrideVisitor ¶ added in v2.2.0
type ImageUnionParentOverrideVisitor struct { Dockerfile func(*DockerfileImageParentOverride) error AutoBuild func(*bool) error }
+k8s:deepcopy-gen=false
type ImageUnionPluginOverride ¶ added in v2.2.0
type ImageUnionPluginOverride struct { // +kubebuilder:validation:Enum=Dockerfile;AutoBuild // Type of image // // +unionDiscriminator // +optional ImageType ImageTypePluginOverride `json:"imageType,omitempty"` // Allows specifying dockerfile type build // +optional Dockerfile *DockerfileImagePluginOverride `json:"dockerfile,omitempty"` // Defines if the image should be built during startup. // // Default value is `false` // +optional AutoBuild *bool `json:"autoBuild,omitempty"` }
+union
func (*ImageUnionPluginOverride) DeepCopy ¶ added in v2.2.0
func (in *ImageUnionPluginOverride) DeepCopy() *ImageUnionPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageUnionPluginOverride.
func (*ImageUnionPluginOverride) DeepCopyInto ¶ added in v2.2.0
func (in *ImageUnionPluginOverride) DeepCopyInto(out *ImageUnionPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageUnionPluginOverride) Normalize ¶ added in v2.2.0
func (union *ImageUnionPluginOverride) Normalize() error
func (*ImageUnionPluginOverride) Simplify ¶ added in v2.2.0
func (union *ImageUnionPluginOverride) Simplify()
func (ImageUnionPluginOverride) Visit ¶ added in v2.2.0
func (union ImageUnionPluginOverride) Visit(visitor ImageUnionPluginOverrideVisitor) error
type ImageUnionPluginOverrideParentOverride ¶ added in v2.2.0
type ImageUnionPluginOverrideParentOverride struct { // +kubebuilder:validation:Enum=Dockerfile;AutoBuild // Type of image // // +unionDiscriminator // +optional ImageType ImageTypePluginOverrideParentOverride `json:"imageType,omitempty"` // Allows specifying dockerfile type build // +optional Dockerfile *DockerfileImagePluginOverrideParentOverride `json:"dockerfile,omitempty"` // Defines if the image should be built during startup. // // Default value is `false` // +optional AutoBuild *bool `json:"autoBuild,omitempty"` }
+union
func (*ImageUnionPluginOverrideParentOverride) DeepCopy ¶ added in v2.2.0
func (in *ImageUnionPluginOverrideParentOverride) DeepCopy() *ImageUnionPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageUnionPluginOverrideParentOverride.
func (*ImageUnionPluginOverrideParentOverride) DeepCopyInto ¶ added in v2.2.0
func (in *ImageUnionPluginOverrideParentOverride) DeepCopyInto(out *ImageUnionPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageUnionPluginOverrideParentOverride) Normalize ¶ added in v2.2.0
func (union *ImageUnionPluginOverrideParentOverride) Normalize() error
func (*ImageUnionPluginOverrideParentOverride) Simplify ¶ added in v2.2.0
func (union *ImageUnionPluginOverrideParentOverride) Simplify()
func (ImageUnionPluginOverrideParentOverride) Visit ¶ added in v2.2.0
func (union ImageUnionPluginOverrideParentOverride) Visit(visitor ImageUnionPluginOverrideParentOverrideVisitor) error
type ImageUnionPluginOverrideParentOverrideVisitor ¶ added in v2.2.0
type ImageUnionPluginOverrideParentOverrideVisitor struct { Dockerfile func(*DockerfileImagePluginOverrideParentOverride) error AutoBuild func(*bool) error }
+k8s:deepcopy-gen=false
type ImageUnionPluginOverrideVisitor ¶ added in v2.2.0
type ImageUnionPluginOverrideVisitor struct { Dockerfile func(*DockerfileImagePluginOverride) error AutoBuild func(*bool) error }
+k8s:deepcopy-gen=false
type ImageUnionVisitor ¶ added in v2.2.0
type ImageUnionVisitor struct { Dockerfile func(*DockerfileImage) error AutoBuild func(*bool) error }
+k8s:deepcopy-gen=false
type ImportReference ¶
type ImportReference struct { ImportReferenceUnion `json:",inline"` // Registry URL to pull the parent devfile from when using id in the parent reference. // To ensure the parent devfile gets resolved consistently in different environments, // it is recommended to always specify the `registryUrl` when `id` is used. // +optional RegistryUrl string `json:"registryUrl,omitempty"` // Specific stack/sample version to pull the parent devfile from, when using id in the parent reference. // To specify `version`, `id` must be defined and used as the import reference source. // `version` can be either a specific stack version, or `latest`. // If no `version` specified, default version will be used. // +optional // +kubebuilder:validation:Pattern=^(latest)|(([1-9])\.([0-9]+)\.([0-9]+)(\-[0-9a-z-]+(\.[0-9a-z-]+)*)?(\+[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?)$ Version string `json:"version,omitempty"` }
func (*ImportReference) DeepCopy ¶
func (in *ImportReference) DeepCopy() *ImportReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportReference.
func (*ImportReference) DeepCopyInto ¶
func (in *ImportReference) DeepCopyInto(out *ImportReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImportReferenceParentOverride ¶
type ImportReferenceParentOverride struct { ImportReferenceUnionParentOverride `json:",inline"` // Registry URL to pull the parent devfile from when using id in the parent reference. // To ensure the parent devfile gets resolved consistently in different environments, // it is recommended to always specify the `registryUrl` when `id` is used. // +optional RegistryUrl string `json:"registryUrl,omitempty"` // Specific stack/sample version to pull the parent devfile from, when using id in the parent reference. // To specify `version`, `id` must be defined and used as the import reference source. // `version` can be either a specific stack version, or `latest`. // If no `version` specified, default version will be used. // +optional // +kubebuilder:validation:Pattern=^(latest)|(([1-9])\.([0-9]+)\.([0-9]+)(\-[0-9a-z-]+(\.[0-9a-z-]+)*)?(\+[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?)$ Version string `json:"version,omitempty"` }
func (*ImportReferenceParentOverride) DeepCopy ¶
func (in *ImportReferenceParentOverride) DeepCopy() *ImportReferenceParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportReferenceParentOverride.
func (*ImportReferenceParentOverride) DeepCopyInto ¶
func (in *ImportReferenceParentOverride) DeepCopyInto(out *ImportReferenceParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImportReferenceType ¶
type ImportReferenceType string
ImportReferenceType describes the type of location from where the referenced template structure should be retrieved. Only one of the following parent locations may be specified. +kubebuilder:validation:Enum=Uri;Id;Kubernetes
const ( UriImportReferenceType ImportReferenceType = "Uri" IdImportReferenceType ImportReferenceType = "Id" KubernetesImportReferenceType ImportReferenceType = "Kubernetes" )
type ImportReferenceTypeParentOverride ¶
type ImportReferenceTypeParentOverride string
ImportReferenceType describes the type of location from where the referenced template structure should be retrieved. Only one of the following parent locations may be specified.
type ImportReferenceUnion ¶
type ImportReferenceUnion struct { // type of location from where the referenced template structure should be retrieved // + // +unionDiscriminator // +optional ImportReferenceType ImportReferenceType `json:"importReferenceType,omitempty"` // URI Reference of a parent devfile YAML file. // It can be a full URL or a relative URI with the current devfile as the base URI. // +optional Uri string `json:"uri,omitempty"` // Id in a registry that contains a Devfile yaml file // +optional Id string `json:"id,omitempty"` // Reference to a Kubernetes CRD of type DevWorkspaceTemplate // +optional Kubernetes *KubernetesCustomResourceImportReference `json:"kubernetes,omitempty"` }
Location from where the an import reference is retrieved +union
func (*ImportReferenceUnion) DeepCopy ¶
func (in *ImportReferenceUnion) DeepCopy() *ImportReferenceUnion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportReferenceUnion.
func (*ImportReferenceUnion) DeepCopyInto ¶
func (in *ImportReferenceUnion) DeepCopyInto(out *ImportReferenceUnion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImportReferenceUnion) Normalize ¶
func (union *ImportReferenceUnion) Normalize() error
func (*ImportReferenceUnion) Simplify ¶
func (union *ImportReferenceUnion) Simplify()
func (ImportReferenceUnion) Visit ¶
func (union ImportReferenceUnion) Visit(visitor ImportReferenceUnionVisitor) error
type ImportReferenceUnionParentOverride ¶
type ImportReferenceUnionParentOverride struct { // +kubebuilder:validation:Enum=Uri;Id;Kubernetes // type of location from where the referenced template structure should be retrieved // + // +unionDiscriminator // +optional ImportReferenceType ImportReferenceTypeParentOverride `json:"importReferenceType,omitempty"` // URI Reference of a parent devfile YAML file. // It can be a full URL or a relative URI with the current devfile as the base URI. // +optional Uri string `json:"uri,omitempty"` // Id in a registry that contains a Devfile yaml file // +optional Id string `json:"id,omitempty"` // Reference to a Kubernetes CRD of type DevWorkspaceTemplate // +optional Kubernetes *KubernetesCustomResourceImportReferenceParentOverride `json:"kubernetes,omitempty"` }
Location from where the an import reference is retrieved +union
func (*ImportReferenceUnionParentOverride) DeepCopy ¶
func (in *ImportReferenceUnionParentOverride) DeepCopy() *ImportReferenceUnionParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportReferenceUnionParentOverride.
func (*ImportReferenceUnionParentOverride) DeepCopyInto ¶
func (in *ImportReferenceUnionParentOverride) DeepCopyInto(out *ImportReferenceUnionParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImportReferenceUnionParentOverride) Normalize ¶
func (union *ImportReferenceUnionParentOverride) Normalize() error
func (*ImportReferenceUnionParentOverride) Simplify ¶
func (union *ImportReferenceUnionParentOverride) Simplify()
func (ImportReferenceUnionParentOverride) Visit ¶
func (union ImportReferenceUnionParentOverride) Visit(visitor ImportReferenceUnionParentOverrideVisitor) error
type ImportReferenceUnionParentOverrideVisitor ¶
type ImportReferenceUnionParentOverrideVisitor struct { Uri func(string) error Id func(string) error Kubernetes func(*KubernetesCustomResourceImportReferenceParentOverride) error }
+k8s:deepcopy-gen=false
type ImportReferenceUnionVisitor ¶
type ImportReferenceUnionVisitor struct { Uri func(string) error Id func(string) error Kubernetes func(*KubernetesCustomResourceImportReference) error }
+k8s:deepcopy-gen=false
type K8sLikeComponent ¶
type K8sLikeComponent struct { BaseComponent `json:",inline"` K8sLikeComponentLocation `json:",inline"` // Defines if the component should be deployed during startup. // // Default value is `false` // +optional // +devfile:default:value=false DeployByDefault *bool `json:"deployByDefault,omitempty"` Endpoints []Endpoint `json:"endpoints,omitempty" patchStrategy:"merge" patchMergeKey:"name"` }
+devfile:getter:generate
func (*K8sLikeComponent) DeepCopy ¶
func (in *K8sLikeComponent) DeepCopy() *K8sLikeComponent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8sLikeComponent.
func (*K8sLikeComponent) DeepCopyInto ¶
func (in *K8sLikeComponent) DeepCopyInto(out *K8sLikeComponent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*K8sLikeComponent) GetDeployByDefault ¶ added in v2.2.0
func (in *K8sLikeComponent) GetDeployByDefault() bool
GetDeployByDefault returns the value of the boolean property. If unset, it's the default value specified in the devfile:default:value marker
type K8sLikeComponentLocation ¶
type K8sLikeComponentLocation struct { // Type of Kubernetes-like location // + // +unionDiscriminator // +optional LocationType K8sLikeComponentLocationType `json:"locationType,omitempty"` // Location in a file fetched from a uri. // +optional Uri string `json:"uri,omitempty"` // Inlined manifest // +optional Inlined string `json:"inlined,omitempty"` }
+union
func (*K8sLikeComponentLocation) DeepCopy ¶
func (in *K8sLikeComponentLocation) DeepCopy() *K8sLikeComponentLocation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8sLikeComponentLocation.
func (*K8sLikeComponentLocation) DeepCopyInto ¶
func (in *K8sLikeComponentLocation) DeepCopyInto(out *K8sLikeComponentLocation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*K8sLikeComponentLocation) Normalize ¶
func (union *K8sLikeComponentLocation) Normalize() error
func (*K8sLikeComponentLocation) Simplify ¶
func (union *K8sLikeComponentLocation) Simplify()
func (K8sLikeComponentLocation) Visit ¶
func (union K8sLikeComponentLocation) Visit(visitor K8sLikeComponentLocationVisitor) error
type K8sLikeComponentLocationParentOverride ¶
type K8sLikeComponentLocationParentOverride struct { // +kubebuilder:validation:Enum=Uri;Inlined // Type of Kubernetes-like location // + // +unionDiscriminator // +optional LocationType K8sLikeComponentLocationTypeParentOverride `json:"locationType,omitempty"` // Location in a file fetched from a uri. // +optional Uri string `json:"uri,omitempty"` // Inlined manifest // +optional Inlined string `json:"inlined,omitempty"` }
+union
func (*K8sLikeComponentLocationParentOverride) DeepCopy ¶
func (in *K8sLikeComponentLocationParentOverride) DeepCopy() *K8sLikeComponentLocationParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8sLikeComponentLocationParentOverride.
func (*K8sLikeComponentLocationParentOverride) DeepCopyInto ¶
func (in *K8sLikeComponentLocationParentOverride) DeepCopyInto(out *K8sLikeComponentLocationParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*K8sLikeComponentLocationParentOverride) Normalize ¶
func (union *K8sLikeComponentLocationParentOverride) Normalize() error
func (*K8sLikeComponentLocationParentOverride) Simplify ¶
func (union *K8sLikeComponentLocationParentOverride) Simplify()
func (K8sLikeComponentLocationParentOverride) Visit ¶
func (union K8sLikeComponentLocationParentOverride) Visit(visitor K8sLikeComponentLocationParentOverrideVisitor) error
type K8sLikeComponentLocationParentOverrideVisitor ¶
type K8sLikeComponentLocationParentOverrideVisitor struct { Uri func(string) error Inlined func(string) error }
+k8s:deepcopy-gen=false
type K8sLikeComponentLocationPluginOverride ¶
type K8sLikeComponentLocationPluginOverride struct { // +kubebuilder:validation:Enum=Uri;Inlined // Type of Kubernetes-like location // + // +unionDiscriminator // +optional LocationType K8sLikeComponentLocationTypePluginOverride `json:"locationType,omitempty"` // Location in a file fetched from a uri. // +optional Uri string `json:"uri,omitempty"` // Inlined manifest // +optional Inlined string `json:"inlined,omitempty"` }
+union
func (*K8sLikeComponentLocationPluginOverride) DeepCopy ¶
func (in *K8sLikeComponentLocationPluginOverride) DeepCopy() *K8sLikeComponentLocationPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8sLikeComponentLocationPluginOverride.
func (*K8sLikeComponentLocationPluginOverride) DeepCopyInto ¶
func (in *K8sLikeComponentLocationPluginOverride) DeepCopyInto(out *K8sLikeComponentLocationPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*K8sLikeComponentLocationPluginOverride) Normalize ¶
func (union *K8sLikeComponentLocationPluginOverride) Normalize() error
func (*K8sLikeComponentLocationPluginOverride) Simplify ¶
func (union *K8sLikeComponentLocationPluginOverride) Simplify()
func (K8sLikeComponentLocationPluginOverride) Visit ¶
func (union K8sLikeComponentLocationPluginOverride) Visit(visitor K8sLikeComponentLocationPluginOverrideVisitor) error
type K8sLikeComponentLocationPluginOverrideParentOverride ¶
type K8sLikeComponentLocationPluginOverrideParentOverride struct { // +kubebuilder:validation:Enum=Uri;Inlined // Type of Kubernetes-like location // + // +unionDiscriminator // +optional LocationType K8sLikeComponentLocationTypePluginOverrideParentOverride `json:"locationType,omitempty"` // Location in a file fetched from a uri. // +optional Uri string `json:"uri,omitempty"` // Inlined manifest // +optional Inlined string `json:"inlined,omitempty"` }
+union
func (*K8sLikeComponentLocationPluginOverrideParentOverride) DeepCopy ¶
func (in *K8sLikeComponentLocationPluginOverrideParentOverride) DeepCopy() *K8sLikeComponentLocationPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8sLikeComponentLocationPluginOverrideParentOverride.
func (*K8sLikeComponentLocationPluginOverrideParentOverride) DeepCopyInto ¶
func (in *K8sLikeComponentLocationPluginOverrideParentOverride) DeepCopyInto(out *K8sLikeComponentLocationPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*K8sLikeComponentLocationPluginOverrideParentOverride) Normalize ¶
func (union *K8sLikeComponentLocationPluginOverrideParentOverride) Normalize() error
func (*K8sLikeComponentLocationPluginOverrideParentOverride) Simplify ¶
func (union *K8sLikeComponentLocationPluginOverrideParentOverride) Simplify()
func (K8sLikeComponentLocationPluginOverrideParentOverride) Visit ¶
func (union K8sLikeComponentLocationPluginOverrideParentOverride) Visit(visitor K8sLikeComponentLocationPluginOverrideParentOverrideVisitor) error
type K8sLikeComponentLocationPluginOverrideParentOverrideVisitor ¶
type K8sLikeComponentLocationPluginOverrideParentOverrideVisitor struct { Uri func(string) error Inlined func(string) error }
+k8s:deepcopy-gen=false
type K8sLikeComponentLocationPluginOverrideVisitor ¶
type K8sLikeComponentLocationPluginOverrideVisitor struct { Uri func(string) error Inlined func(string) error }
+k8s:deepcopy-gen=false
type K8sLikeComponentLocationType ¶
type K8sLikeComponentLocationType string
K8sLikeComponentLocationType describes the type of the location the configuration is fetched from. Only one of the following component type may be specified. +kubebuilder:validation:Enum=Uri;Inlined
const ( UriK8sLikeComponentLocationType K8sLikeComponentLocationType = "Uri" InlinedK8sLikeComponentLocationType K8sLikeComponentLocationType = "Inlined" )
type K8sLikeComponentLocationTypeParentOverride ¶
type K8sLikeComponentLocationTypeParentOverride string
K8sLikeComponentLocationType describes the type of the location the configuration is fetched from. Only one of the following component type may be specified.
type K8sLikeComponentLocationTypePluginOverride ¶
type K8sLikeComponentLocationTypePluginOverride string
K8sLikeComponentLocationType describes the type of the location the configuration is fetched from. Only one of the following component type may be specified.
type K8sLikeComponentLocationTypePluginOverrideParentOverride ¶
type K8sLikeComponentLocationTypePluginOverrideParentOverride string
K8sLikeComponentLocationType describes the type of the location the configuration is fetched from. Only one of the following component type may be specified.
type K8sLikeComponentLocationVisitor ¶
+k8s:deepcopy-gen=false
type K8sLikeComponentParentOverride ¶
type K8sLikeComponentParentOverride struct { BaseComponentParentOverride `json:",inline"` K8sLikeComponentLocationParentOverride `json:",inline"` // Defines if the component should be deployed during startup. // // Default value is `false` // +optional DeployByDefault *bool `json:"deployByDefault,omitempty"` Endpoints []EndpointParentOverride `json:"endpoints,omitempty" patchStrategy:"merge" patchMergeKey:"name"` }
func (*K8sLikeComponentParentOverride) DeepCopy ¶
func (in *K8sLikeComponentParentOverride) DeepCopy() *K8sLikeComponentParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8sLikeComponentParentOverride.
func (*K8sLikeComponentParentOverride) DeepCopyInto ¶
func (in *K8sLikeComponentParentOverride) DeepCopyInto(out *K8sLikeComponentParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type K8sLikeComponentPluginOverride ¶
type K8sLikeComponentPluginOverride struct { BaseComponentPluginOverride `json:",inline"` K8sLikeComponentLocationPluginOverride `json:",inline"` // Defines if the component should be deployed during startup. // // Default value is `false` // +optional DeployByDefault *bool `json:"deployByDefault,omitempty"` Endpoints []EndpointPluginOverride `json:"endpoints,omitempty" patchStrategy:"merge" patchMergeKey:"name"` }
func (*K8sLikeComponentPluginOverride) DeepCopy ¶
func (in *K8sLikeComponentPluginOverride) DeepCopy() *K8sLikeComponentPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8sLikeComponentPluginOverride.
func (*K8sLikeComponentPluginOverride) DeepCopyInto ¶
func (in *K8sLikeComponentPluginOverride) DeepCopyInto(out *K8sLikeComponentPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type K8sLikeComponentPluginOverrideParentOverride ¶
type K8sLikeComponentPluginOverrideParentOverride struct { BaseComponentPluginOverrideParentOverride `json:",inline"` K8sLikeComponentLocationPluginOverrideParentOverride `json:",inline"` // Defines if the component should be deployed during startup. // // Default value is `false` // +optional DeployByDefault *bool `json:"deployByDefault,omitempty"` Endpoints []EndpointPluginOverrideParentOverride `json:"endpoints,omitempty" patchStrategy:"merge" patchMergeKey:"name"` }
func (*K8sLikeComponentPluginOverrideParentOverride) DeepCopy ¶
func (in *K8sLikeComponentPluginOverrideParentOverride) DeepCopy() *K8sLikeComponentPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8sLikeComponentPluginOverrideParentOverride.
func (*K8sLikeComponentPluginOverrideParentOverride) DeepCopyInto ¶
func (in *K8sLikeComponentPluginOverrideParentOverride) DeepCopyInto(out *K8sLikeComponentPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Keyed ¶
type Keyed interface { // Key is a string that allows uniquely identifying the object, // especially in the Devfile top-level lists that are map-like K8S-compatible lists. Key() string }
Keyed is expected to be implemented by the elements of the devfile top-level lists (such as Command, Component, Project, ...).
The Keys of list objects will typically be used to merge the top-level lists according to strategic merge patch rules, during parent or plugin overriding. +k8s:deepcopy-gen=false
type KeyedList ¶
type KeyedList []Keyed
KeyedList is a list of object that are uniquely identified by a Key The devfile top-level list (such as Commands, Components, Projects, ...) are examples of such lists of Keyed objects +k8s:deepcopy-gen=false
type KubernetesComponent ¶
type KubernetesComponent struct {
K8sLikeComponent `json:",inline"`
}
Component that allows partly importing Kubernetes resources into the devworkspace POD
func (*KubernetesComponent) DeepCopy ¶
func (in *KubernetesComponent) DeepCopy() *KubernetesComponent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesComponent.
func (*KubernetesComponent) DeepCopyInto ¶
func (in *KubernetesComponent) DeepCopyInto(out *KubernetesComponent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesComponentParentOverride ¶
type KubernetesComponentParentOverride struct {
K8sLikeComponentParentOverride `json:",inline"`
}
Component that allows partly importing Kubernetes resources into the devworkspace POD
func (*KubernetesComponentParentOverride) DeepCopy ¶
func (in *KubernetesComponentParentOverride) DeepCopy() *KubernetesComponentParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesComponentParentOverride.
func (*KubernetesComponentParentOverride) DeepCopyInto ¶
func (in *KubernetesComponentParentOverride) DeepCopyInto(out *KubernetesComponentParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesComponentPluginOverride ¶
type KubernetesComponentPluginOverride struct {
K8sLikeComponentPluginOverride `json:",inline"`
}
Component that allows partly importing Kubernetes resources into the devworkspace POD
func (*KubernetesComponentPluginOverride) DeepCopy ¶
func (in *KubernetesComponentPluginOverride) DeepCopy() *KubernetesComponentPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesComponentPluginOverride.
func (*KubernetesComponentPluginOverride) DeepCopyInto ¶
func (in *KubernetesComponentPluginOverride) DeepCopyInto(out *KubernetesComponentPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesComponentPluginOverrideParentOverride ¶
type KubernetesComponentPluginOverrideParentOverride struct {
K8sLikeComponentPluginOverrideParentOverride `json:",inline"`
}
Component that allows partly importing Kubernetes resources into the devworkspace POD
func (*KubernetesComponentPluginOverrideParentOverride) DeepCopy ¶
func (in *KubernetesComponentPluginOverrideParentOverride) DeepCopy() *KubernetesComponentPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesComponentPluginOverrideParentOverride.
func (*KubernetesComponentPluginOverrideParentOverride) DeepCopyInto ¶
func (in *KubernetesComponentPluginOverrideParentOverride) DeepCopyInto(out *KubernetesComponentPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesCustomResourceImportReference ¶
type KubernetesCustomResourceImportReference struct { Name string `json:"name"` // +optional Namespace string `json:"namespace,omitempty"` }
func (*KubernetesCustomResourceImportReference) DeepCopy ¶
func (in *KubernetesCustomResourceImportReference) DeepCopy() *KubernetesCustomResourceImportReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesCustomResourceImportReference.
func (*KubernetesCustomResourceImportReference) DeepCopyInto ¶
func (in *KubernetesCustomResourceImportReference) DeepCopyInto(out *KubernetesCustomResourceImportReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesCustomResourceImportReferenceParentOverride ¶
type KubernetesCustomResourceImportReferenceParentOverride struct { // +optional Name string `json:"name,omitempty"` // +optional Namespace string `json:"namespace,omitempty"` }
func (*KubernetesCustomResourceImportReferenceParentOverride) DeepCopy ¶
func (in *KubernetesCustomResourceImportReferenceParentOverride) DeepCopy() *KubernetesCustomResourceImportReferenceParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesCustomResourceImportReferenceParentOverride.
func (*KubernetesCustomResourceImportReferenceParentOverride) DeepCopyInto ¶
func (in *KubernetesCustomResourceImportReferenceParentOverride) DeepCopyInto(out *KubernetesCustomResourceImportReferenceParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LabeledCommand ¶
type LabeledCommand struct { BaseCommand `json:",inline"` // +optional // Optional label that provides a label for this command // to be used in Editor UI menus for example Label string `json:"label,omitempty"` }
func (*LabeledCommand) DeepCopy ¶
func (in *LabeledCommand) DeepCopy() *LabeledCommand
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabeledCommand.
func (*LabeledCommand) DeepCopyInto ¶
func (in *LabeledCommand) DeepCopyInto(out *LabeledCommand)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LabeledCommandParentOverride ¶
type LabeledCommandParentOverride struct { BaseCommandParentOverride `json:",inline"` // +optional // Optional label that provides a label for this command // to be used in Editor UI menus for example Label string `json:"label,omitempty"` }
func (*LabeledCommandParentOverride) DeepCopy ¶
func (in *LabeledCommandParentOverride) DeepCopy() *LabeledCommandParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabeledCommandParentOverride.
func (*LabeledCommandParentOverride) DeepCopyInto ¶
func (in *LabeledCommandParentOverride) DeepCopyInto(out *LabeledCommandParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LabeledCommandPluginOverride ¶
type LabeledCommandPluginOverride struct { BaseCommandPluginOverride `json:",inline"` // +optional // Optional label that provides a label for this command // to be used in Editor UI menus for example Label string `json:"label,omitempty"` }
func (*LabeledCommandPluginOverride) DeepCopy ¶
func (in *LabeledCommandPluginOverride) DeepCopy() *LabeledCommandPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabeledCommandPluginOverride.
func (*LabeledCommandPluginOverride) DeepCopyInto ¶
func (in *LabeledCommandPluginOverride) DeepCopyInto(out *LabeledCommandPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LabeledCommandPluginOverrideParentOverride ¶
type LabeledCommandPluginOverrideParentOverride struct { BaseCommandPluginOverrideParentOverride `json:",inline"` // +optional // Optional label that provides a label for this command // to be used in Editor UI menus for example Label string `json:"label,omitempty"` }
func (*LabeledCommandPluginOverrideParentOverride) DeepCopy ¶
func (in *LabeledCommandPluginOverrideParentOverride) DeepCopy() *LabeledCommandPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabeledCommandPluginOverrideParentOverride.
func (*LabeledCommandPluginOverrideParentOverride) DeepCopyInto ¶
func (in *LabeledCommandPluginOverrideParentOverride) DeepCopyInto(out *LabeledCommandPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenshiftComponent ¶
type OpenshiftComponent struct {
K8sLikeComponent `json:",inline"`
}
Component that allows partly importing Openshift resources into the devworkspace POD
func (*OpenshiftComponent) DeepCopy ¶
func (in *OpenshiftComponent) DeepCopy() *OpenshiftComponent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenshiftComponent.
func (*OpenshiftComponent) DeepCopyInto ¶
func (in *OpenshiftComponent) DeepCopyInto(out *OpenshiftComponent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenshiftComponentParentOverride ¶
type OpenshiftComponentParentOverride struct {
K8sLikeComponentParentOverride `json:",inline"`
}
Component that allows partly importing Openshift resources into the devworkspace POD
func (*OpenshiftComponentParentOverride) DeepCopy ¶
func (in *OpenshiftComponentParentOverride) DeepCopy() *OpenshiftComponentParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenshiftComponentParentOverride.
func (*OpenshiftComponentParentOverride) DeepCopyInto ¶
func (in *OpenshiftComponentParentOverride) DeepCopyInto(out *OpenshiftComponentParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenshiftComponentPluginOverride ¶
type OpenshiftComponentPluginOverride struct {
K8sLikeComponentPluginOverride `json:",inline"`
}
Component that allows partly importing Openshift resources into the devworkspace POD
func (*OpenshiftComponentPluginOverride) DeepCopy ¶
func (in *OpenshiftComponentPluginOverride) DeepCopy() *OpenshiftComponentPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenshiftComponentPluginOverride.
func (*OpenshiftComponentPluginOverride) DeepCopyInto ¶
func (in *OpenshiftComponentPluginOverride) DeepCopyInto(out *OpenshiftComponentPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenshiftComponentPluginOverrideParentOverride ¶
type OpenshiftComponentPluginOverrideParentOverride struct {
K8sLikeComponentPluginOverrideParentOverride `json:",inline"`
}
Component that allows partly importing Openshift resources into the devworkspace POD
func (*OpenshiftComponentPluginOverrideParentOverride) DeepCopy ¶
func (in *OpenshiftComponentPluginOverrideParentOverride) DeepCopy() *OpenshiftComponentPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenshiftComponentPluginOverrideParentOverride.
func (*OpenshiftComponentPluginOverrideParentOverride) DeepCopyInto ¶
func (in *OpenshiftComponentPluginOverrideParentOverride) DeepCopyInto(out *OpenshiftComponentPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverrideDirective ¶
type OverrideDirective struct { // Path of the element the directive should be applied on // // For the following path tree: // // “`json // commands: // - exec // id: commandId // “` // // the path would be: `commands["commandId"]`. Path string `json:"path"` // `$Patch` directlive as defined in // https://github.com/kubernetes/community/blob/master/contributors/devel/sig-api-machinery/strategic-merge-patch.md#basic-patch-format // // This is an enumeration that allows the following values: // // - *replace*: indicates that the element matched by the `jsonPath` field should be replaced instead of being merged. // // - *delete*: indicates that the element matched by the `jsonPath` field should be deleted. // // +optional Patch OverridingPatchDirective `json:"patch,omitempty"` // `DeleteFromPrimitiveList` directive as defined in // https://github.com/kubernetes/community/blob/master/contributors/devel/sig-api-machinery/strategic-merge-patch.md#deletefromprimitivelist-directive // // This indicates that the elements in this list should be deleted from the original primitive list. // The original primitive list is the element matched by the `jsonPath` field. // +optional DeleteFromPrimitiveList []string `json:"deleteFromPrimitiveList,omitempty"` // `SetElementOrder` directive as defined in // https://github.com/kubernetes/community/blob/master/contributors/devel/sig-api-machinery/strategic-merge-patch.md#deletefromprimitivelist-directive // // This provides a way to specify the order of a list. The relative order specified in this directive will be retained. // The list whose order is controller is the element matched by the `jsonPath` field. // If the controller list is a list of objects, then the values in this list should be // the merge keys of the objects to order. // +optional SetElementOrder []string `json:"setElementOrder,omitempty"` }
func (*OverrideDirective) DeepCopy ¶
func (in *OverrideDirective) DeepCopy() *OverrideDirective
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverrideDirective.
func (*OverrideDirective) DeepCopyInto ¶
func (in *OverrideDirective) DeepCopyInto(out *OverrideDirective)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Overrides ¶
type Overrides interface { TopLevelListContainer // contains filtered or unexported methods }
+k8s:deepcopy-gen=false
type OverridesBase ¶
type OverridesBase struct{}
OverridesBase is used in the Overrides generator in order to provide a common base for the generated Overrides So please be careful when renaming
func (*OverridesBase) DeepCopy ¶
func (in *OverridesBase) DeepCopy() *OverridesBase
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesBase.
func (*OverridesBase) DeepCopyInto ¶
func (in *OverridesBase) DeepCopyInto(out *OverridesBase)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridesBaseParentOverride ¶
type OverridesBaseParentOverride struct{}
OverridesBase is used in the Overrides generator in order to provide a common base for the generated Overrides So please be careful when renaming
func (*OverridesBaseParentOverride) DeepCopy ¶
func (in *OverridesBaseParentOverride) DeepCopy() *OverridesBaseParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridesBaseParentOverride.
func (*OverridesBaseParentOverride) DeepCopyInto ¶
func (in *OverridesBaseParentOverride) DeepCopyInto(out *OverridesBaseParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OverridingPatchDirective ¶
type OverridingPatchDirective string
+kubebuilder:validation:Enum=replace;delete
const ( ReplaceOverridingDirective OverridingPatchDirective = "replace" DeleteOverridingDirective OverridingPatchDirective = "delete" )
const (
DeleteFromPrimitiveListOverridingPatchDirective OverridingPatchDirective = "replace"
)
type Parent ¶
type Parent struct { ImportReference `json:",inline"` ParentOverrides `json:",inline"` }
func (*Parent) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parent.
func (*Parent) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ParentOverrides ¶
type ParentOverrides struct { OverridesBase `json:",inline"` // Overrides of variables encapsulated in a parent devfile. // Overriding is done according to K8S strategic merge patch standard rules. // +optional // +patchStrategy=merge Variables map[string]string `json:"variables,omitempty" patchStrategy:"merge"` // Overrides of attributes encapsulated in a parent devfile. // Overriding is done according to K8S strategic merge patch standard rules. // +optional // +patchStrategy=merge // +kubebuilder:validation:Type=object // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Attributes attributes.Attributes `json:"attributes,omitempty" patchStrategy:"merge"` // Overrides of components encapsulated in a parent devfile or a plugin. // Overriding is done according to K8S strategic merge patch standard rules. // +optional // +patchMergeKey=name // +patchStrategy=merge // +devfile:toplevellist Components []ComponentParentOverride `json:"components,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // Overrides of projects encapsulated in a parent devfile. // Overriding is done according to K8S strategic merge patch standard rules. // +optional // +patchMergeKey=name // +patchStrategy=merge // +devfile:toplevellist Projects []ProjectParentOverride `json:"projects,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // Overrides of starterProjects encapsulated in a parent devfile. // Overriding is done according to K8S strategic merge patch standard rules. // +optional // +patchMergeKey=name // +patchStrategy=merge // +devfile:toplevellist StarterProjects []StarterProjectParentOverride `json:"starterProjects,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // Overrides of dependentProjects encapsulated in a parent devfile. // Overriding is done according to K8S strategic merge patch standard rules. // +optional // +patchMergeKey=name // +patchStrategy=merge // +devfile:toplevellist DependentProjects []ProjectParentOverride `json:"dependentProjects,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // Overrides of commands encapsulated in a parent devfile or a plugin. // Overriding is done according to K8S strategic merge patch standard rules. // +optional // +patchMergeKey=id // +patchStrategy=merge // +devfile:toplevellist Commands []CommandParentOverride `json:"commands,omitempty" patchStrategy:"merge" patchMergeKey:"id"` }
+devfile:jsonschema:generate
func (*ParentOverrides) DeepCopy ¶
func (in *ParentOverrides) DeepCopy() *ParentOverrides
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParentOverrides.
func (*ParentOverrides) DeepCopyInto ¶
func (in *ParentOverrides) DeepCopyInto(out *ParentOverrides)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ParentOverrides) GetToplevelLists ¶
func (container ParentOverrides) GetToplevelLists() TopLevelLists
type PluginComponent ¶
type PluginComponent struct { BaseComponent `json:",inline"` ImportReference `json:",inline"` PluginOverrides `json:",inline"` }
func (*PluginComponent) DeepCopy ¶
func (in *PluginComponent) DeepCopy() *PluginComponent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginComponent.
func (*PluginComponent) DeepCopyInto ¶
func (in *PluginComponent) DeepCopyInto(out *PluginComponent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PluginComponentParentOverride ¶
type PluginComponentParentOverride struct { BaseComponentParentOverride `json:",inline"` ImportReferenceParentOverride `json:",inline"` PluginOverridesParentOverride `json:",inline"` }
func (*PluginComponentParentOverride) DeepCopy ¶
func (in *PluginComponentParentOverride) DeepCopy() *PluginComponentParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginComponentParentOverride.
func (*PluginComponentParentOverride) DeepCopyInto ¶
func (in *PluginComponentParentOverride) DeepCopyInto(out *PluginComponentParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PluginOverrides ¶
type PluginOverrides struct { OverridesBase `json:",inline"` // Overrides of components encapsulated in a parent devfile or a plugin. // Overriding is done according to K8S strategic merge patch standard rules. // +optional // +patchMergeKey=name // +patchStrategy=merge // +devfile:toplevellist Components []ComponentPluginOverride `json:"components,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // Overrides of commands encapsulated in a parent devfile or a plugin. // Overriding is done according to K8S strategic merge patch standard rules. // +optional // +patchMergeKey=id // +patchStrategy=merge // +devfile:toplevellist Commands []CommandPluginOverride `json:"commands,omitempty" patchStrategy:"merge" patchMergeKey:"id"` }
+devfile:jsonschema:generate
func (*PluginOverrides) DeepCopy ¶
func (in *PluginOverrides) DeepCopy() *PluginOverrides
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginOverrides.
func (*PluginOverrides) DeepCopyInto ¶
func (in *PluginOverrides) DeepCopyInto(out *PluginOverrides)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (PluginOverrides) GetToplevelLists ¶
func (container PluginOverrides) GetToplevelLists() TopLevelLists
type PluginOverridesParentOverride ¶
type PluginOverridesParentOverride struct { OverridesBaseParentOverride `json:",inline"` // Overrides of components encapsulated in a parent devfile or a plugin. // Overriding is done according to K8S strategic merge patch standard rules. // +optional // +patchMergeKey=name // +patchStrategy=merge // +devfile:toplevellist Components []ComponentPluginOverrideParentOverride `json:"components,omitempty" patchStrategy:"merge" patchMergeKey:"name"` // Overrides of commands encapsulated in a parent devfile or a plugin. // Overriding is done according to K8S strategic merge patch standard rules. // +optional // +patchMergeKey=id // +patchStrategy=merge // +devfile:toplevellist Commands []CommandPluginOverrideParentOverride `json:"commands,omitempty" patchStrategy:"merge" patchMergeKey:"id"` }
func (*PluginOverridesParentOverride) DeepCopy ¶
func (in *PluginOverridesParentOverride) DeepCopy() *PluginOverridesParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginOverridesParentOverride.
func (*PluginOverridesParentOverride) DeepCopyInto ¶
func (in *PluginOverridesParentOverride) DeepCopyInto(out *PluginOverridesParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (PluginOverridesParentOverride) GetToplevelLists ¶
func (container PluginOverridesParentOverride) GetToplevelLists() TopLevelLists
type Project ¶
type Project struct { // Project name // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Name string `json:"name"` // Map of implementation-dependant free-form YAML attributes. // +optional // +kubebuilder:validation:Type=object // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Attributes attributes.Attributes `json:"attributes,omitempty"` // Path relative to the root of the projects to which this project should be cloned into. This is a unix-style relative path (i.e. uses forward slashes). The path is invalid if it is absolute or tries to escape the project root through the usage of '..'. If not specified, defaults to the project name. // +optional ClonePath string `json:"clonePath,omitempty"` ProjectSource `json:",inline"` }
func (*Project) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Project.
func (*Project) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectParentOverride ¶
type ProjectParentOverride struct { // Project name // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Name string `json:"name"` // Map of implementation-dependant free-form YAML attributes. // +optional // +kubebuilder:validation:Type=object // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Attributes attributes.Attributes `json:"attributes,omitempty"` // Path relative to the root of the projects to which this project should be cloned into. This is a unix-style relative path (i.e. uses forward slashes). The path is invalid if it is absolute or tries to escape the project root through the usage of '..'. If not specified, defaults to the project name. // +optional ClonePath string `json:"clonePath,omitempty"` ProjectSourceParentOverride `json:",inline"` }
func (*ProjectParentOverride) DeepCopy ¶
func (in *ProjectParentOverride) DeepCopy() *ProjectParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectParentOverride.
func (*ProjectParentOverride) DeepCopyInto ¶
func (in *ProjectParentOverride) DeepCopyInto(out *ProjectParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ProjectParentOverride) Key ¶
func (keyed ProjectParentOverride) Key() string
type ProjectSource ¶
type ProjectSource struct { // Type of project source // + // +unionDiscriminator // +optional SourceType ProjectSourceType `json:"sourceType,omitempty"` // Project's Git source // +optional Git *GitProjectSource `json:"git,omitempty"` // Project's Zip source // +optional Zip *ZipProjectSource `json:"zip,omitempty"` // Project's Custom source // +optional // +devfile:overrides:include:omit=true Custom *CustomProjectSource `json:"custom,omitempty"` }
+union
func (*ProjectSource) DeepCopy ¶
func (in *ProjectSource) DeepCopy() *ProjectSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSource.
func (*ProjectSource) DeepCopyInto ¶
func (in *ProjectSource) DeepCopyInto(out *ProjectSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectSource) Normalize ¶
func (union *ProjectSource) Normalize() error
func (*ProjectSource) Simplify ¶
func (union *ProjectSource) Simplify()
func (ProjectSource) Visit ¶
func (union ProjectSource) Visit(visitor ProjectSourceVisitor) error
type ProjectSourceParentOverride ¶
type ProjectSourceParentOverride struct { // +kubebuilder:validation:Enum=Git;Zip // Type of project source // + // +unionDiscriminator // +optional SourceType ProjectSourceTypeParentOverride `json:"sourceType,omitempty"` // Project's Git source // +optional Git *GitProjectSourceParentOverride `json:"git,omitempty"` // Project's Zip source // +optional Zip *ZipProjectSourceParentOverride `json:"zip,omitempty"` }
+union
func (*ProjectSourceParentOverride) DeepCopy ¶
func (in *ProjectSourceParentOverride) DeepCopy() *ProjectSourceParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSourceParentOverride.
func (*ProjectSourceParentOverride) DeepCopyInto ¶
func (in *ProjectSourceParentOverride) DeepCopyInto(out *ProjectSourceParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectSourceParentOverride) Normalize ¶
func (union *ProjectSourceParentOverride) Normalize() error
func (*ProjectSourceParentOverride) Simplify ¶
func (union *ProjectSourceParentOverride) Simplify()
func (ProjectSourceParentOverride) Visit ¶
func (union ProjectSourceParentOverride) Visit(visitor ProjectSourceParentOverrideVisitor) error
type ProjectSourceParentOverrideVisitor ¶
type ProjectSourceParentOverrideVisitor struct { Git func(*GitProjectSourceParentOverride) error Zip func(*ZipProjectSourceParentOverride) error }
+k8s:deepcopy-gen=false
type ProjectSourceType ¶
type ProjectSourceType string
ProjectSourceType describes the type of Project sources. Only one of the following project sources may be specified. If none of the following policies is specified, the default one is AllowConcurrent. +kubebuilder:validation:Enum=Git;Zip;Custom
const ( GitProjectSourceType ProjectSourceType = "Git" ZipProjectSourceType ProjectSourceType = "Zip" CustomProjectSourceType ProjectSourceType = "Custom" )
type ProjectSourceTypeParentOverride ¶
type ProjectSourceTypeParentOverride string
ProjectSourceType describes the type of Project sources. Only one of the following project sources may be specified. If none of the following policies is specified, the default one is AllowConcurrent.
type ProjectSourceVisitor ¶
type ProjectSourceVisitor struct { Git func(*GitProjectSource) error Zip func(*ZipProjectSource) error Custom func(*CustomProjectSource) error }
+k8s:deepcopy-gen=false
type StarterProject ¶
type StarterProject struct { // Project name // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Name string `json:"name"` // Map of implementation-dependant free-form YAML attributes. // +optional // +kubebuilder:validation:Type=object // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Attributes attributes.Attributes `json:"attributes,omitempty"` // Description of a starter project // +optional Description string `json:"description,omitempty"` // Sub-directory from a starter project to be used as root for starter project. // +optional SubDir string `json:"subDir,omitempty"` ProjectSource `json:",inline"` }
func (*StarterProject) DeepCopy ¶
func (in *StarterProject) DeepCopy() *StarterProject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StarterProject.
func (*StarterProject) DeepCopyInto ¶
func (in *StarterProject) DeepCopyInto(out *StarterProject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (StarterProject) Key ¶
func (keyed StarterProject) Key() string
type StarterProjectParentOverride ¶
type StarterProjectParentOverride struct { // Project name // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Name string `json:"name"` // Map of implementation-dependant free-form YAML attributes. // +optional // +kubebuilder:validation:Type=object // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Attributes attributes.Attributes `json:"attributes,omitempty"` // Description of a starter project // +optional Description string `json:"description,omitempty"` // Sub-directory from a starter project to be used as root for starter project. // +optional SubDir string `json:"subDir,omitempty"` ProjectSourceParentOverride `json:",inline"` }
func (*StarterProjectParentOverride) DeepCopy ¶
func (in *StarterProjectParentOverride) DeepCopy() *StarterProjectParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StarterProjectParentOverride.
func (*StarterProjectParentOverride) DeepCopyInto ¶
func (in *StarterProjectParentOverride) DeepCopyInto(out *StarterProjectParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (StarterProjectParentOverride) Key ¶
func (keyed StarterProjectParentOverride) Key() string
type TopLevelListContainer ¶
type TopLevelListContainer interface {
GetToplevelLists() TopLevelLists
}
TopLevelListContainer is an interface that allows retrieving the devfile top-level lists from an object. Main implementor of this interface will be the `DevWorkspaceTemplateSpecContent`, which will return all its devfile top-level lists.
But this will also be implemented by `Overrides` which may return less top-level lists the `DevWorkspaceTemplateSpecContent`, according to the top-level lists they can override. `PluginOverride` will not return the `Projects` and `StarterProjects` list, since plugins are not expected to override `projects` or `starterProjects` +k8s:deepcopy-gen=false
type TopLevelLists ¶
TopLevelLists is a map that contains several Devfile top-level lists (such as `Commands`, `Components`, `Projects`, ...), available as `KeyedList`s.
Each key of this map is the name of the field that contains the given top-level list: `Commands`, `Components`, etc... +k8s:deepcopy-gen=false
type Union ¶
type Union interface { // Normalize allows normalizing the union, according to the following rules: // - When only one field of the union is set and no discriminator is set, set the discriminator according to the union value. // - When several fields are set and a discrimnator is set, remove (== reset to zero value) all the values that do not match the discriminator. // - When only one union value is set and it matches discriminator, just do nothing. // - In other case, something is inconsistent or ambiguous: an error is thrown. Normalize() error // Simplify allows removing the union discriminator, // but only after normalizing it if necessary. Simplify() // contains filtered or unexported methods }
Union is an interface that allows managing structs defined as Kubernetes unions with discriminators, according to the following KEP: https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/20190325-unions.md
type Volume ¶
type Volume struct { // +optional // Size of the volume Size string `json:"size,omitempty"` // +optional // Ephemeral volumes are not stored persistently across restarts. Defaults // to false // +devfile:default:value=false Ephemeral *bool `json:"ephemeral,omitempty"` }
Volume that should be mounted to a component container +devfile:getter:generate
func (*Volume) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume.
func (*Volume) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Volume) GetEphemeral ¶ added in v2.2.0
GetEphemeral returns the value of the boolean property. If unset, it's the default value specified in the devfile:default:value marker
type VolumeComponent ¶
type VolumeComponent struct { BaseComponent `json:",inline"` Volume `json:",inline"` }
Component that allows the developer to declare and configure a volume into their devworkspace
func (*VolumeComponent) DeepCopy ¶
func (in *VolumeComponent) DeepCopy() *VolumeComponent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeComponent.
func (*VolumeComponent) DeepCopyInto ¶
func (in *VolumeComponent) DeepCopyInto(out *VolumeComponent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeComponentParentOverride ¶
type VolumeComponentParentOverride struct { BaseComponentParentOverride `json:",inline"` VolumeParentOverride `json:",inline"` }
Component that allows the developer to declare and configure a volume into their devworkspace
func (*VolumeComponentParentOverride) DeepCopy ¶
func (in *VolumeComponentParentOverride) DeepCopy() *VolumeComponentParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeComponentParentOverride.
func (*VolumeComponentParentOverride) DeepCopyInto ¶
func (in *VolumeComponentParentOverride) DeepCopyInto(out *VolumeComponentParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeComponentPluginOverride ¶
type VolumeComponentPluginOverride struct { BaseComponentPluginOverride `json:",inline"` VolumePluginOverride `json:",inline"` }
Component that allows the developer to declare and configure a volume into their devworkspace
func (*VolumeComponentPluginOverride) DeepCopy ¶
func (in *VolumeComponentPluginOverride) DeepCopy() *VolumeComponentPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeComponentPluginOverride.
func (*VolumeComponentPluginOverride) DeepCopyInto ¶
func (in *VolumeComponentPluginOverride) DeepCopyInto(out *VolumeComponentPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeComponentPluginOverrideParentOverride ¶
type VolumeComponentPluginOverrideParentOverride struct { BaseComponentPluginOverrideParentOverride `json:",inline"` VolumePluginOverrideParentOverride `json:",inline"` }
Component that allows the developer to declare and configure a volume into their devworkspace
func (*VolumeComponentPluginOverrideParentOverride) DeepCopy ¶
func (in *VolumeComponentPluginOverrideParentOverride) DeepCopy() *VolumeComponentPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeComponentPluginOverrideParentOverride.
func (*VolumeComponentPluginOverrideParentOverride) DeepCopyInto ¶
func (in *VolumeComponentPluginOverrideParentOverride) DeepCopyInto(out *VolumeComponentPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeMount ¶
type VolumeMount struct { // The volume mount name is the name of an existing `Volume` component. // If several containers mount the same volume name // then they will reuse the same volume and will be able to access to the same files. // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Name string `json:"name"` // The path in the component container where the volume should be mounted. // If not path is mentioned, default path is the is `/<name>`. // +optional Path string `json:"path,omitempty"` }
Volume that should be mounted to a component container
func (*VolumeMount) DeepCopy ¶
func (in *VolumeMount) DeepCopy() *VolumeMount
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMount.
func (*VolumeMount) DeepCopyInto ¶
func (in *VolumeMount) DeepCopyInto(out *VolumeMount)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeMountParentOverride ¶
type VolumeMountParentOverride struct { // The volume mount name is the name of an existing `Volume` component. // If several containers mount the same volume name // then they will reuse the same volume and will be able to access to the same files. // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Name string `json:"name"` // The path in the component container where the volume should be mounted. // If not path is mentioned, default path is the is `/<name>`. // +optional Path string `json:"path,omitempty"` }
Volume that should be mounted to a component container
func (*VolumeMountParentOverride) DeepCopy ¶
func (in *VolumeMountParentOverride) DeepCopy() *VolumeMountParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMountParentOverride.
func (*VolumeMountParentOverride) DeepCopyInto ¶
func (in *VolumeMountParentOverride) DeepCopyInto(out *VolumeMountParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeMountPluginOverride ¶
type VolumeMountPluginOverride struct { // The volume mount name is the name of an existing `Volume` component. // If several containers mount the same volume name // then they will reuse the same volume and will be able to access to the same files. // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Name string `json:"name"` // The path in the component container where the volume should be mounted. // If not path is mentioned, default path is the is `/<name>`. // +optional Path string `json:"path,omitempty"` }
Volume that should be mounted to a component container
func (*VolumeMountPluginOverride) DeepCopy ¶
func (in *VolumeMountPluginOverride) DeepCopy() *VolumeMountPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMountPluginOverride.
func (*VolumeMountPluginOverride) DeepCopyInto ¶
func (in *VolumeMountPluginOverride) DeepCopyInto(out *VolumeMountPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeMountPluginOverrideParentOverride ¶
type VolumeMountPluginOverrideParentOverride struct { // The volume mount name is the name of an existing `Volume` component. // If several containers mount the same volume name // then they will reuse the same volume and will be able to access to the same files. // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +kubebuilder:validation:MaxLength=63 Name string `json:"name"` // The path in the component container where the volume should be mounted. // If not path is mentioned, default path is the is `/<name>`. // +optional Path string `json:"path,omitempty"` }
Volume that should be mounted to a component container
func (*VolumeMountPluginOverrideParentOverride) DeepCopy ¶
func (in *VolumeMountPluginOverrideParentOverride) DeepCopy() *VolumeMountPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMountPluginOverrideParentOverride.
func (*VolumeMountPluginOverrideParentOverride) DeepCopyInto ¶
func (in *VolumeMountPluginOverrideParentOverride) DeepCopyInto(out *VolumeMountPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeParentOverride ¶
type VolumeParentOverride struct { // +optional // Size of the volume Size string `json:"size,omitempty"` // +optional // Ephemeral volumes are not stored persistently across restarts. Defaults // to false Ephemeral *bool `json:"ephemeral,omitempty"` }
Volume that should be mounted to a component container
func (*VolumeParentOverride) DeepCopy ¶
func (in *VolumeParentOverride) DeepCopy() *VolumeParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeParentOverride.
func (*VolumeParentOverride) DeepCopyInto ¶
func (in *VolumeParentOverride) DeepCopyInto(out *VolumeParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumePluginOverride ¶
type VolumePluginOverride struct { // +optional // Size of the volume Size string `json:"size,omitempty"` // +optional // Ephemeral volumes are not stored persistently across restarts. Defaults // to false Ephemeral *bool `json:"ephemeral,omitempty"` }
Volume that should be mounted to a component container
func (*VolumePluginOverride) DeepCopy ¶
func (in *VolumePluginOverride) DeepCopy() *VolumePluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumePluginOverride.
func (*VolumePluginOverride) DeepCopyInto ¶
func (in *VolumePluginOverride) DeepCopyInto(out *VolumePluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumePluginOverrideParentOverride ¶
type VolumePluginOverrideParentOverride struct { // +optional // Size of the volume Size string `json:"size,omitempty"` // +optional // Ephemeral volumes are not stored persistently across restarts. Defaults // to false Ephemeral *bool `json:"ephemeral,omitempty"` }
Volume that should be mounted to a component container
func (*VolumePluginOverrideParentOverride) DeepCopy ¶
func (in *VolumePluginOverrideParentOverride) DeepCopy() *VolumePluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumePluginOverrideParentOverride.
func (*VolumePluginOverrideParentOverride) DeepCopyInto ¶
func (in *VolumePluginOverrideParentOverride) DeepCopyInto(out *VolumePluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ZipProjectSource ¶
type ZipProjectSource struct { CommonProjectSource `json:",inline"` // Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH // +required Location string `json:"location,omitempty"` }
func (*ZipProjectSource) DeepCopy ¶
func (in *ZipProjectSource) DeepCopy() *ZipProjectSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZipProjectSource.
func (*ZipProjectSource) DeepCopyInto ¶
func (in *ZipProjectSource) DeepCopyInto(out *ZipProjectSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ZipProjectSourceParentOverride ¶
type ZipProjectSourceParentOverride struct { CommonProjectSourceParentOverride `json:",inline"` // Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH // +required Location string `json:"location,omitempty"` }
func (*ZipProjectSourceParentOverride) DeepCopy ¶
func (in *ZipProjectSourceParentOverride) DeepCopy() *ZipProjectSourceParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZipProjectSourceParentOverride.
func (*ZipProjectSourceParentOverride) DeepCopyInto ¶
func (in *ZipProjectSourceParentOverride) DeepCopyInto(out *ZipProjectSourceParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- commands.go
- component_container.go
- component_contribution.go
- component_image.go
- component_image_dockerfile.go
- component_kubernetes_like.go
- component_plugin.go
- component_volume.go
- components.go
- devfile.go
- devworkspace_conversion.go
- devworkspace_types.go
- devworkspacetemplate_conversion.go
- devworkspacetemplate_spec.go
- devworkspacetemplate_types.go
- doc.go
- endpoint.go
- events.go
- import_reference.go
- keyed.go
- keyed_implementations.go
- override_directives.go
- overrides.go
- parent.go
- projects.go
- register.go
- union.go
- union_implementation.go
- zz_generated.deepcopy.go
- zz_generated.getters.go
- zz_generated.keyed_definitions.go
- zz_generated.parent_overrides.go
- zz_generated.plugin_overrides.go
- zz_generated.toplevellistcontainer_definitions.go
- zz_generated.union_definitions.go