v1beta1

package
v0.0.0-...-6151646 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

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

This section is empty.

Variables

View Source
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

Types

type CivoCluster

type CivoCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CivoClusterSpec   `json:"spec,omitempty"`
	Status CivoClusterStatus `json:"status,omitempty"`
}

CivoCluster is the Schema for the civoclusters API

func (*CivoCluster) DeepCopy

func (in *CivoCluster) DeepCopy() *CivoCluster

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CivoCluster.

func (*CivoCluster) DeepCopyInto

func (in *CivoCluster) DeepCopyInto(out *CivoCluster)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CivoCluster) DeepCopyObject

func (in *CivoCluster) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CivoClusterList

type CivoClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CivoCluster `json:"items"`
}

CivoClusterList contains a list of CivoCluster

func (*CivoClusterList) DeepCopy

func (in *CivoClusterList) DeepCopy() *CivoClusterList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CivoClusterList.

func (*CivoClusterList) DeepCopyInto

func (in *CivoClusterList) DeepCopyInto(out *CivoClusterList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CivoClusterList) DeepCopyObject

func (in *CivoClusterList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CivoClusterSpec

type CivoClusterSpec struct {

	// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.
	ControlPlaneEndpoint v1beta1.APIEndpoint `json:"controlPlaneEndpoint,omitempty"`

	// ID represents cluster identifier
	// +optional
	ID     *string                     `json:"id,omitempty"`
	Config CivoKubernetesClusterConfig `json:"config,omitempty"`
}

CivoClusterSpec defines the desired state of CivoCluster

func (*CivoClusterSpec) DeepCopy

func (in *CivoClusterSpec) DeepCopy() *CivoClusterSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CivoClusterSpec.

func (*CivoClusterSpec) DeepCopyInto

func (in *CivoClusterSpec) DeepCopyInto(out *CivoClusterSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CivoClusterStatus

type CivoClusterStatus struct {

	// Ready denotes that the cluster (infrastructure) is ready.
	// +optional
	Ready bool `json:"ready"`
}

CivoClusterStatus defines the observed state of CivoCluster

func (*CivoClusterStatus) DeepCopy

func (in *CivoClusterStatus) DeepCopy() *CivoClusterStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CivoClusterStatus.

func (*CivoClusterStatus) DeepCopyInto

func (in *CivoClusterStatus) DeepCopyInto(out *CivoClusterStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CivoKubernetesClusterConfig

type CivoKubernetesClusterConfig struct {
	Name              string                            `json:"name,omitempty"`
	Region            string                            `json:"region,omitempty"`
	NumTargetNodes    int                               `json:"num_target_nodes,omitempty"`
	TargetNodesSize   string                            `json:"target_nodes_size,omitempty"`
	KubernetesVersion string                            `json:"kubernetes_version,omitempty"`
	NodeDestroy       string                            `json:"node_destroy,omitempty"`
	NetworkID         string                            `json:"network_id,omitempty"`
	Tags              string                            `json:"tags,omitempty"`
	Pools             []CivoKubernetesClusterPoolConfig `json:"pools,omitempty"`
	Applications      string                            `json:"applications,omitempty"`
	InstanceFirewall  string                            `json:"instance_firewall,omitempty"`
	FirewallRule      string                            `json:"firewall_rule,omitempty"`
}

KubernetesClusterConfig is used to create a new cluster

func (*CivoKubernetesClusterConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CivoKubernetesClusterConfig.

func (*CivoKubernetesClusterConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CivoKubernetesClusterPoolConfig

type CivoKubernetesClusterPoolConfig struct {
	ID    string `json:"id,omitempty"`
	Count int    `json:"count,omitempty"`
	Size  string `json:"size,omitempty"`
}

KubernetesClusterPoolConfig is used to create a new cluster pool

func (*CivoKubernetesClusterPoolConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CivoKubernetesClusterPoolConfig.

func (*CivoKubernetesClusterPoolConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CivoMachine

type CivoMachine struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CivoMachineSpec   `json:"spec,omitempty"`
	Status CivoMachineStatus `json:"status,omitempty"`
}

CivoMachine is the Schema for the civomachines API

func (*CivoMachine) DeepCopy

func (in *CivoMachine) DeepCopy() *CivoMachine

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CivoMachine.

func (*CivoMachine) DeepCopyInto

func (in *CivoMachine) DeepCopyInto(out *CivoMachine)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CivoMachine) DeepCopyObject

func (in *CivoMachine) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CivoMachineList

type CivoMachineList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CivoMachine `json:"items"`
}

CivoMachineList contains a list of CivoMachine

func (*CivoMachineList) DeepCopy

func (in *CivoMachineList) DeepCopy() *CivoMachineList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CivoMachineList.

func (*CivoMachineList) DeepCopyInto

func (in *CivoMachineList) DeepCopyInto(out *CivoMachineList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CivoMachineList) DeepCopyObject

func (in *CivoMachineList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CivoMachineSpec

type CivoMachineSpec struct {
}

CivoMachineSpec defines the desired state of CivoMachine

func (*CivoMachineSpec) DeepCopy

func (in *CivoMachineSpec) DeepCopy() *CivoMachineSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CivoMachineSpec.

func (*CivoMachineSpec) DeepCopyInto

func (in *CivoMachineSpec) DeepCopyInto(out *CivoMachineSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CivoMachineStatus

type CivoMachineStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	// Ready is true when the provider resource is ready.
	// +optional
	Ready bool `json:"ready"`
}

CivoMachineStatus defines the observed state of CivoMachine

func (*CivoMachineStatus) DeepCopy

func (in *CivoMachineStatus) DeepCopy() *CivoMachineStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CivoMachineStatus.

func (*CivoMachineStatus) DeepCopyInto

func (in *CivoMachineStatus) DeepCopyInto(out *CivoMachineStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL