Documentation ¶
Overview ¶
+groupName=kubernetes.vultr.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Kubernetes
- func (in *Kubernetes) DeepCopy() *Kubernetes
- func (in *Kubernetes) DeepCopyInto(out *Kubernetes)
- func (in *Kubernetes) DeepCopyObject() runtime.Object
- func (r *Kubernetes) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Kubernetes) ValidateCreate() error
- func (r *Kubernetes) ValidateDelete() error
- func (r *Kubernetes) ValidateUpdate(old runtime.Object) error
- type KubernetesList
- type KubernetesSpec
- type KubernetesSpecNodePools
- type KubernetesSpecNodePoolsCodec
- type KubernetesSpecNodePoolsNodes
- type KubernetesSpecResource
- type KubernetesStatus
- type NodePools
- func (in *NodePools) DeepCopy() *NodePools
- func (in *NodePools) DeepCopyInto(out *NodePools)
- func (in *NodePools) DeepCopyObject() runtime.Object
- func (r *NodePools) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *NodePools) ValidateCreate() error
- func (r *NodePools) ValidateDelete() error
- func (r *NodePools) ValidateUpdate(old runtime.Object) error
- type NodePoolsList
- type NodePoolsSpec
- type NodePoolsSpecNodes
- type NodePoolsSpecResource
- type NodePoolsStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: kubernetes.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Kubernetes ¶
type Kubernetes struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KubernetesSpec `json:"spec,omitempty"` Status KubernetesStatus `json:"status,omitempty"` }
func (*Kubernetes) DeepCopy ¶
func (in *Kubernetes) DeepCopy() *Kubernetes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes.
func (*Kubernetes) DeepCopyInto ¶
func (in *Kubernetes) DeepCopyInto(out *Kubernetes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Kubernetes) DeepCopyObject ¶
func (in *Kubernetes) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Kubernetes) SetupWebhookWithManager ¶
func (r *Kubernetes) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*Kubernetes) ValidateCreate ¶
func (r *Kubernetes) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Kubernetes) ValidateDelete ¶
func (r *Kubernetes) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*Kubernetes) ValidateUpdate ¶
func (r *Kubernetes) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type KubernetesList ¶
type KubernetesList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Kubernetes CRD objects Items []Kubernetes `json:"items,omitempty"` }
KubernetesList is a list of Kubernetess
func (*KubernetesList) DeepCopy ¶
func (in *KubernetesList) DeepCopy() *KubernetesList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesList.
func (*KubernetesList) DeepCopyInto ¶
func (in *KubernetesList) DeepCopyInto(out *KubernetesList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KubernetesList) DeepCopyObject ¶
func (in *KubernetesList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KubernetesSpec ¶
type KubernetesSpec struct { State *KubernetesSpecResource `json:"state,omitempty" tf:"-"` Resource KubernetesSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*KubernetesSpec) DeepCopy ¶
func (in *KubernetesSpec) DeepCopy() *KubernetesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesSpec.
func (*KubernetesSpec) DeepCopyInto ¶
func (in *KubernetesSpec) DeepCopyInto(out *KubernetesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesSpecNodePools ¶
type KubernetesSpecNodePools struct { // +optional DateCreated *string `json:"dateCreated,omitempty" tf:"date_created"` // +optional DateUpdated *string `json:"dateUpdated,omitempty" tf:"date_updated"` // +optional ID *string `json:"ID,omitempty" tf:"id"` Label *string `json:"label" tf:"label"` NodeQuantity *int64 `json:"nodeQuantity" tf:"node_quantity"` // +optional Nodes []KubernetesSpecNodePoolsNodes `json:"nodes,omitempty" tf:"nodes"` Plan *string `json:"plan" tf:"plan"` // +optional Status *string `json:"status,omitempty" tf:"status"` // +optional Tag *string `json:"tag,omitempty" tf:"tag"` }
func (*KubernetesSpecNodePools) DeepCopy ¶
func (in *KubernetesSpecNodePools) DeepCopy() *KubernetesSpecNodePools
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesSpecNodePools.
func (*KubernetesSpecNodePools) DeepCopyInto ¶
func (in *KubernetesSpecNodePools) DeepCopyInto(out *KubernetesSpecNodePools)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesSpecNodePoolsCodec ¶
type KubernetesSpecNodePoolsCodec struct { }
+k8s:deepcopy-gen=false
func (KubernetesSpecNodePoolsCodec) Decode ¶
func (KubernetesSpecNodePoolsCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type KubernetesSpecNodePoolsNodes ¶
type KubernetesSpecNodePoolsNodes struct { // +optional DateCreated *string `json:"dateCreated,omitempty" tf:"date_created"` // +optional ID *string `json:"ID,omitempty" tf:"id"` // +optional Label *string `json:"label,omitempty" tf:"label"` // +optional Status *string `json:"status,omitempty" tf:"status"` }
func (*KubernetesSpecNodePoolsNodes) DeepCopy ¶
func (in *KubernetesSpecNodePoolsNodes) DeepCopy() *KubernetesSpecNodePoolsNodes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesSpecNodePoolsNodes.
func (*KubernetesSpecNodePoolsNodes) DeepCopyInto ¶
func (in *KubernetesSpecNodePoolsNodes) DeepCopyInto(out *KubernetesSpecNodePoolsNodes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesSpecResource ¶
type KubernetesSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional ClusterSubnet *string `json:"clusterSubnet,omitempty" tf:"cluster_subnet"` // +optional DateCreated *string `json:"dateCreated,omitempty" tf:"date_created"` // +optional Endpoint *string `json:"endpoint,omitempty" tf:"endpoint"` // +optional Ip *string `json:"ip,omitempty" tf:"ip"` // Base64 encoded KubeConfig // +optional KubeConfig *string `json:"kubeConfig,omitempty" tf:"kube_config"` Label *string `json:"label" tf:"label"` NodePools *KubernetesSpecNodePools `json:"nodePools" tf:"node_pools"` Region *string `json:"region" tf:"region"` // +optional ServiceSubnet *string `json:"serviceSubnet,omitempty" tf:"service_subnet"` // +optional Status *string `json:"status,omitempty" tf:"status"` Version *string `json:"version" tf:"version"` }
func (*KubernetesSpecResource) DeepCopy ¶
func (in *KubernetesSpecResource) DeepCopy() *KubernetesSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesSpecResource.
func (*KubernetesSpecResource) DeepCopyInto ¶
func (in *KubernetesSpecResource) DeepCopyInto(out *KubernetesSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesStatus ¶
type KubernetesStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*KubernetesStatus) DeepCopy ¶
func (in *KubernetesStatus) DeepCopy() *KubernetesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesStatus.
func (*KubernetesStatus) DeepCopyInto ¶
func (in *KubernetesStatus) DeepCopyInto(out *KubernetesStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePools ¶
type NodePools struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NodePoolsSpec `json:"spec,omitempty"` Status NodePoolsStatus `json:"status,omitempty"` }
func (*NodePools) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePools.
func (*NodePools) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodePools) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NodePools) SetupWebhookWithManager ¶
func (*NodePools) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*NodePools) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type NodePoolsList ¶
type NodePoolsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of NodePools CRD objects Items []NodePools `json:"items,omitempty"` }
NodePoolsList is a list of NodePoolss
func (*NodePoolsList) DeepCopy ¶
func (in *NodePoolsList) DeepCopy() *NodePoolsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolsList.
func (*NodePoolsList) DeepCopyInto ¶
func (in *NodePoolsList) DeepCopyInto(out *NodePoolsList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodePoolsList) DeepCopyObject ¶
func (in *NodePoolsList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodePoolsSpec ¶
type NodePoolsSpec struct { State *NodePoolsSpecResource `json:"state,omitempty" tf:"-"` Resource NodePoolsSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*NodePoolsSpec) DeepCopy ¶
func (in *NodePoolsSpec) DeepCopy() *NodePoolsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolsSpec.
func (*NodePoolsSpec) DeepCopyInto ¶
func (in *NodePoolsSpec) DeepCopyInto(out *NodePoolsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePoolsSpecNodes ¶
type NodePoolsSpecNodes struct { // +optional DateCreated *string `json:"dateCreated,omitempty" tf:"date_created"` // +optional ID *string `json:"ID,omitempty" tf:"id"` // +optional Label *string `json:"label,omitempty" tf:"label"` // +optional Status *string `json:"status,omitempty" tf:"status"` }
func (*NodePoolsSpecNodes) DeepCopy ¶
func (in *NodePoolsSpecNodes) DeepCopy() *NodePoolsSpecNodes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolsSpecNodes.
func (*NodePoolsSpecNodes) DeepCopyInto ¶
func (in *NodePoolsSpecNodes) DeepCopyInto(out *NodePoolsSpecNodes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePoolsSpecResource ¶
type NodePoolsSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` ClusterID *string `json:"clusterID" tf:"cluster_id"` // +optional DateCreated *string `json:"dateCreated,omitempty" tf:"date_created"` // +optional DateUpdated *string `json:"dateUpdated,omitempty" tf:"date_updated"` Label *string `json:"label" tf:"label"` NodeQuantity *int64 `json:"nodeQuantity" tf:"node_quantity"` // +optional Nodes []NodePoolsSpecNodes `json:"nodes,omitempty" tf:"nodes"` Plan *string `json:"plan" tf:"plan"` // +optional Status *string `json:"status,omitempty" tf:"status"` // +optional Tag *string `json:"tag,omitempty" tf:"tag"` }
func (*NodePoolsSpecResource) DeepCopy ¶
func (in *NodePoolsSpecResource) DeepCopy() *NodePoolsSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolsSpecResource.
func (*NodePoolsSpecResource) DeepCopyInto ¶
func (in *NodePoolsSpecResource) DeepCopyInto(out *NodePoolsSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePoolsStatus ¶
type NodePoolsStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*NodePoolsStatus) DeepCopy ¶
func (in *NodePoolsStatus) DeepCopy() *NodePoolsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolsStatus.
func (*NodePoolsStatus) DeepCopyInto ¶
func (in *NodePoolsStatus) DeepCopyInto(out *NodePoolsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.