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.0.0-alpha2
Package v1alpha2 contains API Schema definitions for the org v1alpha2 API group +k8s:deepcopy-gen=package,register +groupName=workspace.devfile.io
Index ¶
- Variables
- 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 CheckoutFrom
- type CheckoutFromParentOverride
- 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 Component
- 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 DevWorkspaceList
- type DevWorkspaceSpec
- type DevWorkspaceStatus
- type DevWorkspaceTemplate
- type DevWorkspaceTemplateList
- type DevWorkspaceTemplateSpec
- type DevWorkspaceTemplateSpecContent
- type Devfile
- 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 GitProjectSource
- type GitProjectSourceParentOverride
- type GithubProjectSource
- type GithubProjectSourceParentOverride
- 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 VscodeConfigurationCommand
- type VscodeConfigurationCommandLocation
- func (in *VscodeConfigurationCommandLocation) DeepCopy() *VscodeConfigurationCommandLocation
- func (in *VscodeConfigurationCommandLocation) DeepCopyInto(out *VscodeConfigurationCommandLocation)
- func (union *VscodeConfigurationCommandLocation) Normalize() error
- func (union *VscodeConfigurationCommandLocation) Simplify()
- func (union VscodeConfigurationCommandLocation) Visit(visitor VscodeConfigurationCommandLocationVisitor) error
- type VscodeConfigurationCommandLocationParentOverride
- func (in *VscodeConfigurationCommandLocationParentOverride) DeepCopy() *VscodeConfigurationCommandLocationParentOverride
- func (in *VscodeConfigurationCommandLocationParentOverride) DeepCopyInto(out *VscodeConfigurationCommandLocationParentOverride)
- func (union *VscodeConfigurationCommandLocationParentOverride) Normalize() error
- func (union *VscodeConfigurationCommandLocationParentOverride) Simplify()
- func (union VscodeConfigurationCommandLocationParentOverride) Visit(visitor VscodeConfigurationCommandLocationParentOverrideVisitor) error
- type VscodeConfigurationCommandLocationParentOverrideVisitor
- type VscodeConfigurationCommandLocationPluginOverride
- func (in *VscodeConfigurationCommandLocationPluginOverride) DeepCopy() *VscodeConfigurationCommandLocationPluginOverride
- func (in *VscodeConfigurationCommandLocationPluginOverride) DeepCopyInto(out *VscodeConfigurationCommandLocationPluginOverride)
- func (union *VscodeConfigurationCommandLocationPluginOverride) Normalize() error
- func (union *VscodeConfigurationCommandLocationPluginOverride) Simplify()
- func (union VscodeConfigurationCommandLocationPluginOverride) Visit(visitor VscodeConfigurationCommandLocationPluginOverrideVisitor) error
- type VscodeConfigurationCommandLocationPluginOverrideParentOverride
- func (in *VscodeConfigurationCommandLocationPluginOverrideParentOverride) DeepCopy() *VscodeConfigurationCommandLocationPluginOverrideParentOverride
- func (in *VscodeConfigurationCommandLocationPluginOverrideParentOverride) DeepCopyInto(out *VscodeConfigurationCommandLocationPluginOverrideParentOverride)
- func (union *VscodeConfigurationCommandLocationPluginOverrideParentOverride) Normalize() error
- func (union *VscodeConfigurationCommandLocationPluginOverrideParentOverride) Simplify()
- func (union VscodeConfigurationCommandLocationPluginOverrideParentOverride) Visit(visitor VscodeConfigurationCommandLocationPluginOverrideParentOverrideVisitor) error
- type VscodeConfigurationCommandLocationPluginOverrideParentOverrideVisitor
- type VscodeConfigurationCommandLocationPluginOverrideVisitor
- type VscodeConfigurationCommandLocationType
- type VscodeConfigurationCommandLocationTypeParentOverride
- type VscodeConfigurationCommandLocationTypePluginOverride
- type VscodeConfigurationCommandLocationTypePluginOverrideParentOverride
- type VscodeConfigurationCommandLocationVisitor
- type VscodeConfigurationCommandParentOverride
- type VscodeConfigurationCommandPluginOverride
- type VscodeConfigurationCommandPluginOverrideParentOverride
- type WorkspaceCondition
- type WorkspaceConditionType
- type WorkspaceEvents
- type WorkspacePhase
- type WorkspacePodContributions
- 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 ¶
This section is empty.
Types ¶
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 {
}
Workspace component: Anything that will bring additional features / tooling / behaviour / context to the workspace, 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 {
}
Workspace component: Anything that will bring additional features / tooling / behaviour / context to the workspace, 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 {
}
Workspace component: Anything that will bring additional features / tooling / behaviour / context to the workspace, 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 {
}
Workspace component: Anything that will bring additional features / tooling / behaviour / context to the workspace, 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 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 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
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
IsDefault bool `json:"isDefault,omitempty"`
}
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.
type CommandGroupKind ¶
type CommandGroupKind string
CommandGroupKind describes the kind of command group. +kubebuilder:validation:Enum=build;run;test;debug
const ( BuildCommandGroupKind CommandGroupKind = "build" RunCommandGroupKind CommandGroupKind = "run" TestCommandGroupKind CommandGroupKind = "test" DebugCommandGroupKind CommandGroupKind = "debug" )
type CommandGroupKindParentOverride ¶
type CommandGroupKindParentOverride string
CommandGroupKind describes the kind of command group. +kubebuilder:validation:Enum=build;run;test;debug
type CommandGroupKindPluginOverride ¶
type CommandGroupKindPluginOverride string
CommandGroupKind describes the kind of command group. +kubebuilder:validation:Enum=build;run;test;debug
type CommandGroupKindPluginOverrideParentOverride ¶
type CommandGroupKindPluginOverrideParentOverride string
CommandGroupKind describes the kind of command group. +kubebuilder:validation:Enum=build;run;test;debug
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
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
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
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;VscodeTask;VscodeLaunch;Composite;Custom
const ( ExecCommandType CommandType = "Exec" ApplyCommandType CommandType = "Apply" VscodeTaskCommandType CommandType = "VscodeTask" VscodeLaunchCommandType CommandType = "VscodeLaunch" 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 workspace 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 workspace 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 workspace 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 workspace start
// by default.
// +optional
Apply *ApplyCommand `json:"apply,omitempty"`
// Command providing the definition of a VsCode Task
// +optional
VscodeTask *VscodeConfigurationCommand `json:"vscodeTask,omitempty"`
// Command providing the definition of a VsCode launch action
// +optional
VscodeLaunch *VscodeConfigurationCommand `json:"vscodeLaunch,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;VscodeTask;VscodeLaunch;Composite
// Type of workspace 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 workspace 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 workspace 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 workspace start
// by default.
// +optional
Apply *ApplyCommandParentOverride `json:"apply,omitempty"`
// Command providing the definition of a VsCode Task
// +optional
VscodeTask *VscodeConfigurationCommandParentOverride `json:"vscodeTask,omitempty"`
// Command providing the definition of a VsCode launch action
// +optional
VscodeLaunch *VscodeConfigurationCommandParentOverride `json:"vscodeLaunch,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
VscodeTask func(*VscodeConfigurationCommandParentOverride) error
VscodeLaunch func(*VscodeConfigurationCommandParentOverride) error
Composite func(*CompositeCommandParentOverride) error
}
+k8s:deepcopy-gen=false
type CommandUnionPluginOverride ¶
type CommandUnionPluginOverride struct {
// +kubebuilder:validation:Enum=Exec;Apply;VscodeTask;VscodeLaunch;Composite
// Type of workspace 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 workspace 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 workspace 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 workspace start
// by default.
// +optional
Apply *ApplyCommandPluginOverride `json:"apply,omitempty"`
// Command providing the definition of a VsCode Task
// +optional
VscodeTask *VscodeConfigurationCommandPluginOverride `json:"vscodeTask,omitempty"`
// Command providing the definition of a VsCode launch action
// +optional
VscodeLaunch *VscodeConfigurationCommandPluginOverride `json:"vscodeLaunch,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;VscodeTask;VscodeLaunch;Composite
// Type of workspace 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 workspace 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 workspace 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 workspace start
// by default.
// +optional
Apply *ApplyCommandPluginOverrideParentOverride `json:"apply,omitempty"`
// Command providing the definition of a VsCode Task
// +optional
VscodeTask *VscodeConfigurationCommandPluginOverrideParentOverride `json:"vscodeTask,omitempty"`
// Command providing the definition of a VsCode launch action
// +optional
VscodeLaunch *VscodeConfigurationCommandPluginOverrideParentOverride `json:"vscodeLaunch,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
VscodeTask func(*VscodeConfigurationCommandPluginOverrideParentOverride) error
VscodeLaunch func(*VscodeConfigurationCommandPluginOverrideParentOverride) error
Composite func(*CompositeCommandPluginOverrideParentOverride) error
}
+k8s:deepcopy-gen=false
type CommandUnionPluginOverrideVisitor ¶
type CommandUnionPluginOverrideVisitor struct {
Exec func(*ExecCommandPluginOverride) error
Apply func(*ApplyCommandPluginOverride) error
VscodeTask func(*VscodeConfigurationCommandPluginOverride) error
VscodeLaunch func(*VscodeConfigurationCommandPluginOverride) error
Composite func(*CompositeCommandPluginOverride) error
}
+k8s:deepcopy-gen=false
type CommandUnionVisitor ¶
type CommandUnionVisitor struct {
Exec func(*ExecCommand) error
Apply func(*ApplyCommand) error
VscodeTask func(*VscodeConfigurationCommand) error
VscodeLaunch func(*VscodeConfigurationCommand) 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 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
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 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
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
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
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;Plugin;Custom
const ( ContainerComponentType ComponentType = "Container" KubernetesComponentType ComponentType = "Kubernetes" OpenshiftComponentType ComponentType = "Openshift" PluginComponentType ComponentType = "Plugin" VolumeComponentType ComponentType = "Volume" 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 workspace-related containers
// +optional
Container *ContainerComponent `json:"container,omitempty"`
// Allows importing into the workspace 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 workspace 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 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;Plugin
// Type of component
//
// +unionDiscriminator
// +optional
ComponentType ComponentTypeParentOverride `json:"componentType,omitempty"`
// Allows adding and configuring workspace-related containers
// +optional
Container *ContainerComponentParentOverride `json:"container,omitempty"`
// Allows importing into the workspace 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 workspace 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 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
Plugin func(*PluginComponentParentOverride) error
}
+k8s:deepcopy-gen=false
type ComponentUnionPluginOverride ¶
type ComponentUnionPluginOverride struct {
// +kubebuilder:validation:Enum=Container;Kubernetes;Openshift;Volume
// Type of component
//
// +unionDiscriminator
// +optional
ComponentType ComponentTypePluginOverride `json:"componentType,omitempty"`
// Allows adding and configuring workspace-related containers
// +optional
Container *ContainerComponentPluginOverride `json:"container,omitempty"`
// Allows importing into the workspace 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 workspace 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"`
}
+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
// Type of component
//
// +unionDiscriminator
// +optional
ComponentType ComponentTypePluginOverrideParentOverride `json:"componentType,omitempty"`
// Allows adding and configuring workspace-related containers
// +optional
Container *ContainerComponentPluginOverrideParentOverride `json:"container,omitempty"`
// Allows importing into the workspace 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 workspace 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"`
}
+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
}
+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
}
+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
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
Parallel bool `json:"parallel,omitempty"`
}
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.
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
// 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"`
// 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
DedicatedPod bool `json:"dedicatedPod,omitempty"`
}
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.
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 his workspace
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 his workspace
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 his workspace
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 his workspace
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
// 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"`
// 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
// 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"`
// 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
// 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"`
// 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="Workspace ID",type="string",JSONPath=".status.workspaceId",description="The workspace's unique id" +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=".status.phase",description="The current workspace startup phase" +kubebuilder:printcolumn:name="Info",type="string",JSONPath=".status.message",description="Additional information about workspace state" +kubebuilder:printcolumn:name="URL",type="string",JSONPath=".status.ideUrl",description="Url endpoint for accessing workspace" +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 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 DevWorkspaceSpec ¶
type DevWorkspaceSpec struct {
Started bool `json:"started"`
RoutingClass string `json:"routingClass,omitempty"`
Template DevWorkspaceTemplateSpec `json:"template,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 workspace
WorkspaceId string `json:"workspaceId"`
// URL at which the Worksace Editor can be joined
IdeUrl string `json:"ideUrl,omitempty"`
Phase WorkspacePhase `json:"phase,omitempty"`
// Conditions represent the latest available observations of an object's state
Conditions []WorkspaceCondition `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 +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 workspace template
// +optional
Parent *Parent `json:"parent,omitempty"`
DevWorkspaceTemplateSpecContent `json:",inline"`
}
Structure of the workspace. This is also the specification of a workspace 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 {
// List of the workspace 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 workspace, 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"`
// Predefined, ready-to-use, workspace-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 workspace and development environment. +k8s:deepcopy-gen=false +devfile:jsonschema:generate:omitCustomUnionMembers=true
type Endpoint ¶
type Endpoint struct {
// +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
// +kubebuilder:validation:MaxLength=15
Name string `json:"name"`
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 workspace 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 workspace 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
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
Attributes attributes.Attributes `json:"attributes,omitempty"`
}
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 workspace 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 workspace 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=15
Name string `json:"name"`
// +optional
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 workspace 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 workspace 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
Attributes attributes.Attributes `json:"attributes,omitempty"`
}
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=15
Name string `json:"name"`
// +optional
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 workspace 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 workspace 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
Attributes attributes.Attributes `json:"attributes,omitempty"`
}
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=15
Name string `json:"name"`
// +optional
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 workspace 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 workspace 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
Attributes attributes.Attributes `json:"attributes,omitempty"`
}
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 {
WorkspaceEvents `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
// Whether the command is capable to reload itself when source code changes.
// If set to `true` the command won't be restarted and it is expected to handle file changes on its own.
//
// Default value is `false`
HotReloadCapable bool `json:"hotReloadCapable,omitempty"`
}
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.
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
// Whether the command is capable to reload itself when source code changes.
// If set to `true` the command won't be restarted and it is expected to handle file changes on its own.
//
// 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
// Whether the command is capable to reload itself when source code changes.
// If set to `true` the command won't be restarted and it is expected to handle file changes on its own.
//
// 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
// Whether the command is capable to reload itself when source code changes.
// If set to `true` the command won't be restarted and it is expected to handle file changes on its own.
//
// 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. Must have at least 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. Must have at least 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 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 GithubProjectSource ¶
type GithubProjectSource struct {
GitLikeProjectSource `json:",inline"`
}
func (*GithubProjectSource) DeepCopy ¶
func (in *GithubProjectSource) DeepCopy() *GithubProjectSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubProjectSource.
func (*GithubProjectSource) DeepCopyInto ¶
func (in *GithubProjectSource) DeepCopyInto(out *GithubProjectSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GithubProjectSourceParentOverride ¶
type GithubProjectSourceParentOverride struct {
GitLikeProjectSourceParentOverride `json:",inline"`
}
func (*GithubProjectSourceParentOverride) DeepCopy ¶
func (in *GithubProjectSourceParentOverride) DeepCopy() *GithubProjectSourceParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubProjectSourceParentOverride.
func (*GithubProjectSourceParentOverride) DeepCopyInto ¶
func (in *GithubProjectSourceParentOverride) DeepCopyInto(out *GithubProjectSourceParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImportReference ¶
type ImportReference struct {
ImportReferenceUnion `json:",inline"`
// +optional
RegistryUrl string `json:"registryUrl,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"`
// +optional
RegistryUrl string `json:"registryUrl,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 of a Devfile yaml file
// +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 of a Devfile yaml file
// +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"`
Endpoints []Endpoint `json:"endpoints,omitempty" patchStrategy:"merge" patchMergeKey:"name"`
}
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.
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"`
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"`
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"`
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 workspace 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 workspace 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 workspace 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 workspace 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 workspace 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 workspace 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 workspace 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 workspace 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 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 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
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"`
// Populate the project sparsely with selected directories.
// +optional
SparseCheckoutDirs []string `json:"sparseCheckoutDirs,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
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"`
// Populate the project sparsely with selected directories.
// +optional
SparseCheckoutDirs []string `json:"sparseCheckoutDirs,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 GitHub source
// +optional
Github *GithubProjectSource `json:"github,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;Github;Zip
// Type of project source
// +
// +unionDiscriminator
// +optional
SourceType ProjectSourceTypeParentOverride `json:"sourceType,omitempty"`
// Project's Git source
// +optional
Git *GitProjectSourceParentOverride `json:"git,omitempty"`
// Project's GitHub source
// +optional
Github *GithubProjectSourceParentOverride `json:"github,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
Github func(*GithubProjectSourceParentOverride) 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;Github;Zip;Custom
const ( GitProjectSourceType ProjectSourceType = "Git" GitHubProjectSourceType ProjectSourceType = "Github" 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
Github func(*GithubProjectSource) 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
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
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"`
}
Volume that should be mounted to a component container
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.
type VolumeComponent ¶
type VolumeComponent struct {
BaseComponent `json:",inline"`
Volume `json:",inline"`
}
Component that allows the developer to declare and configure a volume into his workspace
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 his workspace
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 his workspace
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 his workspace
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"`
}
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"`
}
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"`
}
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 VscodeConfigurationCommand ¶
type VscodeConfigurationCommand struct {
BaseCommand `json:",inline"`
VscodeConfigurationCommandLocation `json:",inline"`
}
func (*VscodeConfigurationCommand) DeepCopy ¶
func (in *VscodeConfigurationCommand) DeepCopy() *VscodeConfigurationCommand
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VscodeConfigurationCommand.
func (*VscodeConfigurationCommand) DeepCopyInto ¶
func (in *VscodeConfigurationCommand) DeepCopyInto(out *VscodeConfigurationCommand)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VscodeConfigurationCommandLocation ¶
type VscodeConfigurationCommandLocation struct {
// Type of Vscode configuration command location
// +
// +unionDiscriminator
// +optional
LocationType VscodeConfigurationCommandLocationType `json:"locationType,omitempty"`
// Location as an absolute of relative URI
// the VsCode configuration will be fetched from
// +optional
Uri string `json:"uri,omitempty"`
// Inlined content of the VsCode configuration
// +optional
Inlined string `json:"inlined,omitempty"`
}
+union
func (*VscodeConfigurationCommandLocation) DeepCopy ¶
func (in *VscodeConfigurationCommandLocation) DeepCopy() *VscodeConfigurationCommandLocation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VscodeConfigurationCommandLocation.
func (*VscodeConfigurationCommandLocation) DeepCopyInto ¶
func (in *VscodeConfigurationCommandLocation) DeepCopyInto(out *VscodeConfigurationCommandLocation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VscodeConfigurationCommandLocation) Normalize ¶
func (union *VscodeConfigurationCommandLocation) Normalize() error
func (*VscodeConfigurationCommandLocation) Simplify ¶
func (union *VscodeConfigurationCommandLocation) Simplify()
func (VscodeConfigurationCommandLocation) Visit ¶
func (union VscodeConfigurationCommandLocation) Visit(visitor VscodeConfigurationCommandLocationVisitor) error
type VscodeConfigurationCommandLocationParentOverride ¶
type VscodeConfigurationCommandLocationParentOverride struct {
// +kubebuilder:validation:Enum=Uri;Inlined
// Type of Vscode configuration command location
// +
// +unionDiscriminator
// +optional
LocationType VscodeConfigurationCommandLocationTypeParentOverride `json:"locationType,omitempty"`
// Location as an absolute of relative URI
// the VsCode configuration will be fetched from
// +optional
Uri string `json:"uri,omitempty"`
// Inlined content of the VsCode configuration
// +optional
Inlined string `json:"inlined,omitempty"`
}
+union
func (*VscodeConfigurationCommandLocationParentOverride) DeepCopy ¶
func (in *VscodeConfigurationCommandLocationParentOverride) DeepCopy() *VscodeConfigurationCommandLocationParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VscodeConfigurationCommandLocationParentOverride.
func (*VscodeConfigurationCommandLocationParentOverride) DeepCopyInto ¶
func (in *VscodeConfigurationCommandLocationParentOverride) DeepCopyInto(out *VscodeConfigurationCommandLocationParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VscodeConfigurationCommandLocationParentOverride) Normalize ¶
func (union *VscodeConfigurationCommandLocationParentOverride) Normalize() error
func (*VscodeConfigurationCommandLocationParentOverride) Simplify ¶
func (union *VscodeConfigurationCommandLocationParentOverride) Simplify()
func (VscodeConfigurationCommandLocationParentOverride) Visit ¶
func (union VscodeConfigurationCommandLocationParentOverride) Visit(visitor VscodeConfigurationCommandLocationParentOverrideVisitor) error
type VscodeConfigurationCommandLocationParentOverrideVisitor ¶
type VscodeConfigurationCommandLocationParentOverrideVisitor struct {
Uri func(string) error
Inlined func(string) error
}
+k8s:deepcopy-gen=false
type VscodeConfigurationCommandLocationPluginOverride ¶
type VscodeConfigurationCommandLocationPluginOverride struct {
// +kubebuilder:validation:Enum=Uri;Inlined
// Type of Vscode configuration command location
// +
// +unionDiscriminator
// +optional
LocationType VscodeConfigurationCommandLocationTypePluginOverride `json:"locationType,omitempty"`
// Location as an absolute of relative URI
// the VsCode configuration will be fetched from
// +optional
Uri string `json:"uri,omitempty"`
// Inlined content of the VsCode configuration
// +optional
Inlined string `json:"inlined,omitempty"`
}
+union
func (*VscodeConfigurationCommandLocationPluginOverride) DeepCopy ¶
func (in *VscodeConfigurationCommandLocationPluginOverride) DeepCopy() *VscodeConfigurationCommandLocationPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VscodeConfigurationCommandLocationPluginOverride.
func (*VscodeConfigurationCommandLocationPluginOverride) DeepCopyInto ¶
func (in *VscodeConfigurationCommandLocationPluginOverride) DeepCopyInto(out *VscodeConfigurationCommandLocationPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VscodeConfigurationCommandLocationPluginOverride) Normalize ¶
func (union *VscodeConfigurationCommandLocationPluginOverride) Normalize() error
func (*VscodeConfigurationCommandLocationPluginOverride) Simplify ¶
func (union *VscodeConfigurationCommandLocationPluginOverride) Simplify()
func (VscodeConfigurationCommandLocationPluginOverride) Visit ¶
func (union VscodeConfigurationCommandLocationPluginOverride) Visit(visitor VscodeConfigurationCommandLocationPluginOverrideVisitor) error
type VscodeConfigurationCommandLocationPluginOverrideParentOverride ¶
type VscodeConfigurationCommandLocationPluginOverrideParentOverride struct {
// +kubebuilder:validation:Enum=Uri;Inlined
// Type of Vscode configuration command location
// +
// +unionDiscriminator
// +optional
LocationType VscodeConfigurationCommandLocationTypePluginOverrideParentOverride `json:"locationType,omitempty"`
// Location as an absolute of relative URI
// the VsCode configuration will be fetched from
// +optional
Uri string `json:"uri,omitempty"`
// Inlined content of the VsCode configuration
// +optional
Inlined string `json:"inlined,omitempty"`
}
+union
func (*VscodeConfigurationCommandLocationPluginOverrideParentOverride) DeepCopy ¶
func (in *VscodeConfigurationCommandLocationPluginOverrideParentOverride) DeepCopy() *VscodeConfigurationCommandLocationPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VscodeConfigurationCommandLocationPluginOverrideParentOverride.
func (*VscodeConfigurationCommandLocationPluginOverrideParentOverride) DeepCopyInto ¶
func (in *VscodeConfigurationCommandLocationPluginOverrideParentOverride) DeepCopyInto(out *VscodeConfigurationCommandLocationPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VscodeConfigurationCommandLocationPluginOverrideParentOverride) Normalize ¶
func (union *VscodeConfigurationCommandLocationPluginOverrideParentOverride) Normalize() error
func (*VscodeConfigurationCommandLocationPluginOverrideParentOverride) Simplify ¶
func (union *VscodeConfigurationCommandLocationPluginOverrideParentOverride) Simplify()
type VscodeConfigurationCommandLocationPluginOverrideParentOverrideVisitor ¶
type VscodeConfigurationCommandLocationPluginOverrideParentOverrideVisitor struct {
Uri func(string) error
Inlined func(string) error
}
+k8s:deepcopy-gen=false
type VscodeConfigurationCommandLocationPluginOverrideVisitor ¶
type VscodeConfigurationCommandLocationPluginOverrideVisitor struct {
Uri func(string) error
Inlined func(string) error
}
+k8s:deepcopy-gen=false
type VscodeConfigurationCommandLocationType ¶
type VscodeConfigurationCommandLocationType string
VscodeConfigurationCommandLocationType 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 ( UriVscodeConfigurationCommandLocationType VscodeConfigurationCommandLocationType = "Uri" InlinedVscodeConfigurationCommandLocationType VscodeConfigurationCommandLocationType = "Inlined" )
type VscodeConfigurationCommandLocationTypeParentOverride ¶
type VscodeConfigurationCommandLocationTypeParentOverride string
VscodeConfigurationCommandLocationType describes the type of the location the configuration is fetched from. Only one of the following component type may be specified.
type VscodeConfigurationCommandLocationTypePluginOverride ¶
type VscodeConfigurationCommandLocationTypePluginOverride string
VscodeConfigurationCommandLocationType describes the type of the location the configuration is fetched from. Only one of the following component type may be specified.
type VscodeConfigurationCommandLocationTypePluginOverrideParentOverride ¶
type VscodeConfigurationCommandLocationTypePluginOverrideParentOverride string
VscodeConfigurationCommandLocationType describes the type of the location the configuration is fetched from. Only one of the following component type may be specified.
type VscodeConfigurationCommandLocationVisitor ¶
type VscodeConfigurationCommandLocationVisitor struct {
Uri func(string) error
Inlined func(string) error
}
+k8s:deepcopy-gen=false
type VscodeConfigurationCommandParentOverride ¶
type VscodeConfigurationCommandParentOverride struct {
BaseCommandParentOverride `json:",inline"`
VscodeConfigurationCommandLocationParentOverride `json:",inline"`
}
func (*VscodeConfigurationCommandParentOverride) DeepCopy ¶
func (in *VscodeConfigurationCommandParentOverride) DeepCopy() *VscodeConfigurationCommandParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VscodeConfigurationCommandParentOverride.
func (*VscodeConfigurationCommandParentOverride) DeepCopyInto ¶
func (in *VscodeConfigurationCommandParentOverride) DeepCopyInto(out *VscodeConfigurationCommandParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VscodeConfigurationCommandPluginOverride ¶
type VscodeConfigurationCommandPluginOverride struct {
BaseCommandPluginOverride `json:",inline"`
VscodeConfigurationCommandLocationPluginOverride `json:",inline"`
}
func (*VscodeConfigurationCommandPluginOverride) DeepCopy ¶
func (in *VscodeConfigurationCommandPluginOverride) DeepCopy() *VscodeConfigurationCommandPluginOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VscodeConfigurationCommandPluginOverride.
func (*VscodeConfigurationCommandPluginOverride) DeepCopyInto ¶
func (in *VscodeConfigurationCommandPluginOverride) DeepCopyInto(out *VscodeConfigurationCommandPluginOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VscodeConfigurationCommandPluginOverrideParentOverride ¶
type VscodeConfigurationCommandPluginOverrideParentOverride struct {
BaseCommandPluginOverrideParentOverride `json:",inline"`
VscodeConfigurationCommandLocationPluginOverrideParentOverride `json:",inline"`
}
func (*VscodeConfigurationCommandPluginOverrideParentOverride) DeepCopy ¶
func (in *VscodeConfigurationCommandPluginOverrideParentOverride) DeepCopy() *VscodeConfigurationCommandPluginOverrideParentOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VscodeConfigurationCommandPluginOverrideParentOverride.
func (*VscodeConfigurationCommandPluginOverrideParentOverride) DeepCopyInto ¶
func (in *VscodeConfigurationCommandPluginOverrideParentOverride) DeepCopyInto(out *VscodeConfigurationCommandPluginOverrideParentOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceCondition ¶
type WorkspaceCondition struct {
// Type is the type of the condition.
Type WorkspaceConditionType `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"`
}
WorkspaceCondition contains details for the current condition of this workspace.
func (*WorkspaceCondition) DeepCopy ¶
func (in *WorkspaceCondition) DeepCopy() *WorkspaceCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceCondition.
func (*WorkspaceCondition) DeepCopyInto ¶
func (in *WorkspaceCondition) DeepCopyInto(out *WorkspaceCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceConditionType ¶
type WorkspaceConditionType string
Types of conditions reported by workspace
const ( WorkspaceComponentsReady WorkspaceConditionType = "ComponentsReady" WorkspaceRoutingReady WorkspaceConditionType = "RoutingReady" WorkspaceServiceAccountReady WorkspaceConditionType = "ServiceAccountReady" WorkspaceReady WorkspaceConditionType = "Ready" WorkspaceFailedStart WorkspaceConditionType = "FailedStart" )
type WorkspaceEvents ¶
type WorkspaceEvents struct {
// IDs of commands that should be executed before the workspace start.
// Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD.
// +optional
PreStart []string `json:"preStart,omitempty"`
// IDs of commands that should be executed after the workspace 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 workspace.
PreStop []string `json:"preStop,omitempty"`
// +optional
// IDs of commands that should be executed after stopping the workspace.
PostStop []string `json:"postStop,omitempty"`
}
func (*WorkspaceEvents) DeepCopy ¶
func (in *WorkspaceEvents) DeepCopy() *WorkspaceEvents
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceEvents.
func (*WorkspaceEvents) DeepCopyInto ¶
func (in *WorkspaceEvents) DeepCopyInto(out *WorkspaceEvents)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspacePhase ¶
type WorkspacePhase string
const ( WorkspaceStatusStarting WorkspacePhase = "Starting" WorkspaceStatusRunning WorkspacePhase = "Running" WorkspaceStatusStopped WorkspacePhase = "Stopped" WorkspaceStatusStopping WorkspacePhase = "Stopping" WorkspaceStatusFailed WorkspacePhase = "Failed" )
Valid workspace Statuses
type WorkspacePodContributions ¶
type WorkspacePodContributions struct {
// +optional
// +patchMergeKey=name
// +patchStrategy=merge,retainKeys
Volumes []corev1.Volume `json:"volumes,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name" protobuf:"bytes,1,rep,name=volumes"`
// +patchMergeKey=name
// +patchStrategy=merge
InitContainers []corev1.Container `json:"initContainers,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,20,rep,name=initContainers"`
// +patchMergeKey=name
// +patchStrategy=merge
Containers []corev1.Container `json:"containers" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,2,rep,name=containers"`
// ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by the workspace Pod.
// If specified, these secrets will be passed to individual puller implementations for them to use. For example,
// in the case of docker, only DockerConfig type secrets are honored.
// More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,15,rep,name=imagePullSecrets"`
// List of workspace-wide environment variables to set in all containers of the workspace POD.
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
CommonEnv []corev1.EnvVar `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,7,rep,name=env"`
}
func (*WorkspacePodContributions) DeepCopy ¶
func (in *WorkspacePodContributions) DeepCopy() *WorkspacePodContributions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspacePodContributions.
func (*WorkspacePodContributions) DeepCopyInto ¶
func (in *WorkspacePodContributions) DeepCopyInto(out *WorkspacePodContributions)
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
¶
- WorkspacePodContribution.go
- commands.go
- components.go
- containerComponent.go
- devfile.go
- devworkspaceTemplateSpec.go
- devworkspace_conversion.go
- devworkspace_types.go
- devworkspacetemplate_conversion.go
- devworkspacetemplate_types.go
- doc.go
- endpoint.go
- events.go
- importReference.go
- keyed.go
- keyed_implementations.go
- kubernetesLikeComponent.go
- overrideDirectives.go
- overrides.go
- parent.go
- pluginComponents.go
- projects.go
- register.go
- union.go
- union_implementation.go
- volumeComponent.go
- zz_generated.deepcopy.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