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
- type CAPTClusterList
- type CAPTClusterSpec
- type CAPTClusterStatus
- type CAPTClusterWorkspaceStatus
- type CaptInfraMachineTemplateResource
- type CaptInfraMachineTemplateResourceSpec
- type CaptInfraMachineTemplateSpec
- type CaptMachine
- type CaptMachineDeployment
- type CaptMachineDeploymentList
- type CaptMachineDeploymentSpec
- type CaptMachineDeploymentStatus
- type CaptMachineList
- type CaptMachineSet
- type CaptMachineSetList
- type CaptMachineSetSpec
- type CaptMachineSetStatus
- type CaptMachineSpec
- type CaptMachineStatus
- type CaptMachineTemplate
- type CaptMachineTemplateList
- type CaptMachineTemplateSpec
- type MachineDeploymentStrategy
- type MachineRollingUpdateDeployment
- type NodeGroupReference
- type NodeType
- type ScalingConfig
- type VPCConfig
- type WorkspaceReference
- 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.
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"` }
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 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 CaptInfraMachineTemplateResource ¶
type CaptInfraMachineTemplateResource struct { // Spec is the specification of the desired behavior of the machine. Spec CaptInfraMachineTemplateResourceSpec `json:"spec"` }
CaptInfraMachineTemplateResource describes the data needed to create a CaptMachine from a template
func (*CaptInfraMachineTemplateResource) DeepCopy ¶
func (in *CaptInfraMachineTemplateResource) DeepCopy() *CaptInfraMachineTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptInfraMachineTemplateResource.
func (*CaptInfraMachineTemplateResource) DeepCopyInto ¶
func (in *CaptInfraMachineTemplateResource) DeepCopyInto(out *CaptInfraMachineTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CaptInfraMachineTemplateResourceSpec ¶
type CaptInfraMachineTemplateResourceSpec struct { // WorkspaceTemplateRef is a reference to the WorkspaceTemplate used for creating the machine // +kubebuilder:validation:Required WorkspaceTemplateRef WorkspaceTemplateReference `json:"workspaceTemplateRef"` // NodeType specifies the type of node group (ManagedNodeGroup or Fargate) // +kubebuilder:validation:Required NodeType NodeType `json:"nodeType"` // InstanceType is the EC2 instance type to use for the node // +optional InstanceType string `json:"instanceType,omitempty"` // Scaling defines the scaling configuration for the node group // +optional Scaling *ScalingConfig `json:"scaling,omitempty"` // Labels is a map of kubernetes labels to apply to the node // +optional Labels map[string]string `json:"labels,omitempty"` // Taints specifies the taints to apply to the nodes // +optional Taints []corev1.Taint `json:"taints,omitempty"` // AdditionalTags is a map of additional AWS tags to apply to the node group // +optional AdditionalTags map[string]string `json:"additionalTags,omitempty"` }
CaptInfraMachineTemplateResourceSpec defines the desired state of CaptMachineTemplateResource
func (*CaptInfraMachineTemplateResourceSpec) DeepCopy ¶
func (in *CaptInfraMachineTemplateResourceSpec) DeepCopy() *CaptInfraMachineTemplateResourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptInfraMachineTemplateResourceSpec.
func (*CaptInfraMachineTemplateResourceSpec) DeepCopyInto ¶
func (in *CaptInfraMachineTemplateResourceSpec) DeepCopyInto(out *CaptInfraMachineTemplateResourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CaptInfraMachineTemplateSpec ¶
type CaptInfraMachineTemplateSpec struct { // Template is the template for creating a CaptMachine Template CaptInfraMachineTemplateResource `json:"template"` }
CaptInfraMachineTemplateSpec defines the desired state of CaptMachineTemplate
func (*CaptInfraMachineTemplateSpec) DeepCopy ¶
func (in *CaptInfraMachineTemplateSpec) DeepCopy() *CaptInfraMachineTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptInfraMachineTemplateSpec.
func (*CaptInfraMachineTemplateSpec) DeepCopyInto ¶
func (in *CaptInfraMachineTemplateSpec) DeepCopyInto(out *CaptInfraMachineTemplateSpec)
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.
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 CaptInfraMachineTemplateSpec `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.
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 NodeType ¶
type NodeType string
NodeType defines the type of node group +kubebuilder:validation:Enum=ManagedNodeGroup;Fargate
type ScalingConfig ¶
type ScalingConfig struct { // MinSize is the minimum size of the node group // +kubebuilder:validation:Minimum=0 MinSize int32 `json:"minSize"` // MaxSize is the maximum size of the node group // +kubebuilder:validation:Minimum=1 MaxSize int32 `json:"maxSize"` // DesiredSize is the desired size of the node group // +kubebuilder:validation:Minimum=0 DesiredSize int32 `json:"desiredSize"` }
ScalingConfig defines the scaling configuration for the node group
func (*ScalingConfig) DeepCopy ¶
func (in *ScalingConfig) DeepCopy() *ScalingConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalingConfig.
func (*ScalingConfig) DeepCopyInto ¶
func (in *ScalingConfig) DeepCopyInto(out *ScalingConfig)
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 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.