Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=k3k.io
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type Allocation
- type CIDRAllocationPool
- type CIDRAllocationPoolList
- type CIDRAllocationPoolSpec
- type CIDRAllocationPoolStatus
- type Cluster
- type ClusterList
- type ClusterSpec
- type ClusterStatus
- type ExposeConfig
- type IngressConfig
- type LoadBalancerConfig
- type NodePortConfig
Constants ¶
This section is empty.
Variables ¶
var ( SchemBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: k3k.GroupName, Version: "v1alpha1"}
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type Allocation ¶
type Allocation struct { ClusterName string `json:"clusterName"` Issued int64 `json:"issued"` IPNet string `json:"ipNet"` }
func (*Allocation) DeepCopy ¶
func (in *Allocation) DeepCopy() *Allocation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Allocation.
func (*Allocation) DeepCopyInto ¶
func (in *Allocation) DeepCopyInto(out *Allocation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CIDRAllocationPool ¶
type CIDRAllocationPool struct { metav1.ObjectMeta `json:"metadata,omitempty"` metav1.TypeMeta `json:",inline"` Spec CIDRAllocationPoolSpec `json:"spec"` Status CIDRAllocationPoolStatus `json:"status"` }
func (*CIDRAllocationPool) DeepCopy ¶
func (in *CIDRAllocationPool) DeepCopy() *CIDRAllocationPool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CIDRAllocationPool.
func (*CIDRAllocationPool) DeepCopyInto ¶
func (in *CIDRAllocationPool) DeepCopyInto(out *CIDRAllocationPool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CIDRAllocationPool) DeepCopyObject ¶
func (in *CIDRAllocationPool) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CIDRAllocationPoolList ¶
type CIDRAllocationPoolList struct { metav1.ListMeta `json:"metadata,omitempty"` metav1.TypeMeta `json:",inline"` Items []CIDRAllocationPool `json:"items"` }
func (*CIDRAllocationPoolList) DeepCopy ¶
func (in *CIDRAllocationPoolList) DeepCopy() *CIDRAllocationPoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CIDRAllocationPoolList.
func (*CIDRAllocationPoolList) DeepCopyInto ¶
func (in *CIDRAllocationPoolList) DeepCopyInto(out *CIDRAllocationPoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CIDRAllocationPoolList) DeepCopyObject ¶
func (in *CIDRAllocationPoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CIDRAllocationPoolSpec ¶
type CIDRAllocationPoolSpec struct {
DefaultClusterCIDR string `json:"defaultClusterCIDR"`
}
func (*CIDRAllocationPoolSpec) DeepCopy ¶
func (in *CIDRAllocationPoolSpec) DeepCopy() *CIDRAllocationPoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CIDRAllocationPoolSpec.
func (*CIDRAllocationPoolSpec) DeepCopyInto ¶
func (in *CIDRAllocationPoolSpec) DeepCopyInto(out *CIDRAllocationPoolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CIDRAllocationPoolStatus ¶
type CIDRAllocationPoolStatus struct {
Pool []Allocation `json:"pool"`
}
func (*CIDRAllocationPoolStatus) DeepCopy ¶
func (in *CIDRAllocationPoolStatus) DeepCopy() *CIDRAllocationPoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CIDRAllocationPoolStatus.
func (*CIDRAllocationPoolStatus) DeepCopyInto ¶
func (in *CIDRAllocationPoolStatus) DeepCopyInto(out *CIDRAllocationPoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Cluster ¶
type Cluster struct { metav1.ObjectMeta `json:"metadata,omitempty"` metav1.TypeMeta `json:",inline"` Spec ClusterSpec `json:"spec"` Status ClusterStatus `json:"status"` }
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.
type ClusterList ¶
type ClusterList struct { metav1.ListMeta `json:"metadata,omitempty"` metav1.TypeMeta `json:",inline"` Items []Cluster `json:"items"` }
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 { Name string `json:"name"` Version string `json:"version"` Servers *int32 `json:"servers"` Agents *int32 `json:"agents"` Token string `json:"token"` ClusterCIDR string `json:"clusterCIDR,omitempty"` ServiceCIDR string `json:"serviceCIDR,omitempty"` ClusterDNS string `json:"clusterDNS,omitempty"` ServerArgs []string `json:"serverArgs,omitempty"` AgentArgs []string `json:"agentArgs,omitempty"` TLSSANs []string `json:"tlsSANs,omitempty"` Expose *ExposeConfig `json:"expose,omitempty"` }
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 ClusterStatus ¶
type ClusterStatus struct { ClusterCIDR string `json:"clusterCIDR,omitempty"` ServiceCIDR string `json:"serviceCIDR,omitempty"` ClusterDNS string `json:"clusterDNS,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 ExposeConfig ¶
type ExposeConfig struct { Ingress *IngressConfig `json:"ingress"` LoadBalancer *LoadBalancerConfig `json:"loadbalancer"` NodePort *NodePortConfig `json:"nodePort"` }
func (*ExposeConfig) DeepCopy ¶
func (in *ExposeConfig) DeepCopy() *ExposeConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExposeConfig.
func (*ExposeConfig) DeepCopyInto ¶
func (in *ExposeConfig) DeepCopyInto(out *ExposeConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressConfig ¶
type IngressConfig struct { Enabled bool `json:"enabled"` IngressClassName string `json:"ingressClassName"` }
func (*IngressConfig) DeepCopy ¶
func (in *IngressConfig) DeepCopy() *IngressConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressConfig.
func (*IngressConfig) DeepCopyInto ¶
func (in *IngressConfig) DeepCopyInto(out *IngressConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancerConfig ¶
type LoadBalancerConfig struct {
Enabled bool `json:"enabled"`
}
func (*LoadBalancerConfig) DeepCopy ¶
func (in *LoadBalancerConfig) DeepCopy() *LoadBalancerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerConfig.
func (*LoadBalancerConfig) DeepCopyInto ¶
func (in *LoadBalancerConfig) DeepCopyInto(out *LoadBalancerConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePortConfig ¶
type NodePortConfig struct {
Enabled bool `json:"enabled"`
}
func (*NodePortConfig) DeepCopy ¶
func (in *NodePortConfig) DeepCopy() *NodePortConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePortConfig.
func (*NodePortConfig) DeepCopyInto ¶
func (in *NodePortConfig) DeepCopyInto(out *NodePortConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.