Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the controlplane v1beta1 API group +kubebuilder:object:generate=true +groupName=controlplane.cluster.x-k8s.io
Index ¶
- Constants
- Variables
- type APIEndpointTemplate
- type Addon
- type AddonTemplate
- type CAPTControlPlane
- func (in *CAPTControlPlane) DeepCopy() *CAPTControlPlane
- func (in *CAPTControlPlane) DeepCopyInto(out *CAPTControlPlane)
- func (in *CAPTControlPlane) DeepCopyObject() runtime.Object
- func (r *CAPTControlPlane) Default()
- func (r *CAPTControlPlane) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *CAPTControlPlane) ValidateCreate() (admission.Warnings, error)
- func (r *CAPTControlPlane) ValidateDelete() (admission.Warnings, error)
- func (r *CAPTControlPlane) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type CAPTControlPlaneList
- type CAPTControlPlaneSpec
- type CAPTControlPlaneStatus
- type CAPTControlPlaneTemplate
- func (in *CAPTControlPlaneTemplate) DeepCopy() *CAPTControlPlaneTemplate
- func (in *CAPTControlPlaneTemplate) DeepCopyInto(out *CAPTControlPlaneTemplate)
- func (in *CAPTControlPlaneTemplate) DeepCopyObject() runtime.Object
- func (r *CAPTControlPlaneTemplate) Default()
- func (r *CAPTControlPlaneTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *CAPTControlPlaneTemplate) ValidateCreate() (admission.Warnings, error)
- func (r *CAPTControlPlaneTemplate) ValidateDelete() (admission.Warnings, error)
- func (r *CAPTControlPlaneTemplate) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type CAPTControlPlaneTemplateList
- type CAPTControlPlaneTemplateResource
- type CAPTControlPlaneTemplateResourceSpec
- type CAPTControlPlaneTemplateSpec
- type ControlPlaneConfig
- type ControlPlaneConfigTemplate
- type EndpointAccess
- type EndpointAccessTemplate
- type TimeoutConfig
- type TimeoutConfigTemplate
- type WorkspaceStatus
- type WorkspaceTemplateReference
- type WorkspaceTemplateReferenceTemplate
- type WorkspaceTemplateStatus
Constants ¶
const ( // ControlPlaneReadyCondition indicates the control plane is ready ControlPlaneReadyCondition = "Ready" // ControlPlaneInitializedCondition indicates the control plane has been initialized ControlPlaneInitializedCondition = "Initialized" // ControlPlaneFailedCondition indicates the control plane has failed ControlPlaneFailedCondition = "Failed" // ControlPlaneCreatingCondition indicates the control plane is being created ControlPlaneCreatingCondition = "Creating" )
Condition Types
const ( // DefaultControlPlaneTimeout is the default timeout for control plane creation DefaultControlPlaneTimeout = 30 // DefaultVPCReadyTimeout is the default timeout for VPC ready check DefaultVPCReadyTimeout = 15 )
Default timeout values
const ( // ReasonCreating indicates the control plane is being created ReasonCreating = "Creating" // ReasonReady indicates the control plane is ready ReasonReady = "Ready" // ReasonFailed indicates the control plane has failed ReasonFailed = "Failed" // ReasonWaitingForVPC indicates waiting for VPC to be ready ReasonWaitingForVPC = "WaitingForVPC" // ReasonVPCReadyTimeout indicates VPC ready check timed out ReasonVPCReadyTimeout = "VPCReadyTimeout" // ReasonControlPlaneTimeout indicates control plane creation timed out ReasonControlPlaneTimeout = "ControlPlaneTimeout" // ReasonWorkspaceError indicates an error with the workspace ReasonWorkspaceError = "WorkspaceError" )
Condition Reasons
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "controlplane.cluster.x-k8s.io", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type APIEndpointTemplate ¶ added in v0.4.1
type APIEndpointTemplate struct {
// The hostname on which the API server is serving.
// +optional
Host string `json:"host,omitempty"`
// The port on which the API server is serving.
// +optional
Port int32 `json:"port,omitempty"`
}
APIEndpointTemplate represents the endpoint used to communicate with the control plane (all optional for templates)
func (*APIEndpointTemplate) DeepCopy ¶ added in v0.4.1
func (in *APIEndpointTemplate) DeepCopy() *APIEndpointTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIEndpointTemplate.
func (*APIEndpointTemplate) DeepCopyInto ¶ added in v0.4.1
func (in *APIEndpointTemplate) DeepCopyInto(out *APIEndpointTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Addon ¶
type Addon struct {
// Name is the name of the addon
// +kubebuilder:validation:Required
Name string `json:"name"`
// Version is the version of the addon
// +optional
Version string `json:"version,omitempty"`
// ConfigurationValues is a string containing configuration values
// +optional
ConfigurationValues string `json:"configurationValues,omitempty"`
}
Addon represents an EKS addon
func (*Addon) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Addon.
func (*Addon) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AddonTemplate ¶ added in v0.4.1
type AddonTemplate struct {
// +optional
Name string `json:"name,omitempty"`
// +optional
Version string `json:"version,omitempty"`
// +optional
ConfigurationValues string `json:"configurationValues,omitempty"`
}
AddonTemplate represents an EKS addon (all optional)
func (*AddonTemplate) DeepCopy ¶ added in v0.4.1
func (in *AddonTemplate) DeepCopy() *AddonTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonTemplate.
func (*AddonTemplate) DeepCopyInto ¶ added in v0.4.1
func (in *AddonTemplate) DeepCopyInto(out *AddonTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CAPTControlPlane ¶
type CAPTControlPlane struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CAPTControlPlaneSpec `json:"spec,omitempty"`
Status CAPTControlPlaneStatus `json:"status,omitempty"`
}
CAPTControlPlane is the Schema for the captcontrolplanes API
func (*CAPTControlPlane) DeepCopy ¶
func (in *CAPTControlPlane) DeepCopy() *CAPTControlPlane
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlane.
func (*CAPTControlPlane) DeepCopyInto ¶
func (in *CAPTControlPlane) DeepCopyInto(out *CAPTControlPlane)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CAPTControlPlane) DeepCopyObject ¶
func (in *CAPTControlPlane) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CAPTControlPlane) Default ¶ added in v0.4.1
func (r *CAPTControlPlane) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*CAPTControlPlane) SetupWebhookWithManager ¶ added in v0.4.1
func (r *CAPTControlPlane) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*CAPTControlPlane) ValidateCreate ¶ added in v0.4.1
func (r *CAPTControlPlane) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*CAPTControlPlane) ValidateDelete ¶ added in v0.4.1
func (r *CAPTControlPlane) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*CAPTControlPlane) ValidateUpdate ¶ added in v0.4.1
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type CAPTControlPlaneList ¶
type CAPTControlPlaneList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []CAPTControlPlane `json:"items"`
}
CAPTControlPlaneList contains a list of CAPTControlPlane
func (*CAPTControlPlaneList) DeepCopy ¶
func (in *CAPTControlPlaneList) DeepCopy() *CAPTControlPlaneList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlaneList.
func (*CAPTControlPlaneList) DeepCopyInto ¶
func (in *CAPTControlPlaneList) DeepCopyInto(out *CAPTControlPlaneList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CAPTControlPlaneList) DeepCopyObject ¶
func (in *CAPTControlPlaneList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CAPTControlPlaneSpec ¶
type CAPTControlPlaneSpec struct {
// Version defines the desired Kubernetes version.
// +kubebuilder:validation:Required
Version string `json:"version"`
// WorkspaceTemplateRef is a reference to the WorkspaceTemplate used for creating the control plane.
// +kubebuilder:validation:Required
WorkspaceTemplateRef WorkspaceTemplateReference `json:"workspaceTemplateRef"`
// ControlPlaneConfig contains additional configuration for the EKS control plane.
// +optional
ControlPlaneConfig *ControlPlaneConfig `json:"controlPlaneConfig,omitempty"`
// AdditionalTags is an optional set of tags to add to AWS resources managed by the AWS provider.
// +optional
AdditionalTags map[string]string `json:"additionalTags,omitempty"`
// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.
// +optional
ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint,omitempty"`
// WorkspaceTemplateApplyName is the name of the WorkspaceTemplateApply used for this control plane.
// This field is managed by the controller and should not be modified manually.
// +optional
WorkspaceTemplateApplyName string `json:"workspaceTemplateApplyName,omitempty"`
}
CAPTControlPlaneSpec defines the desired state of CAPTControlPlane
func (*CAPTControlPlaneSpec) DeepCopy ¶
func (in *CAPTControlPlaneSpec) DeepCopy() *CAPTControlPlaneSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlaneSpec.
func (*CAPTControlPlaneSpec) DeepCopyInto ¶
func (in *CAPTControlPlaneSpec) DeepCopyInto(out *CAPTControlPlaneSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CAPTControlPlaneStatus ¶
type CAPTControlPlaneStatus struct {
// Ready denotes that the control plane is ready
// +optional
Ready bool `json:"ready"`
// Initialized denotes if the control plane has been initialized
// +optional
Initialized bool `json:"initialized"`
// SecretsReady denotes that all required secrets have been created and are ready
// +optional
// +kubebuilder:default=false
SecretsReady bool `json:"secretsReady"`
// WorkspaceTemplateStatus contains the status of the WorkspaceTemplate
// +optional
WorkspaceTemplateStatus *WorkspaceTemplateStatus `json:"workspaceTemplateStatus,omitempty"`
// WorkspaceStatus contains the status of the associated Workspace
// +optional
WorkspaceStatus *WorkspaceStatus `json:"workspaceStatus,omitempty"`
// FailureReason indicates that there is a terminal problem reconciling the
// state, and will be set to a token value suitable for programmatic
// interpretation.
// +optional
FailureReason *string `json:"failureReason,omitempty"`
// FailureMessage indicates that there is a terminal problem reconciling the
// state, and will be set to a descriptive error message.
// +optional
FailureMessage *string `json:"failureMessage,omitempty"`
// Phase represents the current phase of the control plane
// Valid values are: "Creating", "Ready", "Failed"
// +optional
// +kubebuilder:validation:Enum=Creating;Ready;Failed
Phase string `json:"phase,omitempty"`
// Conditions defines current service state of the CAPTControlPlane.
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
CAPTControlPlaneStatus defines the observed state of CAPTControlPlane
func (*CAPTControlPlaneStatus) DeepCopy ¶
func (in *CAPTControlPlaneStatus) DeepCopy() *CAPTControlPlaneStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlaneStatus.
func (*CAPTControlPlaneStatus) DeepCopyInto ¶
func (in *CAPTControlPlaneStatus) DeepCopyInto(out *CAPTControlPlaneStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CAPTControlPlaneTemplate ¶ added in v0.4.1
type CAPTControlPlaneTemplate struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CAPTControlPlaneTemplateSpec `json:"spec,omitempty"`
}
CAPTControlPlaneTemplate is the Schema for the captcontrolplanetemplates API
func (*CAPTControlPlaneTemplate) DeepCopy ¶ added in v0.4.1
func (in *CAPTControlPlaneTemplate) DeepCopy() *CAPTControlPlaneTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlaneTemplate.
func (*CAPTControlPlaneTemplate) DeepCopyInto ¶ added in v0.4.1
func (in *CAPTControlPlaneTemplate) DeepCopyInto(out *CAPTControlPlaneTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CAPTControlPlaneTemplate) DeepCopyObject ¶ added in v0.4.1
func (in *CAPTControlPlaneTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CAPTControlPlaneTemplate) Default ¶ added in v0.4.1
func (r *CAPTControlPlaneTemplate) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*CAPTControlPlaneTemplate) SetupWebhookWithManager ¶ added in v0.4.1
func (r *CAPTControlPlaneTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*CAPTControlPlaneTemplate) ValidateCreate ¶ added in v0.4.1
func (r *CAPTControlPlaneTemplate) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*CAPTControlPlaneTemplate) ValidateDelete ¶ added in v0.4.1
func (r *CAPTControlPlaneTemplate) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*CAPTControlPlaneTemplate) ValidateUpdate ¶ added in v0.4.1
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type CAPTControlPlaneTemplateList ¶ added in v0.4.1
type CAPTControlPlaneTemplateList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []CAPTControlPlaneTemplate `json:"items"`
}
CAPTControlPlaneTemplateList contains a list of CAPTControlPlaneTemplate
func (*CAPTControlPlaneTemplateList) DeepCopy ¶ added in v0.4.1
func (in *CAPTControlPlaneTemplateList) DeepCopy() *CAPTControlPlaneTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlaneTemplateList.
func (*CAPTControlPlaneTemplateList) DeepCopyInto ¶ added in v0.4.1
func (in *CAPTControlPlaneTemplateList) DeepCopyInto(out *CAPTControlPlaneTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CAPTControlPlaneTemplateList) DeepCopyObject ¶ added in v0.4.1
func (in *CAPTControlPlaneTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CAPTControlPlaneTemplateResource ¶ added in v0.4.1
type CAPTControlPlaneTemplateResource struct {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
ObjectMeta metav1.ObjectMeta `json:"metadata,omitempty"`
// Spec is the specification for the template. All fields are optional to
// allow ClusterClass/topology patches to populate values.
// +optional
Spec CAPTControlPlaneTemplateResourceSpec `json:"spec,omitempty"`
}
CAPTControlPlaneTemplateResource describes the data needed to create a CAPTControlPlane from a template
func (*CAPTControlPlaneTemplateResource) DeepCopy ¶ added in v0.4.1
func (in *CAPTControlPlaneTemplateResource) DeepCopy() *CAPTControlPlaneTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlaneTemplateResource.
func (*CAPTControlPlaneTemplateResource) DeepCopyInto ¶ added in v0.4.1
func (in *CAPTControlPlaneTemplateResource) DeepCopyInto(out *CAPTControlPlaneTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CAPTControlPlaneTemplateResourceSpec ¶ added in v0.4.1
type CAPTControlPlaneTemplateResourceSpec struct {
// +optional
Version string `json:"version,omitempty"`
// +optional
WorkspaceTemplateRef *WorkspaceTemplateReferenceTemplate `json:"workspaceTemplateRef,omitempty"`
// +optional
ControlPlaneConfig *ControlPlaneConfigTemplate `json:"controlPlaneConfig,omitempty"`
// +optional
AdditionalTags map[string]string `json:"additionalTags,omitempty"`
// +optional
ControlPlaneEndpoint *APIEndpointTemplate `json:"controlPlaneEndpoint,omitempty"`
// +optional
WorkspaceTemplateApplyName string `json:"workspaceTemplateApplyName,omitempty"`
}
CAPTControlPlaneTemplateResourceSpec is the template spec with all fields optional
func (*CAPTControlPlaneTemplateResourceSpec) DeepCopy ¶ added in v0.4.1
func (in *CAPTControlPlaneTemplateResourceSpec) DeepCopy() *CAPTControlPlaneTemplateResourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlaneTemplateResourceSpec.
func (*CAPTControlPlaneTemplateResourceSpec) DeepCopyInto ¶ added in v0.4.1
func (in *CAPTControlPlaneTemplateResourceSpec) DeepCopyInto(out *CAPTControlPlaneTemplateResourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CAPTControlPlaneTemplateSpec ¶ added in v0.4.1
type CAPTControlPlaneTemplateSpec struct {
// Template is the template for the CaptControlPlane
Template CAPTControlPlaneTemplateResource `json:"template"`
}
CAPTControlPlaneTemplateSpec defines the desired state of CAPTControlPlaneTemplate
func (*CAPTControlPlaneTemplateSpec) DeepCopy ¶ added in v0.4.1
func (in *CAPTControlPlaneTemplateSpec) DeepCopy() *CAPTControlPlaneTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlaneTemplateSpec.
func (*CAPTControlPlaneTemplateSpec) DeepCopyInto ¶ added in v0.4.1
func (in *CAPTControlPlaneTemplateSpec) DeepCopyInto(out *CAPTControlPlaneTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlaneConfig ¶
type ControlPlaneConfig struct {
// Region specifies the AWS region where the control plane will be created
// +optional
// +kubebuilder:validation:Pattern="^[a-z]{2}-[a-z]+-[0-9]$"
Region string `json:"region,omitempty"`
// EndpointAccess defines the access configuration for the API server endpoint
// +optional
EndpointAccess *EndpointAccess `json:"endpointAccess,omitempty"`
// Addons defines the EKS addons to be installed
// +optional
Addons []Addon `json:"addons,omitempty"`
// Timeouts defines timeout settings for various operations
// +optional
Timeouts *TimeoutConfig `json:"timeouts,omitempty"`
}
ControlPlaneConfig contains EKS-specific configuration
func (*ControlPlaneConfig) DeepCopy ¶
func (in *ControlPlaneConfig) DeepCopy() *ControlPlaneConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneConfig.
func (*ControlPlaneConfig) DeepCopyInto ¶
func (in *ControlPlaneConfig) DeepCopyInto(out *ControlPlaneConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlaneConfigTemplate ¶ added in v0.4.1
type ControlPlaneConfigTemplate struct {
// AWS region where the control plane will be created
// +optional
// +kubebuilder:validation:Pattern="^[a-z]{2}-[a-z]+-[0-9]$"
Region string `json:"region,omitempty"`
// +optional
EndpointAccess *EndpointAccessTemplate `json:"endpointAccess,omitempty"`
// +optional
Addons []AddonTemplate `json:"addons,omitempty"`
// +optional
Timeouts *TimeoutConfigTemplate `json:"timeouts,omitempty"`
}
ControlPlaneConfigTemplate contains EKS-specific configuration for templates (all optional)
func (*ControlPlaneConfigTemplate) DeepCopy ¶ added in v0.4.1
func (in *ControlPlaneConfigTemplate) DeepCopy() *ControlPlaneConfigTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneConfigTemplate.
func (*ControlPlaneConfigTemplate) DeepCopyInto ¶ added in v0.4.1
func (in *ControlPlaneConfigTemplate) DeepCopyInto(out *ControlPlaneConfigTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointAccess ¶
type EndpointAccess struct {
// Public controls whether the API server has public access
// +optional
Public bool `json:"public,omitempty"`
// Private controls whether the API server has private access
// +optional
Private bool `json:"private,omitempty"`
// PublicCIDRs is a list of CIDR blocks that can access the API server
// +optional
PublicCIDRs []string `json:"publicCIDRs,omitempty"`
}
EndpointAccess defines the access configuration for the API server endpoint
func (*EndpointAccess) DeepCopy ¶
func (in *EndpointAccess) DeepCopy() *EndpointAccess
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointAccess.
func (*EndpointAccess) DeepCopyInto ¶
func (in *EndpointAccess) DeepCopyInto(out *EndpointAccess)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointAccessTemplate ¶ added in v0.4.1
type EndpointAccessTemplate struct {
// +optional
Public bool `json:"public,omitempty"`
// +optional
Private bool `json:"private,omitempty"`
// +optional
PublicCIDRs []string `json:"publicCIDRs,omitempty"`
}
EndpointAccessTemplate defines API server endpoint access (all optional)
func (*EndpointAccessTemplate) DeepCopy ¶ added in v0.4.1
func (in *EndpointAccessTemplate) DeepCopy() *EndpointAccessTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointAccessTemplate.
func (*EndpointAccessTemplate) DeepCopyInto ¶ added in v0.4.1
func (in *EndpointAccessTemplate) DeepCopyInto(out *EndpointAccessTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeoutConfig ¶
type TimeoutConfig struct {
// ControlPlaneTimeout is the timeout in minutes for control plane creation
// +optional
// +kubebuilder:validation:Minimum=1
// +kubebuilder:default=30
ControlPlaneTimeout *int `json:"controlPlaneTimeout,omitempty"`
// VPCReadyTimeout is the timeout in minutes for VPC ready check
// +optional
// +kubebuilder:validation:Minimum=1
// +kubebuilder:default=15
VPCReadyTimeout *int `json:"vpcReadyTimeout,omitempty"`
}
TimeoutConfig defines timeout settings for various operations
func (*TimeoutConfig) DeepCopy ¶
func (in *TimeoutConfig) DeepCopy() *TimeoutConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeoutConfig.
func (*TimeoutConfig) DeepCopyInto ¶
func (in *TimeoutConfig) DeepCopyInto(out *TimeoutConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeoutConfigTemplate ¶ added in v0.4.1
type TimeoutConfigTemplate struct {
// ControlPlaneTimeout is the timeout in minutes for control plane creation
// +optional
// +kubebuilder:validation:Minimum=1
// +kubebuilder:default=30
ControlPlaneTimeout *int `json:"controlPlaneTimeout,omitempty"`
// VPCReadyTimeout is the timeout in minutes for VPC ready check
// +optional
// +kubebuilder:validation:Minimum=1
// +kubebuilder:default=15
VPCReadyTimeout *int `json:"vpcReadyTimeout,omitempty"`
}
TimeoutConfigTemplate defines timeout settings (kept optional)
func (*TimeoutConfigTemplate) DeepCopy ¶ added in v0.4.1
func (in *TimeoutConfigTemplate) DeepCopy() *TimeoutConfigTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeoutConfigTemplate.
func (*TimeoutConfigTemplate) DeepCopyInto ¶ added in v0.4.1
func (in *TimeoutConfigTemplate) DeepCopyInto(out *TimeoutConfigTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceStatus ¶ added in v0.2.0
type WorkspaceStatus struct {
// Ready indicates if the Workspace is ready
// +optional
Ready bool `json:"ready"`
// State represents the current state of the Workspace
// +optional
State string `json:"state,omitempty"`
// AtProvider contains the observed state of the provider
// +optional
AtProvider *runtime.RawExtension `json:"atProvider,omitempty"`
}
WorkspaceStatus contains the status of the associated Workspace
func (*WorkspaceStatus) DeepCopy ¶ added in v0.2.0
func (in *WorkspaceStatus) DeepCopy() *WorkspaceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceStatus.
func (*WorkspaceStatus) DeepCopyInto ¶ added in v0.2.0
func (in *WorkspaceStatus) DeepCopyInto(out *WorkspaceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceTemplateReference ¶
type WorkspaceTemplateReference struct {
// Name is the name of the WorkspaceTemplate.
// +kubebuilder:validation:Required
Name string `json:"name"`
// Namespace is the namespace of the WorkspaceTemplate.
// +optional
Namespace string `json:"namespace,omitempty"`
}
WorkspaceTemplateReference contains the reference to WorkspaceTemplate
func (*WorkspaceTemplateReference) DeepCopy ¶
func (in *WorkspaceTemplateReference) DeepCopy() *WorkspaceTemplateReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplateReference.
func (*WorkspaceTemplateReference) DeepCopyInto ¶
func (in *WorkspaceTemplateReference) DeepCopyInto(out *WorkspaceTemplateReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceTemplateReferenceTemplate ¶ added in v0.4.1
type WorkspaceTemplateReferenceTemplate struct {
// Name is the name of the WorkspaceTemplate.
// +optional
Name string `json:"name,omitempty"`
// Namespace is the namespace of the WorkspaceTemplate.
// +optional
Namespace string `json:"namespace,omitempty"`
}
WorkspaceTemplateReferenceTemplate contains the reference to WorkspaceTemplate (all optional for templates)
func (*WorkspaceTemplateReferenceTemplate) DeepCopy ¶ added in v0.4.1
func (in *WorkspaceTemplateReferenceTemplate) DeepCopy() *WorkspaceTemplateReferenceTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplateReferenceTemplate.
func (*WorkspaceTemplateReferenceTemplate) DeepCopyInto ¶ added in v0.4.1
func (in *WorkspaceTemplateReferenceTemplate) DeepCopyInto(out *WorkspaceTemplateReferenceTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceTemplateStatus ¶
type WorkspaceTemplateStatus struct {
// Ready indicates if the WorkspaceTemplate is ready
// +optional
Ready bool `json:"ready"`
// State represents the current state of the WorkspaceTemplate
// +optional
State string `json:"state,omitempty"`
// LastAppliedRevision is the revision of the WorkspaceTemplate that was last applied
// +optional
LastAppliedRevision string `json:"lastAppliedRevision,omitempty"`
// Outputs contains the outputs from the WorkspaceTemplate
// +optional
Outputs map[string]string `json:"outputs,omitempty"`
// LastFailedRevision is the revision of the WorkspaceTemplate that last failed
// +optional
LastFailedRevision string `json:"lastFailedRevision,omitempty"`
// LastFailureMessage contains the error message from the last failure
// +optional
LastFailureMessage string `json:"lastFailureMessage,omitempty"`
}
WorkspaceTemplateStatus contains the status of the WorkspaceTemplate
func (*WorkspaceTemplateStatus) DeepCopy ¶
func (in *WorkspaceTemplateStatus) DeepCopy() *WorkspaceTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplateStatus.
func (*WorkspaceTemplateStatus) DeepCopyInto ¶
func (in *WorkspaceTemplateStatus) DeepCopyInto(out *WorkspaceTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.