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"

TokenUser defines 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.11.4-beta.0
Published
Sep 9, 2018
Platform
linux/amd64
Imports
8 packages
Last checked
5 minutes ago

Tools for package owners.