Documentation ¶
Overview ¶
+groupName=kubernetes.digitalocean.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 Cluster
- func (in *Cluster) DeepCopy() *Cluster
- func (in *Cluster) DeepCopyInto(out *Cluster)
- func (in *Cluster) DeepCopyObject() runtime.Object
- func (r *Cluster) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Cluster) ValidateCreate() error
- func (r *Cluster) ValidateDelete() error
- func (r *Cluster) ValidateUpdate(old runtime.Object) error
- type ClusterList
- type ClusterSpec
- type ClusterSpecMaintenancePolicy
- type ClusterSpecMaintenancePolicyCodec
- type ClusterSpecNodePool
- type ClusterSpecNodePoolCodec
- type ClusterSpecNodePoolNodes
- type ClusterSpecNodePoolTaint
- type ClusterSpecResource
- type ClusterStatus
- type NodePool
- func (in *NodePool) DeepCopy() *NodePool
- func (in *NodePool) DeepCopyInto(out *NodePool)
- func (in *NodePool) DeepCopyObject() runtime.Object
- func (r *NodePool) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *NodePool) ValidateCreate() error
- func (r *NodePool) ValidateDelete() error
- func (r *NodePool) ValidateUpdate(old runtime.Object) error
- type NodePoolList
- type NodePoolSpec
- type NodePoolSpecNodes
- type NodePoolSpecResource
- type NodePoolSpecTaint
- type NodePoolStatus
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 Cluster ¶
type Cluster struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterSpec `json:"spec,omitempty"` Status ClusterStatus `json:"status,omitempty"` }
func (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Cluster) SetupWebhookWithManager ¶
func (*Cluster) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Cluster) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type ClusterList ¶
type ClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Cluster CRD objects Items []Cluster `json:"items,omitempty"` }
ClusterList is a list of Clusters
func (*ClusterList) DeepCopy ¶
func (in *ClusterList) DeepCopy() *ClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (*ClusterList) DeepCopyInto ¶
func (in *ClusterList) DeepCopyInto(out *ClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterList) DeepCopyObject ¶
func (in *ClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterSpec ¶
type ClusterSpec struct { State *ClusterSpecResource `json:"state,omitempty" tf:"-"` Resource ClusterSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"` }
func (*ClusterSpec) DeepCopy ¶
func (in *ClusterSpec) DeepCopy() *ClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
func (*ClusterSpec) DeepCopyInto ¶
func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSpecMaintenancePolicy ¶
type ClusterSpecMaintenancePolicy struct { // +optional Day *string `json:"day,omitempty" tf:"day"` // +optional Duration *string `json:"duration,omitempty" tf:"duration"` // +optional StartTime *string `json:"startTime,omitempty" tf:"start_time"` }
func (*ClusterSpecMaintenancePolicy) DeepCopy ¶
func (in *ClusterSpecMaintenancePolicy) DeepCopy() *ClusterSpecMaintenancePolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpecMaintenancePolicy.
func (*ClusterSpecMaintenancePolicy) DeepCopyInto ¶
func (in *ClusterSpecMaintenancePolicy) DeepCopyInto(out *ClusterSpecMaintenancePolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSpecMaintenancePolicyCodec ¶
type ClusterSpecMaintenancePolicyCodec struct { }
+k8s:deepcopy-gen=false
func (ClusterSpecMaintenancePolicyCodec) Decode ¶
func (ClusterSpecMaintenancePolicyCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type ClusterSpecNodePool ¶
type ClusterSpecNodePool struct { // +optional ActualNodeCount *int64 `json:"actualNodeCount,omitempty" tf:"actual_node_count"` // +optional AutoScale *bool `json:"autoScale,omitempty" tf:"auto_scale"` // +optional ID *string `json:"ID,omitempty" tf:"id"` // +optional Labels *map[string]string `json:"labels,omitempty" tf:"labels"` // +optional MaxNodes *int64 `json:"maxNodes,omitempty" tf:"max_nodes"` // +optional MinNodes *int64 `json:"minNodes,omitempty" tf:"min_nodes"` Name *string `json:"name" tf:"name"` // +optional NodeCount *int64 `json:"nodeCount,omitempty" tf:"node_count"` // +optional Nodes []ClusterSpecNodePoolNodes `json:"nodes,omitempty" tf:"nodes"` Size *string `json:"size" tf:"size"` // +optional Tags []string `json:"tags,omitempty" tf:"tags"` // +optional Taint []ClusterSpecNodePoolTaint `json:"taint,omitempty" tf:"taint"` }
func (*ClusterSpecNodePool) DeepCopy ¶
func (in *ClusterSpecNodePool) DeepCopy() *ClusterSpecNodePool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpecNodePool.
func (*ClusterSpecNodePool) DeepCopyInto ¶
func (in *ClusterSpecNodePool) DeepCopyInto(out *ClusterSpecNodePool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSpecNodePoolCodec ¶
type ClusterSpecNodePoolCodec struct { }
+k8s:deepcopy-gen=false
func (ClusterSpecNodePoolCodec) Decode ¶
func (ClusterSpecNodePoolCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type ClusterSpecNodePoolNodes ¶
type ClusterSpecNodePoolNodes struct { // +optional CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"` // +optional DropletID *string `json:"dropletID,omitempty" tf:"droplet_id"` // +optional ID *string `json:"ID,omitempty" tf:"id"` // +optional Name *string `json:"name,omitempty" tf:"name"` // +optional Status *string `json:"status,omitempty" tf:"status"` // +optional UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"` }
func (*ClusterSpecNodePoolNodes) DeepCopy ¶
func (in *ClusterSpecNodePoolNodes) DeepCopy() *ClusterSpecNodePoolNodes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpecNodePoolNodes.
func (*ClusterSpecNodePoolNodes) DeepCopyInto ¶
func (in *ClusterSpecNodePoolNodes) DeepCopyInto(out *ClusterSpecNodePoolNodes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSpecNodePoolTaint ¶
type ClusterSpecNodePoolTaint struct { Effect *string `json:"effect" tf:"effect"` Key *string `json:"key" tf:"key"` Value *string `json:"value" tf:"value"` }
func (*ClusterSpecNodePoolTaint) DeepCopy ¶
func (in *ClusterSpecNodePoolTaint) DeepCopy() *ClusterSpecNodePoolTaint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpecNodePoolTaint.
func (*ClusterSpecNodePoolTaint) DeepCopyInto ¶
func (in *ClusterSpecNodePoolTaint) DeepCopyInto(out *ClusterSpecNodePoolTaint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSpecResource ¶
type ClusterSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional AutoUpgrade *bool `json:"autoUpgrade,omitempty" tf:"auto_upgrade"` // +optional ClusterSubnet *string `json:"clusterSubnet,omitempty" tf:"cluster_subnet"` // +optional CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"` // +optional Endpoint *string `json:"endpoint,omitempty" tf:"endpoint"` // +optional Ipv4Address *string `json:"ipv4Address,omitempty" tf:"ipv4_address"` // +optional // +optional MaintenancePolicy *ClusterSpecMaintenancePolicy `json:"maintenancePolicy,omitempty" tf:"maintenance_policy"` Name *string `json:"name" tf:"name"` NodePool *ClusterSpecNodePool `json:"nodePool" tf:"node_pool"` Region *string `json:"region" tf:"region"` // +optional ServiceSubnet *string `json:"serviceSubnet,omitempty" tf:"service_subnet"` // +optional Status *string `json:"status,omitempty" tf:"status"` // +optional SurgeUpgrade *bool `json:"surgeUpgrade,omitempty" tf:"surge_upgrade"` // +optional Tags []string `json:"tags,omitempty" tf:"tags"` // +optional UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"` // +optional Urn *string `json:"urn,omitempty" tf:"urn"` Version *string `json:"version" tf:"version"` // +optional VpcUUID *string `json:"vpcUUID,omitempty" tf:"vpc_uuid"` }
func (*ClusterSpecResource) DeepCopy ¶
func (in *ClusterSpecResource) DeepCopy() *ClusterSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpecResource.
func (*ClusterSpecResource) DeepCopyInto ¶
func (in *ClusterSpecResource) DeepCopyInto(out *ClusterSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterStatus ¶
type ClusterStatus 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 (*ClusterStatus) DeepCopy ¶
func (in *ClusterStatus) DeepCopy() *ClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (*ClusterStatus) DeepCopyInto ¶
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePool ¶
type NodePool struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NodePoolSpec `json:"spec,omitempty"` Status NodePoolStatus `json:"status,omitempty"` }
func (*NodePool) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePool.
func (*NodePool) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodePool) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NodePool) SetupWebhookWithManager ¶
func (*NodePool) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*NodePool) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type NodePoolList ¶
type NodePoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of NodePool CRD objects Items []NodePool `json:"items,omitempty"` }
NodePoolList is a list of NodePools
func (*NodePoolList) DeepCopy ¶
func (in *NodePoolList) DeepCopy() *NodePoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolList.
func (*NodePoolList) DeepCopyInto ¶
func (in *NodePoolList) DeepCopyInto(out *NodePoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodePoolList) DeepCopyObject ¶
func (in *NodePoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodePoolSpec ¶
type NodePoolSpec struct { State *NodePoolSpecResource `json:"state,omitempty" tf:"-"` Resource NodePoolSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` }
func (*NodePoolSpec) DeepCopy ¶
func (in *NodePoolSpec) DeepCopy() *NodePoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolSpec.
func (*NodePoolSpec) DeepCopyInto ¶
func (in *NodePoolSpec) DeepCopyInto(out *NodePoolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePoolSpecNodes ¶
type NodePoolSpecNodes struct { // +optional CreatedAt *string `json:"createdAt,omitempty" tf:"created_at"` // +optional DropletID *string `json:"dropletID,omitempty" tf:"droplet_id"` // +optional ID *string `json:"ID,omitempty" tf:"id"` // +optional Name *string `json:"name,omitempty" tf:"name"` // +optional Status *string `json:"status,omitempty" tf:"status"` // +optional UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at"` }
func (*NodePoolSpecNodes) DeepCopy ¶
func (in *NodePoolSpecNodes) DeepCopy() *NodePoolSpecNodes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolSpecNodes.
func (*NodePoolSpecNodes) DeepCopyInto ¶
func (in *NodePoolSpecNodes) DeepCopyInto(out *NodePoolSpecNodes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePoolSpecResource ¶
type NodePoolSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional ActualNodeCount *int64 `json:"actualNodeCount,omitempty" tf:"actual_node_count"` // +optional AutoScale *bool `json:"autoScale,omitempty" tf:"auto_scale"` ClusterID *string `json:"clusterID" tf:"cluster_id"` // +optional Labels *map[string]string `json:"labels,omitempty" tf:"labels"` // +optional MaxNodes *int64 `json:"maxNodes,omitempty" tf:"max_nodes"` // +optional MinNodes *int64 `json:"minNodes,omitempty" tf:"min_nodes"` Name *string `json:"name" tf:"name"` // +optional NodeCount *int64 `json:"nodeCount,omitempty" tf:"node_count"` // +optional Nodes []NodePoolSpecNodes `json:"nodes,omitempty" tf:"nodes"` Size *string `json:"size" tf:"size"` // +optional Tags []string `json:"tags,omitempty" tf:"tags"` // +optional Taint []NodePoolSpecTaint `json:"taint,omitempty" tf:"taint"` }
func (*NodePoolSpecResource) DeepCopy ¶
func (in *NodePoolSpecResource) DeepCopy() *NodePoolSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolSpecResource.
func (*NodePoolSpecResource) DeepCopyInto ¶
func (in *NodePoolSpecResource) DeepCopyInto(out *NodePoolSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePoolSpecTaint ¶
type NodePoolSpecTaint struct { Effect *string `json:"effect" tf:"effect"` Key *string `json:"key" tf:"key"` Value *string `json:"value" tf:"value"` }
func (*NodePoolSpecTaint) DeepCopy ¶
func (in *NodePoolSpecTaint) DeepCopy() *NodePoolSpecTaint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolSpecTaint.
func (*NodePoolSpecTaint) DeepCopyInto ¶
func (in *NodePoolSpecTaint) DeepCopyInto(out *NodePoolSpecTaint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePoolStatus ¶
type NodePoolStatus 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 (*NodePoolStatus) DeepCopy ¶
func (in *NodePoolStatus) DeepCopy() *NodePoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolStatus.
func (*NodePoolStatus) DeepCopyInto ¶
func (in *NodePoolStatus) DeepCopyInto(out *NodePoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.