Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrDependentCertificateNotFound = errors.New("could not find secret ca")
)
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.