Documentation
¶
Overview ¶
Package v1beta2 contains API Schema definitions for the controlplane v1beta2 API group +kubebuilder:object:generate=true +groupName=controlplane.cluster.x-k8s.io
Index ¶
- Constants
- Variables
- type Addon
- type CAPTControlPlane
- func (in *CAPTControlPlane) DeepCopy() *CAPTControlPlane
- func (in *CAPTControlPlane) DeepCopyInto(out *CAPTControlPlane)
- func (in *CAPTControlPlane) DeepCopyObject() runtime.Object
- func (r *CAPTControlPlane) Default()
- func (*CAPTControlPlane) Hub()
- 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
- type CAPTControlPlaneTemplateList
- type CAPTControlPlaneTemplateResource
- type CAPTControlPlaneTemplateSpec
- type ControlPlaneConfig
- type EndpointAccess
- type TimeoutConfig
- type WorkspaceStatus
- type WorkspaceTemplateReference
- type WorkspaceTemplateStatus
Constants ¶
const ( ControlPlaneReadyCondition = "Ready" ControlPlaneInitializedCondition = "Initialized" ControlPlaneFailedCondition = "Failed" ControlPlaneCreatingCondition = "Creating" ReasonCreating = "Creating" ReasonReady = "Ready" ReasonFailed = "Failed" ReasonWaitingForVPC = "WaitingForVPC" ReasonVPCReadyTimeout = "VPCReadyTimeout" ReasonControlPlaneTimeout = "ControlPlaneTimeout" ReasonWorkspaceError = "WorkspaceError" )
Condition/Reason names are shared with v1beta1 for compatibility
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "controlplane.cluster.x-k8s.io", Version: "v1beta2"} // 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 Addon ¶
type Addon struct {
Name string `json:"name"`
Version string `json:"version,omitempty"`
ConfigurationValues string `json:"configurationValues,omitempty"`
}
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 CAPTControlPlane ¶
type CAPTControlPlane struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CAPTControlPlaneSpec `json:"spec,omitempty"`
Status CAPTControlPlaneStatus `json:"status,omitempty"`
}
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 ¶
func (r *CAPTControlPlane) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*CAPTControlPlane) SetupWebhookWithManager ¶
func (r *CAPTControlPlane) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*CAPTControlPlane) ValidateCreate ¶
func (r *CAPTControlPlane) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*CAPTControlPlane) ValidateDelete ¶
func (r *CAPTControlPlane) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*CAPTControlPlane) ValidateUpdate ¶
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"`
}
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 string `json:"version"`
WorkspaceTemplateRef WorkspaceTemplateReference `json:"workspaceTemplateRef"`
ControlPlaneConfig *ControlPlaneConfig `json:"controlPlaneConfig,omitempty"`
AdditionalTags map[string]string `json:"additionalTags,omitempty"`
ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint,omitempty"`
WorkspaceTemplateApplyName string `json:"workspaceTemplateApplyName,omitempty"`
}
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 bool `json:"ready"`
Initialized bool `json:"initialized"`
SecretsReady bool `json:"secretsReady"`
WorkspaceTemplateStatus *WorkspaceTemplateStatus `json:"workspaceTemplateStatus,omitempty"`
WorkspaceStatus *WorkspaceStatus `json:"workspaceStatus,omitempty"`
FailureReason *string `json:"failureReason,omitempty"`
FailureMessage *string `json:"failureMessage,omitempty"`
Phase string `json:"phase,omitempty"`
Conditions []metav1.Condition `json:"conditions,omitempty"`
}
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 ¶
type CAPTControlPlaneTemplate struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CAPTControlPlaneTemplateSpec `json:"spec,omitempty"`
}
func (*CAPTControlPlaneTemplate) DeepCopy ¶
func (in *CAPTControlPlaneTemplate) DeepCopy() *CAPTControlPlaneTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlaneTemplate.
func (*CAPTControlPlaneTemplate) DeepCopyInto ¶
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 ¶
func (in *CAPTControlPlaneTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CAPTControlPlaneTemplateList ¶
type CAPTControlPlaneTemplateList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []CAPTControlPlaneTemplate `json:"items"`
}
func (*CAPTControlPlaneTemplateList) DeepCopy ¶
func (in *CAPTControlPlaneTemplateList) DeepCopy() *CAPTControlPlaneTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlaneTemplateList.
func (*CAPTControlPlaneTemplateList) DeepCopyInto ¶
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 ¶
func (in *CAPTControlPlaneTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CAPTControlPlaneTemplateResource ¶
type CAPTControlPlaneTemplateResource struct {
ObjectMeta metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CAPTControlPlaneSpec `json:"spec"`
}
func (*CAPTControlPlaneTemplateResource) DeepCopy ¶
func (in *CAPTControlPlaneTemplateResource) DeepCopy() *CAPTControlPlaneTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlaneTemplateResource.
func (*CAPTControlPlaneTemplateResource) DeepCopyInto ¶
func (in *CAPTControlPlaneTemplateResource) DeepCopyInto(out *CAPTControlPlaneTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CAPTControlPlaneTemplateSpec ¶
type CAPTControlPlaneTemplateSpec struct {
Template CAPTControlPlaneTemplateResource `json:"template"`
}
func (*CAPTControlPlaneTemplateSpec) DeepCopy ¶
func (in *CAPTControlPlaneTemplateSpec) DeepCopy() *CAPTControlPlaneTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTControlPlaneTemplateSpec.
func (*CAPTControlPlaneTemplateSpec) DeepCopyInto ¶
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 string `json:"region"`
EndpointAccess *EndpointAccess `json:"endpointAccess,omitempty"`
Addons []Addon `json:"addons,omitempty"`
Timeouts *TimeoutConfig `json:"timeouts,omitempty"`
}
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 EndpointAccess ¶
type EndpointAccess struct {
Public bool `json:"public,omitempty"`
Private bool `json:"private,omitempty"`
PublicCIDRs []string `json:"publicCIDRs,omitempty"`
}
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 TimeoutConfig ¶
type TimeoutConfig struct {
ControlPlaneTimeout *int `json:"controlPlaneTimeout,omitempty"`
VPCReadyTimeout *int `json:"vpcReadyTimeout,omitempty"`
}
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 WorkspaceStatus ¶
type WorkspaceStatus struct {
Ready bool `json:"ready"`
State string `json:"state,omitempty"`
// AtProvider contains provider-specific observed state
// +optional
AtProvider *runtime.RawExtension `json:"atProvider,omitempty"`
}
func (*WorkspaceStatus) DeepCopy ¶
func (in *WorkspaceStatus) DeepCopy() *WorkspaceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceStatus.
func (*WorkspaceStatus) DeepCopyInto ¶
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 string `json:"name"`
Namespace string `json:"namespace,omitempty"`
}
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 WorkspaceTemplateStatus ¶
type WorkspaceTemplateStatus struct {
Ready bool `json:"ready"`
State string `json:"state,omitempty"`
LastAppliedRevision string `json:"lastAppliedRevision,omitempty"`
Outputs map[string]string `json:"outputs,omitempty"`
LastFailedRevision string `json:"lastFailedRevision,omitempty"`
LastFailureMessage string `json:"lastFailureMessage,omitempty"`
// WorkspaceName is the name of the associated Terraform Workspace
// +optional
WorkspaceName string `json:"workspaceName,omitempty"`
}
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.