v1beta1

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: Apache-2.0 Imports: 9 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

This section is empty.

Types

type ControlPlaneServiceTemplate added in v0.7.0

type ControlPlaneServiceTemplate struct {
	// Service metadata allows to set labels and annotations for the service.
	// This field is optional.
	// +kubebuilder:pruning:PreserveUnknownFields
	ObjectMeta metav1.ObjectMeta `json:"metadata,omitempty"`

	// Type can be used to modify type of service that fronts the control plane nodes to handle the
	// api-server traffic (port 6443). This field is optional, by default control plane nodes will use a service
	// of type ClusterIP, which will make workload cluster only accessible within the same cluster.
	Type *corev1.ServiceType `json:"type,omitempty"`
}

ControlPlaneServiceTemplate describes the template for the control plane service.

func (*ControlPlaneServiceTemplate) DeepCopy added in v0.7.0

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

func (*ControlPlaneServiceTemplate) DeepCopyInto added in v0.7.0

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

type VirtinkCluster added in v0.2.0

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

	Spec   VirtinkClusterSpec   `json:"spec,omitempty"`
	Status VirtinkClusterStatus `json:"status,omitempty"`
}

VirtinkCluster is the Schema for the virtinkclusters API

func (*VirtinkCluster) DeepCopy added in v0.2.0

func (in *VirtinkCluster) DeepCopy() *VirtinkCluster

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

func (*VirtinkCluster) DeepCopyInto added in v0.2.0

func (in *VirtinkCluster) DeepCopyInto(out *VirtinkCluster)

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

func (*VirtinkCluster) DeepCopyObject added in v0.2.0

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

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

type VirtinkClusterList added in v0.2.0

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

VirtinkClusterList contains a list of VirtinkCluster

func (*VirtinkClusterList) DeepCopy added in v0.2.0

func (in *VirtinkClusterList) DeepCopy() *VirtinkClusterList

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

func (*VirtinkClusterList) DeepCopyInto added in v0.2.0

func (in *VirtinkClusterList) DeepCopyInto(out *VirtinkClusterList)

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

func (*VirtinkClusterList) DeepCopyObject added in v0.2.0

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

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

type VirtinkClusterSpec added in v0.2.0

type VirtinkClusterSpec struct {

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

	// ControlPlaneServiceTemplate can be used to modify service that fronts the control plane nodes to handle the
	// api-server traffic (port 6443). This field is optional, by default control plane nodes will use a service
	// of type ClusterIP, which will make workload cluster only accessible within the same cluster. Note, this does
	// not aim to expose the entire service spec to users, but only provides capability to modify the service metadata
	// and the service type.
	ControlPlaneServiceTemplate ControlPlaneServiceTemplate `json:"controlPlaneServiceTemplate,omitempty"`

	// InfraClusterSecretRef is a reference to a secret with a kubeconfig for external cluster used for infra.
	InfraClusterSecretRef *corev1.ObjectReference `json:"infraClusterSecretRef,omitempty"`
}

VirtinkClusterSpec defines the desired state of VirtinkCluster

func (*VirtinkClusterSpec) DeepCopy added in v0.2.0

func (in *VirtinkClusterSpec) DeepCopy() *VirtinkClusterSpec

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

func (*VirtinkClusterSpec) DeepCopyInto added in v0.2.0

func (in *VirtinkClusterSpec) DeepCopyInto(out *VirtinkClusterSpec)

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

type VirtinkClusterStatus added in v0.2.0

type VirtinkClusterStatus struct {
	Ready bool `json:"ready,omitempty"`
}

VirtinkClusterStatus defines the observed state of VirtinkCluster

func (*VirtinkClusterStatus) DeepCopy added in v0.2.0

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

func (*VirtinkClusterStatus) DeepCopyInto added in v0.2.0

func (in *VirtinkClusterStatus) DeepCopyInto(out *VirtinkClusterStatus)

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

type VirtinkClusterTemplate added in v0.6.0

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

	Spec VirtinkClusterTemplateSpec `json:"spec,omitempty"`
}

VirtinkClusterTemplate is the Schema for the virtinkclustertemplates API

func (*VirtinkClusterTemplate) DeepCopy added in v0.6.0

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

func (*VirtinkClusterTemplate) DeepCopyInto added in v0.6.0

func (in *VirtinkClusterTemplate) DeepCopyInto(out *VirtinkClusterTemplate)

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

func (*VirtinkClusterTemplate) DeepCopyObject added in v0.6.0

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

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

type VirtinkClusterTemplateList added in v0.6.0

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

VirtinkClusterTemplateList contains a list of VirtinkClusterTemplate

func (*VirtinkClusterTemplateList) DeepCopy added in v0.6.0

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

func (*VirtinkClusterTemplateList) DeepCopyInto added in v0.6.0

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

func (*VirtinkClusterTemplateList) DeepCopyObject added in v0.6.0

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

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

type VirtinkClusterTemplateResource added in v0.6.0

type VirtinkClusterTemplateResource struct {
	Spec VirtinkClusterSpec `json:"spec"`
}

func (*VirtinkClusterTemplateResource) DeepCopy added in v0.6.0

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

func (*VirtinkClusterTemplateResource) DeepCopyInto added in v0.6.0

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

type VirtinkClusterTemplateSpec added in v0.6.0

type VirtinkClusterTemplateSpec struct {
	Template VirtinkClusterTemplateResource `json:"template"`
}

VirtinkClusterTemplateSpec defines the desired state of VirtinkClusterTemplate

func (*VirtinkClusterTemplateSpec) DeepCopy added in v0.6.0

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

func (*VirtinkClusterTemplateSpec) DeepCopyInto added in v0.6.0

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

type VirtinkMachine added in v0.2.0

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

	Spec   VirtinkMachineSpec   `json:"spec,omitempty"`
	Status VirtinkMachineStatus `json:"status,omitempty"`
}

VirtinkMachine is the Schema for the virtinkmachines API

func (*VirtinkMachine) DeepCopy added in v0.2.0

func (in *VirtinkMachine) DeepCopy() *VirtinkMachine

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

func (*VirtinkMachine) DeepCopyInto added in v0.2.0

func (in *VirtinkMachine) DeepCopyInto(out *VirtinkMachine)

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

func (*VirtinkMachine) DeepCopyObject added in v0.2.0

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

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

type VirtinkMachineList added in v0.2.0

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

VirtinkMachineList contains a list of VirtinkMachine

func (*VirtinkMachineList) DeepCopy added in v0.2.0

func (in *VirtinkMachineList) DeepCopy() *VirtinkMachineList

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

func (*VirtinkMachineList) DeepCopyInto added in v0.2.0

func (in *VirtinkMachineList) DeepCopyInto(out *VirtinkMachineList)

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

func (*VirtinkMachineList) DeepCopyObject added in v0.2.0

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

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

type VirtinkMachineSpec added in v0.2.0

type VirtinkMachineSpec struct {
	ProviderID *string `json:"providerID,omitempty"`

	VirtualMachineTemplate VirtualMachineTemplateSpec        `json:"virtualMachineTemplate"`
	VolumeTemplates        []VolumeTemplateSource            `json:"volumeTemplates,omitempty"`
	IPPoolRef              *corev1.TypedLocalObjectReference `json:"ipPoolRef,omitempty"`
}

VirtinkMachineSpec defines the desired state of VirtinkMachine

func (*VirtinkMachineSpec) DeepCopy added in v0.2.0

func (in *VirtinkMachineSpec) DeepCopy() *VirtinkMachineSpec

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

func (*VirtinkMachineSpec) DeepCopyInto added in v0.2.0

func (in *VirtinkMachineSpec) DeepCopyInto(out *VirtinkMachineSpec)

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

type VirtinkMachineStatus added in v0.2.0

type VirtinkMachineStatus struct {
	Ready          bool                           `json:"ready,omitempty"`
	FailureReason  *capierrors.MachineStatusError `json:"failureReason,omitempty"`
	FailureMessage *string                        `json:"failureMessage,omitempty"`
}

VirtinkMachineStatus defines the observed state of VirtinkMachine

func (*VirtinkMachineStatus) DeepCopy added in v0.2.0

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

func (*VirtinkMachineStatus) DeepCopyInto added in v0.2.0

func (in *VirtinkMachineStatus) DeepCopyInto(out *VirtinkMachineStatus)

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

type VirtinkMachineTemplate added in v0.2.0

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

	Spec   VirtinkMachineTemplateSpec   `json:"spec,omitempty"`
	Status VirtinkMachineTemplateStatus `json:"status,omitempty"`
}

VirtinkMachineTemplate is the Schema for the virtinkmachinetemplates API

func (*VirtinkMachineTemplate) DeepCopy added in v0.2.0

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

func (*VirtinkMachineTemplate) DeepCopyInto added in v0.2.0

func (in *VirtinkMachineTemplate) DeepCopyInto(out *VirtinkMachineTemplate)

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

func (*VirtinkMachineTemplate) DeepCopyObject added in v0.2.0

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

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

type VirtinkMachineTemplateList added in v0.2.0

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

VirtinkMachineTemplateList contains a list of VirtinkMachineTemplate

func (*VirtinkMachineTemplateList) DeepCopy added in v0.2.0

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

func (*VirtinkMachineTemplateList) DeepCopyInto added in v0.2.0

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

func (*VirtinkMachineTemplateList) DeepCopyObject added in v0.2.0

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

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

type VirtinkMachineTemplateSpec added in v0.2.0

type VirtinkMachineTemplateSpec struct {
	Template VirtinkMachineTemplateSpecTemplate `json:"template"`
}

VirtinkMachineTemplateSpec defines the desired state of VirtinkMachineTemplate

func (*VirtinkMachineTemplateSpec) DeepCopy added in v0.2.0

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

func (*VirtinkMachineTemplateSpec) DeepCopyInto added in v0.2.0

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

type VirtinkMachineTemplateSpecTemplate added in v0.2.0

type VirtinkMachineTemplateSpecTemplate struct {
	// +kubebuilder:pruning:PreserveUnknownFields
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VirtinkMachineSpec `json:"spec,omitempty"`
}

func (*VirtinkMachineTemplateSpecTemplate) DeepCopy added in v0.2.0

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

func (*VirtinkMachineTemplateSpecTemplate) DeepCopyInto added in v0.2.0

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

type VirtinkMachineTemplateStatus added in v0.2.0

type VirtinkMachineTemplateStatus struct {
}

VirtinkMachineTemplateStatus defines the observed state of VirtinkMachineTemplate

func (*VirtinkMachineTemplateStatus) DeepCopy added in v0.2.0

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

func (*VirtinkMachineTemplateStatus) DeepCopyInto added in v0.2.0

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

type VirtualMachineTemplateSpec added in v0.7.0

type VirtualMachineTemplateSpec struct {
	// +kubebuilder:pruning:PreserveUnknownFields
	ObjectMeta metav1.ObjectMeta               `json:"metadata,omitempty"`
	Spec       virtv1alpha1.VirtualMachineSpec `json:"spec"`
}

func (*VirtualMachineTemplateSpec) DeepCopy added in v0.7.0

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

func (*VirtualMachineTemplateSpec) DeepCopyInto added in v0.7.0

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

type VolumeTemplateSource added in v0.4.0

type VolumeTemplateSource struct {
	DataVolume *VolumeTemplateSourceDataVolume `json:"dataVolume,omitempty"`
}

func (*VolumeTemplateSource) DeepCopy added in v0.4.0

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

func (*VolumeTemplateSource) DeepCopyInto added in v0.4.0

func (in *VolumeTemplateSource) DeepCopyInto(out *VolumeTemplateSource)

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

type VolumeTemplateSourceDataVolume added in v0.4.0

type VolumeTemplateSourceDataVolume struct {
	// +kubebuilder:pruning:PreserveUnknownFields
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              cdiv1beta1.DataVolumeSpec `json:"spec,omitempty"`
}

func (*VolumeTemplateSourceDataVolume) DeepCopy added in v0.4.0

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

func (*VolumeTemplateSourceDataVolume) DeepCopyInto added in v0.4.0

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