Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateKubeConfigWithToken ¶
func CreateKubeConfigWithToken(serverURL, token string, caCert []byte) *clientcmdapi.Config
CreateKubeConfigWithToken creates a KubeConfig object with access to the API server with a token
func GenerateKubeConfigFromToken ¶
func GenerateKubeConfigFromToken(serverURL, token string, caCert []byte, flowRate int) (*rest.Config, error)
GenerateKubeConfigFromToken composes a kubeconfig from token
func GenerateRestConfigFromCluster ¶
func GenerateRestConfigFromCluster(cluster *rocketv1alpha1.Cluster) (*rest.Config, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.