Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the infrastructure v1alpha1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
Index ¶
- Variables
- type TFCManagedControlPlane
- type TFCManagedControlPlaneList
- type TFCManagedControlPlaneSpec
- type TFCManagedControlPlaneStatus
- type TFCManagedMachinePool
- type TFCManagedMachinePoolList
- type TFCManagedMachinePoolSpec
- type TFCManagedMachinePoolStatus
- type TerraformModule
- type TerraformStatus
- type Token
- type Variable
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "infrastructure.cluster.x-k8s.io", Version: "v1alpha1"} // 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 TFCManagedControlPlane ¶
type TFCManagedControlPlane struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TFCManagedControlPlaneSpec `json:"spec,omitempty"` Status TFCManagedControlPlaneStatus `json:"status,omitempty"` }
TFCManagedControlPlane is the Schema for the tfcmanagedcontrolplanes API
func (*TFCManagedControlPlane) DeepCopy ¶
func (in *TFCManagedControlPlane) DeepCopy() *TFCManagedControlPlane
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TFCManagedControlPlane.
func (*TFCManagedControlPlane) DeepCopyInto ¶
func (in *TFCManagedControlPlane) DeepCopyInto(out *TFCManagedControlPlane)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TFCManagedControlPlane) DeepCopyObject ¶
func (in *TFCManagedControlPlane) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TFCManagedControlPlaneList ¶
type TFCManagedControlPlaneList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TFCManagedControlPlane `json:"items"` }
TFCManagedControlPlaneList contains a list of TFCManagedControlPlane
func (*TFCManagedControlPlaneList) DeepCopy ¶
func (in *TFCManagedControlPlaneList) DeepCopy() *TFCManagedControlPlaneList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TFCManagedControlPlaneList.
func (*TFCManagedControlPlaneList) DeepCopyInto ¶
func (in *TFCManagedControlPlaneList) DeepCopyInto(out *TFCManagedControlPlaneList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TFCManagedControlPlaneList) DeepCopyObject ¶
func (in *TFCManagedControlPlaneList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TFCManagedControlPlaneSpec ¶
type TFCManagedControlPlaneSpec struct { // Organization is the name of the Terraform Cloud organization to use Organization string `json:"organization"` // Workspace is the name of the Terraform Cloud Workspace to execute the terraform run in // TODO: change this to a struct that supports ID or name Workspace string `json:"workspace"` // Token is the API token for accessing Terraform Cloud Token Token `json:"token"` // Module is the Terraform module to use for provisioning the Kubernetes Cluster Module TerraformModule `json:"module"` // Version is the Kubernetes cluster version to provision Version string `json:"version"` // AutoApply configures if plans should be applied straight away or manually approved in the Terraform Cloud UI AutoApply bool `json:"autoApply"` // Variables is the list of variables to supply to the Terraform module which creates the Kubernetes Cluster Variables []Variable `json:"variables"` // ControlPlaneEndpoint is the endpoint for the control plane ControlPlaneEndpoint clusterv1beta1.APIEndpoint `json:"controlPlaneEndpoint,omitempty"` }
TFCManagedControlPlaneSpec defines the desired state of TFCManagedControlPlane
func (*TFCManagedControlPlaneSpec) DeepCopy ¶
func (in *TFCManagedControlPlaneSpec) DeepCopy() *TFCManagedControlPlaneSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TFCManagedControlPlaneSpec.
func (*TFCManagedControlPlaneSpec) DeepCopyInto ¶
func (in *TFCManagedControlPlaneSpec) DeepCopyInto(out *TFCManagedControlPlaneSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TFCManagedControlPlaneStatus ¶
type TFCManagedControlPlaneStatus struct { // +kubebuilder:default=false Ready bool `json:"ready"` Initialized bool `json:"initialized"` Terraform TerraformStatus `json:"terraform,omitempty"` }
TFCManagedControlPlaneStatus defines the observed state of TFCManagedControlPlane
func (*TFCManagedControlPlaneStatus) DeepCopy ¶
func (in *TFCManagedControlPlaneStatus) DeepCopy() *TFCManagedControlPlaneStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TFCManagedControlPlaneStatus.
func (*TFCManagedControlPlaneStatus) DeepCopyInto ¶
func (in *TFCManagedControlPlaneStatus) DeepCopyInto(out *TFCManagedControlPlaneStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TFCManagedMachinePool ¶
type TFCManagedMachinePool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TFCManagedMachinePoolSpec `json:"spec,omitempty"` Status TFCManagedMachinePoolStatus `json:"status,omitempty"` }
TFCManagedMachinePool is the Schema for the tfcmanagedmachinepools API
func (*TFCManagedMachinePool) DeepCopy ¶
func (in *TFCManagedMachinePool) DeepCopy() *TFCManagedMachinePool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TFCManagedMachinePool.
func (*TFCManagedMachinePool) DeepCopyInto ¶
func (in *TFCManagedMachinePool) DeepCopyInto(out *TFCManagedMachinePool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TFCManagedMachinePool) DeepCopyObject ¶
func (in *TFCManagedMachinePool) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TFCManagedMachinePoolList ¶
type TFCManagedMachinePoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TFCManagedMachinePool `json:"items"` }
TFCManagedMachinePoolList contains a list of TFCManagedMachinePool
func (*TFCManagedMachinePoolList) DeepCopy ¶
func (in *TFCManagedMachinePoolList) DeepCopy() *TFCManagedMachinePoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TFCManagedMachinePoolList.
func (*TFCManagedMachinePoolList) DeepCopyInto ¶
func (in *TFCManagedMachinePoolList) DeepCopyInto(out *TFCManagedMachinePoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TFCManagedMachinePoolList) DeepCopyObject ¶
func (in *TFCManagedMachinePoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TFCManagedMachinePoolSpec ¶
type TFCManagedMachinePoolSpec struct { // Organization is the name of the Terraform Cloud organization to use Organization string `json:"organization"` // Workspace is the name of the Terraform Cloud Workspace to execute the terraform run in // TODO: change this to a struct that supports ID or name Workspace string `json:"workspace"` // Token is the API token for accessing Terraform Cloud Token Token `json:"token"` // Module is the Terraform module to use for provisioning the Kubernetes Cluster Module TerraformModule `json:"module"` // AutoApply configures if plans should be applied straight away or manually approved in the Terraform Cloud UI AutoApply bool `json:"autoApply"` // Variables is the list of variables to supply to the Terraform module which creates the Kubernetes Cluster Variables []Variable `json:"variables"` // ProviderIDList is a list of cloud provider IDs identifying the instances. ProviderIDList []string `json:"providerIDList,omitempty"` }
TFCManagedMachinePoolSpec defines the desired state of TFCManagedMachinePool
func (*TFCManagedMachinePoolSpec) DeepCopy ¶
func (in *TFCManagedMachinePoolSpec) DeepCopy() *TFCManagedMachinePoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TFCManagedMachinePoolSpec.
func (*TFCManagedMachinePoolSpec) DeepCopyInto ¶
func (in *TFCManagedMachinePoolSpec) DeepCopyInto(out *TFCManagedMachinePoolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TFCManagedMachinePoolStatus ¶
type TFCManagedMachinePoolStatus struct { Ready bool `json:"ready,omitempty"` Terraform TerraformStatus `json:"terraform,omitempty"` }
TFCManagedMachinePoolStatus defines the observed state of TFCManagedMachinePool
func (*TFCManagedMachinePoolStatus) DeepCopy ¶
func (in *TFCManagedMachinePoolStatus) DeepCopy() *TFCManagedMachinePoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TFCManagedMachinePoolStatus.
func (*TFCManagedMachinePoolStatus) DeepCopyInto ¶
func (in *TFCManagedMachinePoolStatus) DeepCopyInto(out *TFCManagedMachinePoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TerraformModule ¶
type TerraformModule struct { // Source is the Terraform Registry or HTTP URL of the module source Source string `json:"source"` // Version is the semantic version of the Terraform Module Version string `json:"version"` }
TerraformModule defines the source and version for a Terraform module
func (*TerraformModule) DeepCopy ¶
func (in *TerraformModule) DeepCopy() *TerraformModule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TerraformModule.
func (*TerraformModule) DeepCopyInto ¶
func (in *TerraformModule) DeepCopyInto(out *TerraformModule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TerraformStatus ¶
type TerraformStatus struct { // subresource for TerraformRun RunID string `json:"runID,omitempty"` RunStatus string `json:"runStatus,omitempty"` RunStartedAt metav1.Time `json:"runStartedAt,omitempty"` RunFinishedAt metav1.Time `json:"runFinishedAt,omitempty"` ConfigurationVersionID string `json:"configurationVersionID,omitempty"` ConfigurationHash string `json:"configurationHash,omitempty"` }
TerraformStatus defines status information about the terraform workspace
func (*TerraformStatus) DeepCopy ¶
func (in *TerraformStatus) DeepCopy() *TerraformStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TerraformStatus.
func (*TerraformStatus) DeepCopyInto ¶
func (in *TerraformStatus) DeepCopyInto(out *TerraformStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Token ¶
type Token struct { // Selects a key of a secret in the workspace's namespace SecretKeyRef *corev1.SecretKeySelector `json:"secretKeyRef"` }
Token refers to a Kubernetes Secret object within the same namespace as the Workspace object
func (*Token) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Token.
func (*Token) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Variable ¶
type Variable struct { // Name is the name of the variable Name string `json:"name"` }
Variable is a Terraform Variable
func (*Variable) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Variable.
func (*Variable) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.