package token
import "k8s.io/kubernetes/cmd/kubeadm/app/discovery/token"
Index ¶
- Constants
- func RetrieveValidatedClusterInfo(discoveryToken string, tokenAPIServers []string) (*clientcmdapi.Cluster, error)
Constants ¶
const BootstrapUser = "token-bootstrap-client"
Functions ¶
func RetrieveValidatedClusterInfo ¶
func RetrieveValidatedClusterInfo(discoveryToken string, tokenAPIServers []string) (*clientcmdapi.Cluster, error)
RetrieveValidatedClusterInfo connects to the API Server and tries to fetch the cluster-info ConfigMap It then makes sure it can trust the API Server by looking at the JWS-signed tokens
Source Files ¶
token.go
- Version
- v1.7.1
- Published
- Jul 14, 2017
- Platform
- linux/amd64
- Imports
- 12 packages
- Last checked
- 11 minutes ago –
Tools for package owners.