...

Package https

import "k8s.io/kubernetes/cmd/kubeadm/app/discovery/https"
Overview
Index

Overview ▾

func RetrieveValidatedConfigInfo

func RetrieveValidatedConfigInfo(httpsURL string, discoveryTimeout time.Duration) (*clientcmdapi.Config, error)

RetrieveValidatedConfigInfo 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