Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSecret ¶
CreateSecret creates the Kubeconfig secret for the given cluster.
func FromSecret ¶
FromSecret fetches the Kubeconfig for a Cluster.
func New ¶
func New(clusterName, endpoint string, caCert *x509.Certificate, caKey *rsa.PrivateKey) (*api.Config, error)
New creates a new Kubeconfig using the cluster name and specified endpoint.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.