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 ¶
const GroupName = "cluster.cloudpilot.ai"
GroupName specifies the group name used to register the objects.
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder // Depreciated: use Install instead AddToScheme = localSchemeBuilder.AddToScheme Install = localSchemeBuilder.AddToScheme )
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1alpha1"}
GroupVersion specifies the group and the version used to register the objects.
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 ¶
func (in *ClusterMigrationList) DeepCopy() *ClusterMigrationList
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 ¶
func (in *ClusterMigrationSpec) DeepCopy() *ClusterMigrationSpec
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 ¶
func (in *ClusterMigrationStatus) DeepCopy() *ClusterMigrationStatus
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodError.
func (*PodError) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.