Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSecret ¶
func CreateSecret(ctx context.Context, c client.Client, cluster *clusterv1.Cluster) error
CreateSecret creates the Kubeconfig secret for the given cluster.
func FromSecret ¶
func FromSecret(c client.Client, cluster *clusterv1.Cluster) ([]byte, error)
FromSecret fetches the Kubeconfig for a Cluster.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.