Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the infrastructure v1beta1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
Index ¶
- Constants
- Variables
- type CAPTCluster
- func (in *CAPTCluster) DeepCopy() *CAPTCluster
- func (in *CAPTCluster) DeepCopyInto(out *CAPTCluster)
- func (in *CAPTCluster) DeepCopyObject() runtime.Object
- func (r *CAPTCluster) Default()
- func (r *CAPTCluster) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *CAPTCluster) ValidateCreate() (admission.Warnings, error)
- func (r *CAPTCluster) ValidateDelete() (admission.Warnings, error)
- func (r *CAPTCluster) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type CAPTClusterList
- type CAPTClusterSpec
- type CAPTClusterStatus
- type CAPTClusterTemplate
- func (in *CAPTClusterTemplate) DeepCopy() *CAPTClusterTemplate
- func (in *CAPTClusterTemplate) DeepCopyInto(out *CAPTClusterTemplate)
- func (in *CAPTClusterTemplate) DeepCopyObject() runtime.Object
- func (r *CAPTClusterTemplate) Default()
- func (r *CAPTClusterTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *CAPTClusterTemplate) ValidateCreate() (admission.Warnings, error)
- func (r *CAPTClusterTemplate) ValidateDelete() (admission.Warnings, error)
- func (r *CAPTClusterTemplate) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type CAPTClusterTemplateList
- type CAPTClusterTemplateResource
- type CAPTClusterTemplateResourceSpec
- type CAPTClusterTemplateSpec
- type CAPTClusterWorkspaceStatus
- type CAPTMachineTemplateResource
- type CAPTMachineTemplateSpec
- type CaptMachine
- func (in *CaptMachine) DeepCopy() *CaptMachine
- func (in *CaptMachine) DeepCopyInto(out *CaptMachine)
- func (in *CaptMachine) DeepCopyObject() runtime.Object
- func (r *CaptMachine) Default()
- func (r *CaptMachine) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *CaptMachine) ValidateCreate() (admission.Warnings, error)
- func (r *CaptMachine) ValidateDelete() (admission.Warnings, error)
- func (r *CaptMachine) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type CaptMachineDeployment
- type CaptMachineDeploymentList
- type CaptMachineDeploymentSpec
- type CaptMachineDeploymentStatus
- type CaptMachineList
- type CaptMachineSet
- type CaptMachineSetList
- type CaptMachineSetSpec
- type CaptMachineSetStatus
- type CaptMachineSpec
- type CaptMachineStatus
- type CaptMachineTemplate
- func (in *CaptMachineTemplate) DeepCopy() *CaptMachineTemplate
- func (in *CaptMachineTemplate) DeepCopyInto(out *CaptMachineTemplate)
- func (in *CaptMachineTemplate) DeepCopyObject() runtime.Object
- func (r *CaptMachineTemplate) Default()
- func (r *CaptMachineTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *CaptMachineTemplate) ValidateCreate() (admission.Warnings, error)
- func (r *CaptMachineTemplate) ValidateDelete() (admission.Warnings, error)
- func (r *CaptMachineTemplate) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type CaptMachineTemplateList
- type CaptMachineTemplateSpec
- type MachineDeploymentStrategy
- type MachineRollingUpdateDeployment
- type NodeGroupReference
- type TemplateWorkspaceTemplateReference
- type VPCConfig
- type WorkspaceReference
- type WorkspaceStatus
- type WorkspaceTemplate
- type WorkspaceTemplateApply
- type WorkspaceTemplateApplyList
- type WorkspaceTemplateApplySpec
- type WorkspaceTemplateApplyStatus
- type WorkspaceTemplateDefinition
- type WorkspaceTemplateList
- type WorkspaceTemplateMetadata
- type WorkspaceTemplateReference
- type WorkspaceTemplateSpec
- type WorkspaceTemplateStatus
Constants ¶
const ( // VPCReadyCondition indicates that the VPC is ready VPCReadyCondition = "VPCReady" // VPCCreatingCondition indicates that the VPC is being created VPCCreatingCondition = "VPCCreating" // VPCFailedCondition indicates that VPC creation failed VPCFailedCondition = "VPCFailed" // ReasonExistingVPCUsed represents that an existing VPC is being used ReasonExistingVPCUsed = "ExistingVPCUsed" // ReasonVPCCreated represents that a new VPC has been created ReasonVPCCreated = "VPCCreated" // ReasonVPCCreating represents that a VPC is being created ReasonVPCCreating = "VPCCreating" // ReasonVPCCreationFailed represents that VPC creation failed ReasonVPCCreationFailed = "VPCCreationFailed" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "infrastructure.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 CAPTCluster ¶
type CAPTCluster struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CAPTClusterSpec `json:"spec,omitempty"`
Status CAPTClusterStatus `json:"status,omitempty"`
}
CAPTCluster is the Schema for the captclusters API
func (*CAPTCluster) DeepCopy ¶
func (in *CAPTCluster) DeepCopy() *CAPTCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTCluster.
func (*CAPTCluster) DeepCopyInto ¶
func (in *CAPTCluster) DeepCopyInto(out *CAPTCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CAPTCluster) DeepCopyObject ¶
func (in *CAPTCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CAPTCluster) Default ¶ added in v0.4.1
func (r *CAPTCluster) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*CAPTCluster) SetupWebhookWithManager ¶ added in v0.4.1
func (r *CAPTCluster) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*CAPTCluster) ValidateCreate ¶ added in v0.4.1
func (r *CAPTCluster) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*CAPTCluster) ValidateDelete ¶ added in v0.4.1
func (r *CAPTCluster) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*CAPTCluster) ValidateUpdate ¶ added in v0.4.1
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type CAPTClusterList ¶
type CAPTClusterList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []CAPTCluster `json:"items"`
}
CAPTClusterList contains a list of CAPTCluster
func (*CAPTClusterList) DeepCopy ¶
func (in *CAPTClusterList) DeepCopy() *CAPTClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTClusterList.
func (*CAPTClusterList) DeepCopyInto ¶
func (in *CAPTClusterList) DeepCopyInto(out *CAPTClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CAPTClusterList) DeepCopyObject ¶
func (in *CAPTClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CAPTClusterSpec ¶
type CAPTClusterSpec struct {
// Region is the AWS region where the cluster will be created
Region string `json:"region"`
// VPCTemplateRef is a reference to a WorkspaceTemplate resource for VPC configuration
// If specified, a new VPC will be created using this template
// +optional
VPCTemplateRef *WorkspaceTemplateReference `json:"vpcTemplateRef,omitempty"`
// ExistingVPCID is the ID of an existing VPC to use
// If specified, VPCTemplateRef must not be set
// +optional
ExistingVPCID string `json:"existingVpcId,omitempty"`
// RetainVPCOnDelete specifies whether to retain the VPC when the parent cluster is deleted
// This is useful when the VPC is shared among multiple projects
// This field is only effective when VPCTemplateRef is set
// +optional
RetainVPCOnDelete bool `json:"retainVpcOnDelete,omitempty"`
// VPCConfig contains VPC-specific configuration
// +optional
VPCConfig *VPCConfig `json:"vpcConfig,omitempty"`
// WorkspaceTemplateApplyName is the name of the WorkspaceTemplateApply used for this cluster.
// This field is managed by the controller and should not be modified manually.
// +optional
WorkspaceTemplateApplyName string `json:"workspaceTemplateApplyName,omitempty"`
}
CAPTClusterSpec defines the desired state of CAPTCluster
func (*CAPTClusterSpec) DeepCopy ¶
func (in *CAPTClusterSpec) DeepCopy() *CAPTClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTClusterSpec.
func (*CAPTClusterSpec) DeepCopyInto ¶
func (in *CAPTClusterSpec) DeepCopyInto(out *CAPTClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CAPTClusterSpec) ValidateVPCConfiguration ¶
func (s *CAPTClusterSpec) ValidateVPCConfiguration() error
ValidateVPCConfiguration validates that the VPC configuration is valid
type CAPTClusterStatus ¶
type CAPTClusterStatus struct {
// VPCWorkspaceName is the name of the associated VPC Terraform Workspace
// +optional
VPCWorkspaceName string `json:"vpcWorkspaceName,omitempty"`
// VPCID is the ID of the VPC being used
// This could be either a newly created VPC or an existing one
VPCID string `json:"vpcId,omitempty"`
// Ready denotes that the cluster infrastructure is ready
// +optional
Ready bool `json:"ready,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"`
// FailureDomains is a list of failure domain objects synced from the infrastructure provider.
// +optional
FailureDomains clusterv1.FailureDomains `json:"failureDomains,omitempty"`
// Conditions defines current service state of the CAPTCluster
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
// WorkspaceTemplateStatus contains the status of the WorkspaceTemplate
// +optional
WorkspaceTemplateStatus *CAPTClusterWorkspaceStatus `json:"workspaceTemplateStatus,omitempty"`
// WorkspaceStatus contains the status of the associated Workspace
// +optional
WorkspaceStatus *WorkspaceStatus `json:"workspaceStatus,omitempty"`
}
CAPTClusterStatus defines the observed state of CAPTCluster
func (*CAPTClusterStatus) DeepCopy ¶
func (in *CAPTClusterStatus) DeepCopy() *CAPTClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTClusterStatus.
func (*CAPTClusterStatus) DeepCopyInto ¶
func (in *CAPTClusterStatus) DeepCopyInto(out *CAPTClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CAPTClusterTemplate ¶ added in v0.4.1
type CAPTClusterTemplate struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CAPTClusterTemplateSpec `json:"spec,omitempty"`
}
CAPTClusterTemplate is the Schema for the captclustertemplates API
func (*CAPTClusterTemplate) DeepCopy ¶ added in v0.4.1
func (in *CAPTClusterTemplate) DeepCopy() *CAPTClusterTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTClusterTemplate.
func (*CAPTClusterTemplate) DeepCopyInto ¶ added in v0.4.1
func (in *CAPTClusterTemplate) DeepCopyInto(out *CAPTClusterTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CAPTClusterTemplate) DeepCopyObject ¶ added in v0.4.1
func (in *CAPTClusterTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CAPTClusterTemplate) Default ¶ added in v0.4.1
func (r *CAPTClusterTemplate) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*CAPTClusterTemplate) SetupWebhookWithManager ¶ added in v0.4.1
func (r *CAPTClusterTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*CAPTClusterTemplate) ValidateCreate ¶ added in v0.4.1
func (r *CAPTClusterTemplate) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*CAPTClusterTemplate) ValidateDelete ¶ added in v0.4.1
func (r *CAPTClusterTemplate) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*CAPTClusterTemplate) ValidateUpdate ¶ added in v0.4.1
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type CAPTClusterTemplateList ¶ added in v0.4.1
type CAPTClusterTemplateList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []CAPTClusterTemplate `json:"items"`
}
CAPTClusterTemplateList contains a list of CAPTClusterTemplate
func (*CAPTClusterTemplateList) DeepCopy ¶ added in v0.4.1
func (in *CAPTClusterTemplateList) DeepCopy() *CAPTClusterTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTClusterTemplateList.
func (*CAPTClusterTemplateList) DeepCopyInto ¶ added in v0.4.1
func (in *CAPTClusterTemplateList) DeepCopyInto(out *CAPTClusterTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CAPTClusterTemplateList) DeepCopyObject ¶ added in v0.4.1
func (in *CAPTClusterTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CAPTClusterTemplateResource ¶ added in v0.4.1
type CAPTClusterTemplateResource 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 CAPTClusterTemplateResourceSpec `json:"spec,omitempty"`
}
CAPTClusterTemplateResource describes the data needed to create a CAPTCluster from a template
func (*CAPTClusterTemplateResource) DeepCopy ¶ added in v0.4.1
func (in *CAPTClusterTemplateResource) DeepCopy() *CAPTClusterTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTClusterTemplateResource.
func (*CAPTClusterTemplateResource) DeepCopyInto ¶ added in v0.4.1
func (in *CAPTClusterTemplateResource) DeepCopyInto(out *CAPTClusterTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CAPTClusterTemplateResourceSpec ¶ added in v0.4.1
type CAPTClusterTemplateResourceSpec struct {
// +optional
Region string `json:"region,omitempty"`
// VPCTemplateRef is a reference to a WorkspaceTemplate resource for VPC configuration
// +optional
VPCTemplateRef *TemplateWorkspaceTemplateReference `json:"vpcTemplateRef,omitempty"`
// ExistingVPCID is the ID of an existing VPC to use
// +optional
ExistingVPCID string `json:"existingVpcId,omitempty"`
// RetainVPCOnDelete specifies whether to retain the VPC when the parent cluster is deleted
// +optional
RetainVPCOnDelete bool `json:"retainVpcOnDelete,omitempty"`
// VPCConfig contains VPC-specific configuration
// +optional
VPCConfig *VPCConfig `json:"vpcConfig,omitempty"`
// WorkspaceTemplateApplyName is the name of the WorkspaceTemplateApply used for this cluster.
// +optional
WorkspaceTemplateApplyName string `json:"workspaceTemplateApplyName,omitempty"`
}
CAPTClusterTemplateResourceSpec defines the desired state of CAPTCluster for templates (all optional)
func (*CAPTClusterTemplateResourceSpec) DeepCopy ¶ added in v0.4.1
func (in *CAPTClusterTemplateResourceSpec) DeepCopy() *CAPTClusterTemplateResourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTClusterTemplateResourceSpec.
func (*CAPTClusterTemplateResourceSpec) DeepCopyInto ¶ added in v0.4.1
func (in *CAPTClusterTemplateResourceSpec) DeepCopyInto(out *CAPTClusterTemplateResourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CAPTClusterTemplateSpec ¶ added in v0.4.1
type CAPTClusterTemplateSpec struct {
Template CAPTClusterTemplateResource `json:"template"`
}
CAPTClusterTemplateSpec defines the desired state of CAPTClusterTemplate
func (*CAPTClusterTemplateSpec) DeepCopy ¶ added in v0.4.1
func (in *CAPTClusterTemplateSpec) DeepCopy() *CAPTClusterTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTClusterTemplateSpec.
func (*CAPTClusterTemplateSpec) DeepCopyInto ¶ added in v0.4.1
func (in *CAPTClusterTemplateSpec) DeepCopyInto(out *CAPTClusterTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CAPTClusterWorkspaceStatus ¶
type CAPTClusterWorkspaceStatus struct {
// Ready indicates if the WorkspaceTemplate is ready
// +optional
Ready bool `json:"ready"`
// LastAppliedRevision is the revision of the WorkspaceTemplate that was last applied
// +optional
LastAppliedRevision string `json:"lastAppliedRevision,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"`
// WorkspaceName is the name of the associated workspace
// +optional
WorkspaceName string `json:"workspaceName,omitempty"`
// LastAppliedTime is the last time the template was applied
// +optional
LastAppliedTime *metav1.Time `json:"lastAppliedTime,omitempty"`
}
CAPTClusterWorkspaceStatus contains the status of the WorkspaceTemplate
func (*CAPTClusterWorkspaceStatus) DeepCopy ¶
func (in *CAPTClusterWorkspaceStatus) DeepCopy() *CAPTClusterWorkspaceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTClusterWorkspaceStatus.
func (*CAPTClusterWorkspaceStatus) DeepCopyInto ¶
func (in *CAPTClusterWorkspaceStatus) DeepCopyInto(out *CAPTClusterWorkspaceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CAPTMachineTemplateResource ¶ added in v0.4.1
type CAPTMachineTemplateResource struct {
// Spec is the specification of the desired behavior of the machine.
Spec CaptMachineSpec `json:"spec"`
}
CAPTMachineTemplateResource describes the data needed to create a CaptMachine from a template
func (*CAPTMachineTemplateResource) DeepCopy ¶ added in v0.4.1
func (in *CAPTMachineTemplateResource) DeepCopy() *CAPTMachineTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTMachineTemplateResource.
func (*CAPTMachineTemplateResource) DeepCopyInto ¶ added in v0.4.1
func (in *CAPTMachineTemplateResource) DeepCopyInto(out *CAPTMachineTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CAPTMachineTemplateSpec ¶ added in v0.4.1
type CAPTMachineTemplateSpec struct {
// Template is the template for creating a CaptMachine
Template CAPTMachineTemplateResource `json:"template"`
}
CAPTMachineTemplateSpec defines the desired state of CaptMachineTemplate
func (*CAPTMachineTemplateSpec) DeepCopy ¶ added in v0.4.1
func (in *CAPTMachineTemplateSpec) DeepCopy() *CAPTMachineTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPTMachineTemplateSpec.
func (*CAPTMachineTemplateSpec) DeepCopyInto ¶ added in v0.4.1
func (in *CAPTMachineTemplateSpec) DeepCopyInto(out *CAPTMachineTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CaptMachine ¶
type CaptMachine struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CaptMachineSpec `json:"spec,omitempty"`
Status CaptMachineStatus `json:"status,omitempty"`
}
CaptMachine is the Schema for the captmachines API
func (*CaptMachine) DeepCopy ¶
func (in *CaptMachine) DeepCopy() *CaptMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptMachine.
func (*CaptMachine) DeepCopyInto ¶
func (in *CaptMachine) DeepCopyInto(out *CaptMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CaptMachine) DeepCopyObject ¶
func (in *CaptMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CaptMachine) Default ¶ added in v0.4.1
func (r *CaptMachine) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*CaptMachine) SetupWebhookWithManager ¶ added in v0.4.1
func (r *CaptMachine) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*CaptMachine) ValidateCreate ¶ added in v0.4.1
func (r *CaptMachine) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*CaptMachine) ValidateDelete ¶ added in v0.4.1
func (r *CaptMachine) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*CaptMachine) ValidateUpdate ¶ added in v0.4.1
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type CaptMachineDeployment ¶
type CaptMachineDeployment struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CaptMachineDeploymentSpec `json:"spec,omitempty"`
Status CaptMachineDeploymentStatus `json:"status,omitempty"`
}
CaptMachineDeployment is the Schema for the captmachinedeployments API
func (*CaptMachineDeployment) DeepCopy ¶
func (in *CaptMachineDeployment) DeepCopy() *CaptMachineDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptMachineDeployment.
func (*CaptMachineDeployment) DeepCopyInto ¶
func (in *CaptMachineDeployment) DeepCopyInto(out *CaptMachineDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CaptMachineDeployment) DeepCopyObject ¶
func (in *CaptMachineDeployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CaptMachineDeploymentList ¶
type CaptMachineDeploymentList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []CaptMachineDeployment `json:"items"`
}
CaptMachineDeploymentList contains a list of CaptMachineDeployment
func (*CaptMachineDeploymentList) DeepCopy ¶
func (in *CaptMachineDeploymentList) DeepCopy() *CaptMachineDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptMachineDeploymentList.
func (*CaptMachineDeploymentList) DeepCopyInto ¶
func (in *CaptMachineDeploymentList) DeepCopyInto(out *CaptMachineDeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CaptMachineDeploymentList) DeepCopyObject ¶
func (in *CaptMachineDeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CaptMachineDeploymentSpec ¶
type CaptMachineDeploymentSpec struct {
// Replicas is the number of desired replicas.
// This is a pointer to distinguish between explicit zero and unspecified.
// +optional
Replicas *int32 `json:"replicas,omitempty"`
// Selector is a label query over machines that should match the replica count.
// It must match the machine template's labels.
// +optional
Selector *metav1.LabelSelector `json:"selector,omitempty"`
// Template is the object that describes the machine that will be created if
// insufficient replicas are detected.
Template CaptMachineTemplateSpec `json:"template"`
// Strategy describes how to replace existing machines with new ones.
// +optional
Strategy *MachineDeploymentStrategy `json:"strategy,omitempty"`
// MinReadySeconds is the minimum number of seconds for which a newly created machine should
// be ready without any of its container crashing, for it to be considered available.
// Defaults to 0 (machine will be considered available as soon as it is ready)
// +optional
MinReadySeconds int32 `json:"minReadySeconds,omitempty"`
// RevisionHistoryLimit is the maximum number of old MachineSets to retain to allow rollback.
// This is a pointer to distinguish between explicit zero and not specified.
// Defaults to 10.
// +optional
RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty"`
// Paused indicates that the deployment is paused.
// +optional
Paused bool `json:"paused,omitempty"`
// ProgressDeadlineSeconds is the maximum time in seconds for a deployment to
// make progress before it is considered to be failed. The deployment controller will
// continue to process failed deployments and a condition with a ProgressDeadlineExceeded
// reason will be surfaced in the deployment status. Note that progress will not be
// estimated during the time a deployment is paused. Defaults to 600s.
// +optional
ProgressDeadlineSeconds *int32 `json:"progressDeadlineSeconds,omitempty"`
}
CaptMachineDeploymentSpec defines the desired state of CaptMachineDeployment
func (*CaptMachineDeploymentSpec) DeepCopy ¶
func (in *CaptMachineDeploymentSpec) DeepCopy() *CaptMachineDeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptMachineDeploymentSpec.
func (*CaptMachineDeploymentSpec) DeepCopyInto ¶
func (in *CaptMachineDeploymentSpec) DeepCopyInto(out *CaptMachineDeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CaptMachineDeploymentStatus ¶
type CaptMachineDeploymentStatus struct {
// ObservedGeneration reflects the generation of the most recently observed MachineDeployment.
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
// The generation observed by the deployment controller.
// +optional
UpdatedReplicas int32 `json:"updatedReplicas,omitempty"`
// Total number of non-terminated machines targeted by this deployment (their labels match the selector).
// +optional
Replicas int32 `json:"replicas,omitempty"`
// Total number of available machines (ready for at least minReadySeconds).
// +optional
AvailableReplicas int32 `json:"availableReplicas,omitempty"`
// machines that are still required for the deployment to have 100% available capacity. They may
// either be machines that are running but not yet available or machines that still have not been created.
// +optional
UnavailableReplicas int32 `json:"unavailableReplicas,omitempty"`
// Represents the latest available observations of a deployment's current state.
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
// Count of hash collisions for the MachineDeployment. The MachineDeployment controller
// uses this field as a collision avoidance mechanism when it needs to create the name for the
// newest MachineSet.
// +optional
CollisionCount *int32 `json:"collisionCount,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"`
}
CaptMachineDeploymentStatus defines the observed state of CaptMachineDeployment
func (*CaptMachineDeploymentStatus) DeepCopy ¶
func (in *CaptMachineDeploymentStatus) DeepCopy() *CaptMachineDeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptMachineDeploymentStatus.
func (*CaptMachineDeploymentStatus) DeepCopyInto ¶
func (in *CaptMachineDeploymentStatus) DeepCopyInto(out *CaptMachineDeploymentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CaptMachineList ¶
type CaptMachineList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []CaptMachine `json:"items"`
}
CaptMachineList contains a list of CaptMachine
func (*CaptMachineList) DeepCopy ¶
func (in *CaptMachineList) DeepCopy() *CaptMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptMachineList.
func (*CaptMachineList) DeepCopyInto ¶
func (in *CaptMachineList) DeepCopyInto(out *CaptMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CaptMachineList) DeepCopyObject ¶
func (in *CaptMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CaptMachineSet ¶
type CaptMachineSet struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CaptMachineSetSpec `json:"spec,omitempty"`
Status CaptMachineSetStatus `json:"status,omitempty"`
}
CaptMachineSet is the Schema for the captmachinesets API
func (*CaptMachineSet) DeepCopy ¶
func (in *CaptMachineSet) DeepCopy() *CaptMachineSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptMachineSet.
func (*CaptMachineSet) DeepCopyInto ¶
func (in *CaptMachineSet) DeepCopyInto(out *CaptMachineSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CaptMachineSet) DeepCopyObject ¶
func (in *CaptMachineSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CaptMachineSetList ¶
type CaptMachineSetList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []CaptMachineSet `json:"items"`
}
CaptMachineSetList contains a list of CaptMachineSet
func (*CaptMachineSetList) DeepCopy ¶
func (in *CaptMachineSetList) DeepCopy() *CaptMachineSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptMachineSetList.
func (*CaptMachineSetList) DeepCopyInto ¶
func (in *CaptMachineSetList) DeepCopyInto(out *CaptMachineSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CaptMachineSetList) DeepCopyObject ¶
func (in *CaptMachineSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CaptMachineSetSpec ¶
type CaptMachineSetSpec struct {
// Replicas is the number of desired replicas.
// This is a pointer to distinguish between explicit zero and unspecified.
// +optional
Replicas *int32 `json:"replicas,omitempty"`
// Selector is a label query over machines that should match the replica count.
// It must match the machine template's labels.
// +optional
Selector *metav1.LabelSelector `json:"selector,omitempty"`
// Template is the object that describes the machine that will be created if
// insufficient replicas are detected.
Template CaptMachineTemplateSpec `json:"template"`
}
CaptMachineSetSpec defines the desired state of CaptMachineSet
func (*CaptMachineSetSpec) DeepCopy ¶
func (in *CaptMachineSetSpec) DeepCopy() *CaptMachineSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptMachineSetSpec.
func (*CaptMachineSetSpec) DeepCopyInto ¶
func (in *CaptMachineSetSpec) DeepCopyInto(out *CaptMachineSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CaptMachineSetStatus ¶
type CaptMachineSetStatus struct {
// Replicas is the most recently observed number of replicas.
Replicas int32 `json:"replicas"`
// The number of replicas that have labels matching the labels of the machine template of the MachineSet.
// +optional
FullyLabeledReplicas int32 `json:"fullyLabeledReplicas,omitempty"`
// The number of ready replicas for this machine set.
// +optional
ReadyReplicas int32 `json:"readyReplicas,omitempty"`
// The number of available replicas (ready for at least minReadySeconds) for this machine set.
// +optional
AvailableReplicas int32 `json:"availableReplicas,omitempty"`
// ObservedGeneration reflects the generation of the most recently observed MachineSet.
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
// Conditions defines current service state of the CaptMachineSet
// +optional
Conditions []metav1.Condition `json:"conditions,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"`
}
CaptMachineSetStatus defines the observed state of CaptMachineSet
func (*CaptMachineSetStatus) DeepCopy ¶
func (in *CaptMachineSetStatus) DeepCopy() *CaptMachineSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptMachineSetStatus.
func (*CaptMachineSetStatus) DeepCopyInto ¶
func (in *CaptMachineSetStatus) DeepCopyInto(out *CaptMachineSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CaptMachineSpec ¶
type CaptMachineSpec struct {
// NodeGroupRef is a reference to the NodeGroup this machine belongs to
// +kubebuilder:validation:Required
NodeGroupRef NodeGroupReference `json:"nodeGroupRef"`
// WorkspaceTemplateRef is a reference to the WorkspaceTemplate used for creating the machine
// +kubebuilder:validation:Required
WorkspaceTemplateRef WorkspaceTemplateReference `json:"workspaceTemplateRef"`
// InstanceType is the EC2 instance type to use for the node
// +kubebuilder:validation:Required
InstanceType string `json:"instanceType"`
// Labels is a map of kubernetes labels to apply to the node
// +optional
Labels map[string]string `json:"labels,omitempty"`
// Tags is a map of tags to apply to the node
// +optional
Tags map[string]string `json:"tags,omitempty"`
}
CaptMachineSpec defines the desired state of CaptMachine
func (*CaptMachineSpec) DeepCopy ¶
func (in *CaptMachineSpec) DeepCopy() *CaptMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptMachineSpec.
func (*CaptMachineSpec) DeepCopyInto ¶
func (in *CaptMachineSpec) DeepCopyInto(out *CaptMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CaptMachineStatus ¶
type CaptMachineStatus struct {
// Ready denotes that the machine is ready and joined to the node group
// +optional
Ready bool `json:"ready"`
// InstanceID is the ID of the EC2 instance
// +optional
InstanceID *string `json:"instanceId,omitempty"`
// PrivateIP is the private IP address of the machine
// +optional
PrivateIP *string `json:"privateIp,omitempty"`
// LastTransitionTime is the last time the Ready condition changed
// +optional
LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
// Conditions defines current service state of the CaptMachine
// +optional
Conditions []metav1.Condition `json:"conditions,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"`
}
CaptMachineStatus defines the observed state of CaptMachine
func (*CaptMachineStatus) DeepCopy ¶
func (in *CaptMachineStatus) DeepCopy() *CaptMachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptMachineStatus.
func (*CaptMachineStatus) DeepCopyInto ¶
func (in *CaptMachineStatus) DeepCopyInto(out *CaptMachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CaptMachineTemplate ¶
type CaptMachineTemplate struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CAPTMachineTemplateSpec `json:"spec,omitempty"`
}
CaptMachineTemplate is the Schema for the captmachinetemplates API
func (*CaptMachineTemplate) DeepCopy ¶
func (in *CaptMachineTemplate) DeepCopy() *CaptMachineTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptMachineTemplate.
func (*CaptMachineTemplate) DeepCopyInto ¶
func (in *CaptMachineTemplate) DeepCopyInto(out *CaptMachineTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CaptMachineTemplate) DeepCopyObject ¶
func (in *CaptMachineTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CaptMachineTemplate) Default ¶ added in v0.4.1
func (r *CaptMachineTemplate) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*CaptMachineTemplate) SetupWebhookWithManager ¶ added in v0.4.1
func (r *CaptMachineTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*CaptMachineTemplate) ValidateCreate ¶ added in v0.4.1
func (r *CaptMachineTemplate) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*CaptMachineTemplate) ValidateDelete ¶ added in v0.4.1
func (r *CaptMachineTemplate) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*CaptMachineTemplate) ValidateUpdate ¶ added in v0.4.1
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type CaptMachineTemplateList ¶
type CaptMachineTemplateList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []CaptMachineTemplate `json:"items"`
}
CaptMachineTemplateList contains a list of CaptMachineTemplate
func (*CaptMachineTemplateList) DeepCopy ¶
func (in *CaptMachineTemplateList) DeepCopy() *CaptMachineTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptMachineTemplateList.
func (*CaptMachineTemplateList) DeepCopyInto ¶
func (in *CaptMachineTemplateList) DeepCopyInto(out *CaptMachineTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CaptMachineTemplateList) DeepCopyObject ¶
func (in *CaptMachineTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CaptMachineTemplateSpec ¶
type CaptMachineTemplateSpec 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"`
// Specification of the desired behavior of the machine.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
Spec CaptMachineSpec `json:"spec,omitempty"`
}
CaptMachineTemplateSpec describes the data needed to create a CaptMachine from a template
func (*CaptMachineTemplateSpec) DeepCopy ¶
func (in *CaptMachineTemplateSpec) DeepCopy() *CaptMachineTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptMachineTemplateSpec.
func (*CaptMachineTemplateSpec) DeepCopyInto ¶
func (in *CaptMachineTemplateSpec) DeepCopyInto(out *CaptMachineTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineDeploymentStrategy ¶
type MachineDeploymentStrategy struct {
// Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
// +optional
Type string `json:"type,omitempty"`
// Rolling update config params. Present only if DeploymentStrategyType =
// RollingUpdate.
// +optional
RollingUpdate *MachineRollingUpdateDeployment `json:"rollingUpdate,omitempty"`
}
MachineDeploymentStrategy describes how to replace existing machines with new ones.
func (*MachineDeploymentStrategy) DeepCopy ¶
func (in *MachineDeploymentStrategy) DeepCopy() *MachineDeploymentStrategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentStrategy.
func (*MachineDeploymentStrategy) DeepCopyInto ¶
func (in *MachineDeploymentStrategy) DeepCopyInto(out *MachineDeploymentStrategy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineRollingUpdateDeployment ¶
type MachineRollingUpdateDeployment struct {
// Value can be an absolute number (ex: 5) or a percentage of desired machines (ex: 10%).
// Absolute number is calculated from percentage by rounding down.
// Defaults to 0.
// +optional
MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"`
// The maximum number of machines that can be scheduled above the desired number of
// machines.
// Value can be an absolute number (ex: 5) or a percentage of desired machines (ex: 10%).
// Absolute number is calculated from percentage by rounding up.
// Defaults to 1.
// +optional
MaxSurge *intstr.IntOrString `json:"maxSurge,omitempty"`
}
MachineRollingUpdateDeployment is the configuration for a rolling update.
func (*MachineRollingUpdateDeployment) DeepCopy ¶
func (in *MachineRollingUpdateDeployment) DeepCopy() *MachineRollingUpdateDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineRollingUpdateDeployment.
func (*MachineRollingUpdateDeployment) DeepCopyInto ¶
func (in *MachineRollingUpdateDeployment) DeepCopyInto(out *MachineRollingUpdateDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeGroupReference ¶
type NodeGroupReference struct {
// Name is the name of the NodeGroup
// +kubebuilder:validation:Required
Name string `json:"name"`
// Namespace is the namespace of the NodeGroup
// +kubebuilder:validation:Required
Namespace string `json:"namespace"`
}
NodeGroupReference contains the information necessary to let you specify a NodeGroup
func (*NodeGroupReference) DeepCopy ¶
func (in *NodeGroupReference) DeepCopy() *NodeGroupReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeGroupReference.
func (*NodeGroupReference) DeepCopyInto ¶
func (in *NodeGroupReference) DeepCopyInto(out *NodeGroupReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateWorkspaceTemplateReference ¶ added in v0.4.1
type TemplateWorkspaceTemplateReference struct {
// +optional
Name string `json:"name,omitempty"`
// +optional
Namespace string `json:"namespace,omitempty"`
}
TemplateWorkspaceTemplateReference contains the reference to a WorkspaceTemplate (all optional for templates)
func (*TemplateWorkspaceTemplateReference) DeepCopy ¶ added in v0.4.1
func (in *TemplateWorkspaceTemplateReference) DeepCopy() *TemplateWorkspaceTemplateReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateWorkspaceTemplateReference.
func (*TemplateWorkspaceTemplateReference) DeepCopyInto ¶ added in v0.4.1
func (in *TemplateWorkspaceTemplateReference) DeepCopyInto(out *TemplateWorkspaceTemplateReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VPCConfig ¶
type VPCConfig struct {
// Name is the name of the VPC
// If not specified, defaults to {cluster-name}-vpc
// +optional
Name string `json:"name,omitempty"`
}
VPCConfig contains configuration for the VPC
func (*VPCConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCConfig.
func (*VPCConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceReference ¶
type WorkspaceReference struct {
// Name of the referenced Workspace
// +kubebuilder:validation:Required
Name string `json:"name"`
// Namespace of the referenced Workspace
// +optional
Namespace string `json:"namespace,omitempty"`
}
WorkspaceReference defines a reference to a Workspace
func (*WorkspaceReference) DeepCopy ¶
func (in *WorkspaceReference) DeepCopy() *WorkspaceReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceReference.
func (*WorkspaceReference) DeepCopyInto ¶
func (in *WorkspaceReference) DeepCopyInto(out *WorkspaceReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceStatus ¶ added in v0.4.1
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.4.1
func (in *WorkspaceStatus) DeepCopy() *WorkspaceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceStatus.
func (*WorkspaceStatus) DeepCopyInto ¶ added in v0.4.1
func (in *WorkspaceStatus) DeepCopyInto(out *WorkspaceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceTemplate ¶
type WorkspaceTemplate struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec WorkspaceTemplateSpec `json:"spec,omitempty"`
Status WorkspaceTemplateStatus `json:"status,omitempty"`
}
WorkspaceTemplate is the Schema for the workspacetemplates API
func (*WorkspaceTemplate) DeepCopy ¶
func (in *WorkspaceTemplate) DeepCopy() *WorkspaceTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplate.
func (*WorkspaceTemplate) DeepCopyInto ¶
func (in *WorkspaceTemplate) DeepCopyInto(out *WorkspaceTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkspaceTemplate) DeepCopyObject ¶
func (in *WorkspaceTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkspaceTemplateApply ¶
type WorkspaceTemplateApply struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec WorkspaceTemplateApplySpec `json:"spec,omitempty"`
Status WorkspaceTemplateApplyStatus `json:"status,omitempty"`
}
WorkspaceTemplateApply is the Schema for the workspacetemplateapplies API
func (*WorkspaceTemplateApply) DeepCopy ¶
func (in *WorkspaceTemplateApply) DeepCopy() *WorkspaceTemplateApply
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplateApply.
func (*WorkspaceTemplateApply) DeepCopyInto ¶
func (in *WorkspaceTemplateApply) DeepCopyInto(out *WorkspaceTemplateApply)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkspaceTemplateApply) DeepCopyObject ¶
func (in *WorkspaceTemplateApply) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkspaceTemplateApplyList ¶
type WorkspaceTemplateApplyList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []WorkspaceTemplateApply `json:"items"`
}
WorkspaceTemplateApplyList contains a list of WorkspaceTemplateApply
func (*WorkspaceTemplateApplyList) DeepCopy ¶
func (in *WorkspaceTemplateApplyList) DeepCopy() *WorkspaceTemplateApplyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplateApplyList.
func (*WorkspaceTemplateApplyList) DeepCopyInto ¶
func (in *WorkspaceTemplateApplyList) DeepCopyInto(out *WorkspaceTemplateApplyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkspaceTemplateApplyList) DeepCopyObject ¶
func (in *WorkspaceTemplateApplyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkspaceTemplateApplySpec ¶
type WorkspaceTemplateApplySpec struct {
// TemplateRef references the WorkspaceTemplate to be applied
// +kubebuilder:validation:Required
TemplateRef WorkspaceTemplateReference `json:"templateRef"`
// WriteConnectionSecretToRef specifies the namespace and name of a
// Secret to which any connection details for this managed resource should
// be written.
// +optional
WriteConnectionSecretToRef *xpv1.SecretReference `json:"writeConnectionSecretToRef,omitempty"`
// Variables are used to override or provide additional variables to the workspace
// +optional
Variables map[string]string `json:"variables,omitempty"`
// WaitForSecrets specifies a list of secrets that must exist before creating the workspace
// +optional
WaitForSecrets []xpv1.SecretReference `json:"waitForSecrets,omitempty"`
// WaitForWorkspaces specifies a list of workspaces that must be ready before creating this workspace
// +optional
WaitForWorkspaces []WorkspaceReference `json:"waitForWorkspaces,omitempty"`
// RetainWorkspaceOnDelete specifies whether to retain the Workspace when this WorkspaceTemplateApply is deleted
// This is useful when the Workspace manages shared resources that should outlive this WorkspaceTemplateApply
// +optional
RetainWorkspaceOnDelete bool `json:"retainWorkspaceOnDelete,omitempty"`
}
WorkspaceTemplateApplySpec defines the desired state of WorkspaceTemplateApply
func (*WorkspaceTemplateApplySpec) DeepCopy ¶
func (in *WorkspaceTemplateApplySpec) DeepCopy() *WorkspaceTemplateApplySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplateApplySpec.
func (*WorkspaceTemplateApplySpec) DeepCopyInto ¶
func (in *WorkspaceTemplateApplySpec) DeepCopyInto(out *WorkspaceTemplateApplySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkspaceTemplateApplySpec) ValidateConfiguration ¶
func (s *WorkspaceTemplateApplySpec) ValidateConfiguration() error
ValidateConfiguration validates the WorkspaceTemplateApplySpec configuration
type WorkspaceTemplateApplyStatus ¶
type WorkspaceTemplateApplyStatus struct {
// WorkspaceName is the name of the created Terraform Workspace
// +optional
WorkspaceName string `json:"workspaceName,omitempty"`
// Applied indicates whether the template has been successfully applied
// +optional
Applied bool `json:"applied,omitempty"`
// LastAppliedTime is the last time this template was applied
// +optional
LastAppliedTime *metav1.Time `json:"lastAppliedTime,omitempty"`
// Conditions of the resource.
// +optional
Conditions []xpv1.Condition `json:"conditions,omitempty"`
}
WorkspaceTemplateApplyStatus defines the observed state of WorkspaceTemplateApply
func (*WorkspaceTemplateApplyStatus) DeepCopy ¶
func (in *WorkspaceTemplateApplyStatus) DeepCopy() *WorkspaceTemplateApplyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplateApplyStatus.
func (*WorkspaceTemplateApplyStatus) DeepCopyInto ¶
func (in *WorkspaceTemplateApplyStatus) DeepCopyInto(out *WorkspaceTemplateApplyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceTemplateDefinition ¶
type WorkspaceTemplateDefinition struct {
// Metadata contains template-specific metadata
// +optional
Metadata *WorkspaceTemplateMetadata `json:"metadata,omitempty"`
// Spec defines the desired state of the workspace
// +kubebuilder:validation:Required
Spec tfv1beta1.WorkspaceSpec `json:"spec"`
}
WorkspaceTemplateDefinition defines the template for creating workspaces
func (*WorkspaceTemplateDefinition) DeepCopy ¶
func (in *WorkspaceTemplateDefinition) DeepCopy() *WorkspaceTemplateDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplateDefinition.
func (*WorkspaceTemplateDefinition) DeepCopyInto ¶
func (in *WorkspaceTemplateDefinition) DeepCopyInto(out *WorkspaceTemplateDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceTemplateList ¶
type WorkspaceTemplateList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []WorkspaceTemplate `json:"items"`
}
WorkspaceTemplateList contains a list of WorkspaceTemplate
func (*WorkspaceTemplateList) DeepCopy ¶
func (in *WorkspaceTemplateList) DeepCopy() *WorkspaceTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplateList.
func (*WorkspaceTemplateList) DeepCopyInto ¶
func (in *WorkspaceTemplateList) DeepCopyInto(out *WorkspaceTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkspaceTemplateList) DeepCopyObject ¶
func (in *WorkspaceTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkspaceTemplateMetadata ¶
type WorkspaceTemplateMetadata struct {
// Description provides a human-readable description of the template
// +optional
Description string `json:"description,omitempty"`
// Version specifies the version of this template
// +optional
Version string `json:"version,omitempty"`
// Tags are key-value pairs that can be used to organize and categorize templates
// +optional
Tags map[string]string `json:"tags,omitempty"`
}
WorkspaceTemplateMetadata contains metadata specific to the workspace template
func (*WorkspaceTemplateMetadata) DeepCopy ¶
func (in *WorkspaceTemplateMetadata) DeepCopy() *WorkspaceTemplateMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplateMetadata.
func (*WorkspaceTemplateMetadata) DeepCopyInto ¶
func (in *WorkspaceTemplateMetadata) DeepCopyInto(out *WorkspaceTemplateMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceTemplateReference ¶
type WorkspaceTemplateReference struct {
// Name of the referenced WorkspaceTemplate
// +kubebuilder:validation:Required
Name string `json:"name"`
// Namespace of the referenced WorkspaceTemplate
// +optional
Namespace string `json:"namespace,omitempty"`
}
WorkspaceTemplateReference contains the reference to a 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 WorkspaceTemplateSpec ¶
type WorkspaceTemplateSpec struct {
// Template defines the workspace template
// +kubebuilder:validation:Required
Template WorkspaceTemplateDefinition `json:"template"`
// WriteConnectionSecretToRef specifies the namespace and name of a
// Secret to which any connection details for this managed resource should
// be written.
// +optional
WriteConnectionSecretToRef *xpv1.SecretReference `json:"writeConnectionSecretToRef,omitempty"`
}
WorkspaceTemplateSpec defines the desired state of WorkspaceTemplate
func (*WorkspaceTemplateSpec) DeepCopy ¶
func (in *WorkspaceTemplateSpec) DeepCopy() *WorkspaceTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceTemplateSpec.
func (*WorkspaceTemplateSpec) DeepCopyInto ¶
func (in *WorkspaceTemplateSpec) DeepCopyInto(out *WorkspaceTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceTemplateStatus ¶
type WorkspaceTemplateStatus struct {
// WorkspaceName is the name of the created Terraform Workspace
// +optional
WorkspaceName string `json:"workspaceName,omitempty"`
// Conditions of the resource.
// +optional
Conditions []xpv1.Condition `json:"conditions,omitempty"`
}
WorkspaceTemplateStatus defines the observed state of 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.
Source Files
¶
- captcluster_types.go
- captcluster_webhook.go
- captclustertemplate_types.go
- captclustertemplate_webhook.go
- captmachine_types.go
- captmachine_webhook.go
- captmachinedeployment_types.go
- captmachineset_types.go
- captmachinetemplate_types.go
- captmachinetemplate_webhook.go
- groupversion_info.go
- workspacetemplate_types.go
- workspacetemplateapply_types.go
- zz_generated.deepcopy.go