kubernetes: k8s.io/kubernetes/cmd/kubeadm/app/discovery Index | Files | Directories

package discovery

import "k8s.io/kubernetes/cmd/kubeadm/app/discovery"

Index

Package Files

discovery.go

Constants

const TokenUser = "tls-bootstrap-token-user"

TokenUser defines token user

func DiscoverValidatedKubeConfig Uses

func DiscoverValidatedKubeConfig(cfg *kubeadmapi.JoinConfiguration) (*clientcmdapi.Config, error)

DiscoverValidatedKubeConfig returns a validated Config object that specifies where the cluster is and the CA cert to trust

func For Uses

func For(cfg *kubeadmapi.JoinConfiguration) (*clientcmdapi.Config, error)

For returns a kubeconfig object that can be used for doing the TLS Bootstrap with the right credentials Also, before returning anything, it makes sure it can trust the API Server

Directories

PathSynopsis
file
https
token

Package discovery imports 10 packages (graph) and is imported by 9 packages. Updated 2019-08-07. Refresh now. Tools for package owners.