Documentation
¶
Index ¶
- func GenerateSecret(clusterName string, namespace string, data []byte) *corev1.Secret
- func GenerateSecretForServiceAccountToken(clusterName string, namespace string, serviceAccountName string) *corev1.Secret
- func New(clusterName string, endpoint string, caCert []byte, token string) (*api.Config, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSecret ¶
GenerateSecret returns a Kubernetes secret for the given Cluster and kubeconfig data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.