Documentation ¶
Index ¶
- func ApplyKubeletKubeconfig(ctx *common.ClusterContext, apiserver string, kubeletNodeAddr string, ...) error
- func BuildMasterMiscConfigToMap(ctx *common.ClusterContext, apiserver string) error
- func CovertMasterKubeConfig(s ssh.Interface, ctx *common.ClusterContext) error
- func CreateBasic(serverURL, clusterName, userName string, caCert []byte) *clientcmdapi.Config
- func CreateWithCerts(serverURL, clusterName, userName string, caCert []byte, clientKey []byte, ...) *clientcmdapi.Config
- func CreateWithToken(serverURL, clusterName, userName string, caCert []byte, token string) *clientcmdapi.Config
- func GetBindPort(obj *devopsv1.Cluster) int
- func Install(ctx *common.ClusterContext, s ssh.Interface) error
- func InstallNode(s ssh.Interface, option *Option) error
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyKubeletKubeconfig ¶
func BuildMasterMiscConfigToMap ¶
func BuildMasterMiscConfigToMap(ctx *common.ClusterContext, apiserver string) error
func CovertMasterKubeConfig ¶
func CovertMasterKubeConfig(s ssh.Interface, ctx *common.ClusterContext) error
func CreateBasic ¶
func CreateBasic(serverURL, clusterName, userName string, caCert []byte) *clientcmdapi.Config
CreateBasic creates a basic, general KubeConfig object that then can be extended
func CreateWithCerts ¶
func CreateWithCerts(serverURL, clusterName, userName string, caCert []byte, clientKey []byte, clientCert []byte) *clientcmdapi.Config
CreateWithCerts creates a KubeConfig object with access to the API server with client certificates
func CreateWithToken ¶
func CreateWithToken(serverURL, clusterName, userName string, caCert []byte, token string) *clientcmdapi.Config
CreateWithToken creates a KubeConfig object with access to the API server with a token
func GetBindPort ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.