package file

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

Index

Functions

func RetrieveValidatedClusterInfo

func RetrieveValidatedClusterInfo(filepath string) (*clientcmdapi.Cluster, error)

RetrieveValidatedClusterInfo connects to the API Server and makes sure it can talk securely to the API Server using the provided CA cert and optionally refreshes the cluster-info information from the cluster-info ConfigMap

func ValidateClusterInfo

func ValidateClusterInfo(clusterinfo *clientcmdapi.Config) (*clientcmdapi.Cluster, error)

ValidateClusterInfo connects to the API Server and makes sure it can talk securely to the API Server using the provided CA cert and optionally refreshes the cluster-info information from the cluster-info ConfigMap

Source Files

file.go

Version
v1.7.1
Published
Jul 14, 2017
Platform
linux/amd64
Imports
10 packages
Last checked
3 hours ago

Tools for package owners.