Documentation
¶
Index ¶
- Constants
- func ChangeHosts(ip, apiDomainName string) string
- func ChownKubectlConfig() string
- func CopyAdminConfig() string
- func Flannel(network, image, backendType string) (string, error)
- func Iptables() string
- func Kubeadm(tmplName, nodeName string, kubernetes rundata.Kubernetes, ...) (string, error)
- func KubeletUnitFile(image string) string
- func NginxConf(masters []string, nginxPort, masterPort string) (string, error)
- func NginxManifest(nginxImage string) string
- func RemoveKubeletUnitFile() string
- func ResetHosts(apiDomainName string) string
- func Restart(name string) string
- func SetHosts(ip, apiDomainName string) string
- func SwapOff() string
- type Apt
- type DocekrText
- type KubeText
- type Yum
Constants ¶
View Source
const ( Init = "init" JoinNode = "joinNode" JoinControlPlane = "joinControlPlane" )
Variables ¶
This section is empty.
Functions ¶
func ChangeHosts ¶
func ChownKubectlConfig ¶
func ChownKubectlConfig() string
func CopyAdminConfig ¶
func CopyAdminConfig() string
func KubeletUnitFile ¶
func NginxManifest ¶
func RemoveKubeletUnitFile ¶
func RemoveKubeletUnitFile() string
func ResetHosts ¶
Types ¶
type DocekrText ¶
type DocekrText interface { Docker(installTyped string, dockerData rundata.Docker) (string, error) RemoveDocker() string }
func NewContainerEngineText ¶
func NewContainerEngineText(installationType string) DocekrText
type KubeText ¶
type KubeText interface { KubeComponent(version, installType string) (string, error) RemoveKubeComponent() string }
func NewKubeText ¶
Click to show internal directories.
Click to hide internal directories.