v1beta1

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the 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 PooledMachineSpec added in v0.8.0

type PooledMachineSpec struct {
	// Address is the IP address or DNS name of the remote machine.
	// +kubebuilder:validation:Required
	Address string `json:"address"`

	// Port is the SSH port of the remote machine.
	// +kubebuilder:validation:Optional
	// +kubebuilder:default=22
	Port int `json:"port"`

	// User is the user to use when connecting to the remote machine.
	// +kubebuilder:validation:Optional
	// +kubebuilder:default="root"
	User string `json:"user"`

	// SSHKeyRef is a reference to a secret that contains the SSH private key.
	// The key must be placed on the secret using the key "value".
	// +kubebuilder:validation:Required
	SSHKeyRef SecretRef `json:"sshKeyRef"`
}

func (*PooledMachineSpec) DeepCopy added in v0.8.0

func (in *PooledMachineSpec) DeepCopy() *PooledMachineSpec

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

func (*PooledMachineSpec) DeepCopyInto added in v0.8.0

func (in *PooledMachineSpec) DeepCopyInto(out *PooledMachineSpec)

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

type PooledRemoteMachine added in v0.8.0

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

	Spec   PooledRemoteMachineSpec   `json:"spec,omitempty"`
	Status PooledRemoteMachineStatus `json:"status,omitempty"`
}

func (*PooledRemoteMachine) DeepCopy added in v0.8.0

func (in *PooledRemoteMachine) DeepCopy() *PooledRemoteMachine

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

func (*PooledRemoteMachine) DeepCopyInto added in v0.8.0

func (in *PooledRemoteMachine) DeepCopyInto(out *PooledRemoteMachine)

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

func (*PooledRemoteMachine) DeepCopyObject added in v0.8.0

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

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

type PooledRemoteMachineList added in v0.8.0

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

func (*PooledRemoteMachineList) DeepCopy added in v0.8.0

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

func (*PooledRemoteMachineList) DeepCopyInto added in v0.8.0

func (in *PooledRemoteMachineList) DeepCopyInto(out *PooledRemoteMachineList)

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

func (*PooledRemoteMachineList) DeepCopyObject added in v0.8.0

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

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

type PooledRemoteMachineSpec added in v0.8.0

type PooledRemoteMachineSpec struct {
	Pool    string            `json:"pool"`
	Machine PooledMachineSpec `json:"machine"`
}

func (*PooledRemoteMachineSpec) DeepCopy added in v0.8.0

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

func (*PooledRemoteMachineSpec) DeepCopyInto added in v0.8.0

func (in *PooledRemoteMachineSpec) DeepCopyInto(out *PooledRemoteMachineSpec)

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

type PooledRemoteMachineStatus added in v0.8.0

type PooledRemoteMachineStatus struct {
	Reserved   bool             `json:"reserved"`
	MachineRef RemoteMachineRef `json:"machineRef"`
}

func (*PooledRemoteMachineStatus) DeepCopy added in v0.8.0

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

func (*PooledRemoteMachineStatus) DeepCopyInto added in v0.8.0

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

type ProvisionJob added in v0.9.6

type ProvisionJob struct {
	// +kubebuilder:validation:Optional
	// +kubebuilder:default="ssh"
	SSHCommand string `json:"sshCommand,omitempty"`
	// +kubebuilder:validation:Optional
	// +kubebuilder:default="scp"
	SCPCommand string `json:"scpCommand,omitempty"`
	// JobTemplate is the job template to use to provision the machine.
	JobTemplate *v1.JobTemplateSpec `json:"jobSpecTemplate,omitempty"`
}

func (*ProvisionJob) DeepCopy added in v0.9.6

func (in *ProvisionJob) DeepCopy() *ProvisionJob

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

func (*ProvisionJob) DeepCopyInto added in v0.9.6

func (in *ProvisionJob) DeepCopyInto(out *ProvisionJob)

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

type RemoteCluster

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

	Spec   RemoteClusterSpec   `json:"spec,omitempty"`
	Status RemoteClusterStatus `json:"status,omitempty"`
}

func (*RemoteCluster) DeepCopy

func (in *RemoteCluster) DeepCopy() *RemoteCluster

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

func (*RemoteCluster) DeepCopyInto

func (in *RemoteCluster) DeepCopyInto(out *RemoteCluster)

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

func (*RemoteCluster) DeepCopyObject

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

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

type RemoteClusterList

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

func (*RemoteClusterList) DeepCopy

func (in *RemoteClusterList) DeepCopy() *RemoteClusterList

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

func (*RemoteClusterList) DeepCopyInto

func (in *RemoteClusterList) DeepCopyInto(out *RemoteClusterList)

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

func (*RemoteClusterList) DeepCopyObject

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

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

type RemoteClusterSpec

type RemoteClusterSpec struct {
	ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"`
}

RemoteClusterSpec defines the desired state of RemoteCluster

func (*RemoteClusterSpec) DeepCopy

func (in *RemoteClusterSpec) DeepCopy() *RemoteClusterSpec

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

func (*RemoteClusterSpec) DeepCopyInto

func (in *RemoteClusterSpec) DeepCopyInto(out *RemoteClusterSpec)

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

type RemoteClusterStatus

type RemoteClusterStatus struct {
	// Ready denotes that the remote cluster is ready to be used.
	// +kubebuilder:validation:Required
	// +kubebuilder:default=false
	Ready bool `json:"ready"`
}

RemoteClusterStatus defines the observed state of RemoteCluster

func (*RemoteClusterStatus) DeepCopy

func (in *RemoteClusterStatus) DeepCopy() *RemoteClusterStatus

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

func (*RemoteClusterStatus) DeepCopyInto

func (in *RemoteClusterStatus) DeepCopyInto(out *RemoteClusterStatus)

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

type RemoteMachine

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

	Spec   RemoteMachineSpec   `json:"spec,omitempty"`
	Status RemoteMachineStatus `json:"status,omitempty"`
}

func (*RemoteMachine) DeepCopy

func (in *RemoteMachine) DeepCopy() *RemoteMachine

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

func (*RemoteMachine) DeepCopyInto

func (in *RemoteMachine) DeepCopyInto(out *RemoteMachine)

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

func (*RemoteMachine) DeepCopyObject

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

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

type RemoteMachineList

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

func (*RemoteMachineList) DeepCopy

func (in *RemoteMachineList) DeepCopy() *RemoteMachineList

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

func (*RemoteMachineList) DeepCopyInto

func (in *RemoteMachineList) DeepCopyInto(out *RemoteMachineList)

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

func (*RemoteMachineList) DeepCopyObject

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

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

type RemoteMachineRef added in v0.8.0

type RemoteMachineRef struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

func (*RemoteMachineRef) DeepCopy added in v0.8.0

func (in *RemoteMachineRef) DeepCopy() *RemoteMachineRef

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

func (*RemoteMachineRef) DeepCopyInto added in v0.8.0

func (in *RemoteMachineRef) DeepCopyInto(out *RemoteMachineRef)

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

type RemoteMachineSpec

type RemoteMachineSpec struct {
	// Pool is the name of the pool where the machine belongs to.
	// +kubebuilder:validation:Optional
	Pool string `json:"pool,omitempty"`

	// ProviderID is the ID of the machine in the provider.
	// +kubebuilder:validation:Optional
	ProviderID string `json:"providerID,omitempty"`

	// Address is the IP address or DNS name of the remote machine.
	// +kubebuilder:validation:Optional
	Address string `json:"address,omitempty"`

	// Port is the SSH port of the remote machine.
	// +kubebuilder:validation:Optional
	// +kubebuilder:default=22
	Port int `json:"port,omitempty"`

	// User is the user to use when connecting to the remote machine.
	// +kubebuilder:validation:Optional
	// +kubebuilder:default="root"
	User string `json:"user,omitempty"`

	// +kubebuilder:validation:Optional
	UseSudo bool `json:"useSudo,omitempty"`

	// SSHKeyRef is a reference to a secret that contains the SSH private key.
	// The key must be placed on the secret using the key "value".
	// +kubebuilder:validation:Optional
	SSHKeyRef SecretRef `json:"sshKeyRef,omitempty"`

	// ProvisionJob describes the kubernetes Job to use to provision the machine.
	ProvisionJob *ProvisionJob `json:"provisionJob,omitempty"`
}

RemoteMachineSpec defines the desired state of RemoteMachine

func (*RemoteMachineSpec) DeepCopy

func (in *RemoteMachineSpec) DeepCopy() *RemoteMachineSpec

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

func (*RemoteMachineSpec) DeepCopyInto

func (in *RemoteMachineSpec) DeepCopyInto(out *RemoteMachineSpec)

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

type RemoteMachineStatus

type RemoteMachineStatus struct {
	// Ready denotes that the remote machine is ready to be used.
	// +kubebuilder:validation:Optional
	Ready bool `json:"ready,omitempty"`

	FailureReason  string `json:"failureReason,omitempty"`
	FailureMessage string `json:"failureMessage,omitempty"`
}

RemoteMachineStatus defines the observed state of RemoteMachine

func (*RemoteMachineStatus) DeepCopy

func (in *RemoteMachineStatus) DeepCopy() *RemoteMachineStatus

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

func (*RemoteMachineStatus) DeepCopyInto

func (in *RemoteMachineStatus) DeepCopyInto(out *RemoteMachineStatus)

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

type RemoteMachineTemplate added in v0.8.0

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

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

func (*RemoteMachineTemplate) DeepCopy added in v0.8.0

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

func (*RemoteMachineTemplate) DeepCopyInto added in v0.8.0

func (in *RemoteMachineTemplate) DeepCopyInto(out *RemoteMachineTemplate)

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

func (*RemoteMachineTemplate) DeepCopyObject added in v0.8.0

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

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

type RemoteMachineTemplateList added in v0.8.0

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

func (*RemoteMachineTemplateList) DeepCopy added in v0.8.0

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

func (*RemoteMachineTemplateList) DeepCopyInto added in v0.8.0

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

func (*RemoteMachineTemplateList) DeepCopyObject added in v0.8.0

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

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

type RemoteMachineTemplateResource added in v0.8.0

type RemoteMachineTemplateResource struct {
	// +kubebuilder:validation:Optional
	ObjectMeta metav1.ObjectMeta                 `json:"metadata,omitempty"`
	Spec       RemoteMachineTemplateResourceSpec `json:"spec,omitempty"`
}

func (*RemoteMachineTemplateResource) DeepCopy added in v0.8.0

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

func (*RemoteMachineTemplateResource) DeepCopyInto added in v0.8.0

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

type RemoteMachineTemplateResourceSpec added in v0.8.0

type RemoteMachineTemplateResourceSpec struct {
	Pool string `json:"pool"`
}

func (*RemoteMachineTemplateResourceSpec) DeepCopy added in v0.8.0

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

func (*RemoteMachineTemplateResourceSpec) DeepCopyInto added in v0.8.0

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

type RemoteMachineTemplateSpec added in v0.8.0

type RemoteMachineTemplateSpec struct {
	Template RemoteMachineTemplateResource `json:"template"`
}

func (*RemoteMachineTemplateSpec) DeepCopy added in v0.8.0

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

func (*RemoteMachineTemplateSpec) DeepCopyInto added in v0.8.0

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

type SecretRef

type SecretRef struct {
	// Name is the name of the secret.
	// +kubebuilder:validation:Required
	Name string `json:"name"`
}

func (*SecretRef) DeepCopy

func (in *SecretRef) DeepCopy() *SecretRef

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

func (*SecretRef) DeepCopyInto

func (in *SecretRef) DeepCopyInto(out *SecretRef)

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