v1alpha1

package
v0.0.0-...-54529f2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +k8s:deepcopy-gen=package,register +k8s:openapi-gen=true +groupName=cluster.cloudpilot.ai

Index

Constants

View Source
const GroupName = "cluster.cloudpilot.ai"

GroupName specifies the group name used to register the objects.

Variables

View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	// Depreciated: use Install instead
	AddToScheme = localSchemeBuilder.AddToScheme
	Install     = localSchemeBuilder.AddToScheme
)
View Source
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1alpha1"}

GroupVersion specifies the group and the version used to register the objects.

View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ClusterMigration

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

	// +required
	Spec ClusterMigrationSpec `json:"spec,omitempty"`

	// +optional
	Status ClusterMigrationStatus `json:"status,omitempty"`
}

func (*ClusterMigration) DeepCopy

func (in *ClusterMigration) DeepCopy() *ClusterMigration

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

func (*ClusterMigration) DeepCopyInto

func (in *ClusterMigration) DeepCopyInto(out *ClusterMigration)

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

func (*ClusterMigration) DeepCopyObject

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

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

type ClusterMigrationList

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

func (*ClusterMigrationList) DeepCopy

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

func (*ClusterMigrationList) DeepCopyInto

func (in *ClusterMigrationList) DeepCopyInto(out *ClusterMigrationList)

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

func (*ClusterMigrationList) DeepCopyObject

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

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

type ClusterMigrationSpec

type ClusterMigrationSpec struct {
	// +required
	CloudProvider string `json:"clusterName"`
	// +required
	Region string `json:"region"`
	// +required
	NodePoolConfig corev1beta1.NodePoolSpec `json:"nodePoolConfig"`
	// +required
	CloudPilotAIEnabled bool `json:"cloudPilotAIEnabled"`
}

func (*ClusterMigrationSpec) DeepCopy

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

func (*ClusterMigrationSpec) DeepCopyInto

func (in *ClusterMigrationSpec) DeepCopyInto(out *ClusterMigrationSpec)

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

type ClusterMigrationStatus

type ClusterMigrationStatus struct {
	// +optional
	PodErrors []string `json:"podErrors,omitempty"`
}

func (*ClusterMigrationStatus) DeepCopy

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

func (*ClusterMigrationStatus) DeepCopyInto

func (in *ClusterMigrationStatus) DeepCopyInto(out *ClusterMigrationStatus)

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

type PodError

type PodError struct {
	// +required
	Namespace string
	// +required
	Name string
	// +required
	Reason string
}

func (*PodError) DeepCopy

func (in *PodError) DeepCopy() *PodError

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

func (*PodError) DeepCopyInto

func (in *PodError) DeepCopyInto(out *PodError)

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