# Functions
CreateSecret creates the Kubeconfig secret for the given cluster.
CreateSecretWithOwner creates the Kubeconfig secret for the given cluster name, namespace, endpoint, and owner reference.
GenerateSecret returns a Kubernetes secret for the given Cluster and kubeconfig data.
GenerateSecretWithOwner returns a Kubernetes secret for the given Cluster name, namespace, kubeconfig data, and ownerReference.
New creates a new Kubeconfig using the cluster name and specified endpoint.
# Variables
ErrDependentCertificateNotFound is returned when the kubeconfig cannot be generated because the dependent certificate is not found.