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

package discovery

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

Index

Constants

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

Functions

func For

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

func GetValidatedClusterInfoObject

func GetValidatedClusterInfoObject(cfg *kubeadmapi.NodeConfiguration) (*clientcmdapi.Cluster, error)

GetValidatedClusterInfoObject returns a validated Cluster object that specifies where the cluster is and the CA cert to trust

Source Files

discovery.go

Directories

PathSynopsis
cmd/kubeadm/app/discovery/file
cmd/kubeadm/app/discovery/https
cmd/kubeadm/app/discovery/token
Version
v1.7.4-beta.0
Published
Aug 3, 2017
Platform
js/wasm
Imports
8 packages
Last checked
4 minutes ago

Tools for package owners.