package file

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

Index

Functions

func RetrieveValidatedConfigInfo

func RetrieveValidatedConfigInfo(filepath 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

func ValidateConfigInfo

func ValidateConfigInfo(config *clientcmdapi.Config, discoveryTimeout time.Duration) (*clientcmdapi.Config, error)

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

Source Files

file.go

Version
v1.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
13 packages
Last checked
3 hours ago

Tools for package owners.