Documentation
¶
Index ¶
- type APIServer
- type Cluster
- type ClusterNode
- type ClusterUser
- type ContainerRuntime
- type ControlPlaneComponent
- type ControlPlaneEndpoint
- type HelmChart
- type HugePageFeature
- type InfraVersionInfo
- type Kubernetes
- type Networking
- type NodeOptions
- type PluginMeta
- type PluginSources
- type RoleGroup
- type Scheduler
- type Yaml
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIServer ¶
type APIServer struct {
ControlPlaneComponent `json:",inline"`
}
type Cluster ¶
type Cluster struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
User ClusterUser `json:"user"`
Nodes []ClusterNode `json:"nodes"`
RoleGroup RoleGroup `json:"roleGroup"`
Addons []PluginMeta `json:"addons"`
// for kubeadm configuration
Kubernetes Kubernetes `json:"kubernetes"`
Version InfraVersionInfo `json:"version"`
}
type ClusterNode ¶
type ClusterNode struct {
Name string `json:"name"`
Address string `json:"address"`
InternalAddress string `json:"internalAddress"`
NodeOptions *NodeOptions `json:"options"`
}
type ClusterUser ¶
type ContainerRuntime ¶
type ControlPlaneComponent ¶
type ControlPlaneEndpoint ¶
type HugePageFeature ¶
type InfraVersionInfo ¶
type InfraVersionInfo struct {
KubernetesVersion string `json:"kubernetesVersion"`
EtcdVersion string `json:"etcdVersion"`
ContainerVersion string `json:"containerVersion"`
CRICtlVersion string `json:"crictlVersion"`
RuncVersion string `json:"runcVersion"`
CniVersion string `json:"cniVersion"`
HelmVersion string `json:"helmVersion"`
}
type Kubernetes ¶
type Kubernetes struct {
// ClusterName string `json:"clusterName"`
// DNSDomain string `json:"dnsDomain"`
ProxyMode string `json:"proxyMode"`
Networking Networking `json:"networking"`
CRI ContainerRuntime `json:"cri"`
ControlPlaneEndpoint ControlPlaneEndpoint `json:"controlPlaneEndpoint"`
APIServer APIServer `json:"apiServer"`
Scheduler Scheduler `json:"scheduler"`
}
func (*Kubernetes) AutoDefaultFill ¶
func (k *Kubernetes) AutoDefaultFill()
type Networking ¶
type NodeOptions ¶
type NodeOptions struct {
HugePageFeature *HugePageFeature `json:"hugePageFeature"`
}
type PluginMeta ¶
type PluginMeta struct {
Name string `json:"name,omitempty"`
Namespace string `json:"namespace,omitempty"`
Sources PluginSources `json:"sources,omitempty"`
}
type PluginSources ¶
type RoleGroup ¶
type RoleGroup struct {
ETCD []string `json:"etcd"`
Master []string `json:"master"`
Worker []string `json:"worker"`
}
func (*RoleGroup) IsValidate ¶
type Scheduler ¶
type Scheduler struct {
ControlPlaneComponent `json:",inline"`
}
Click to show internal directories.
Click to hide internal directories.