file

package
v1.24.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2021 License: Apache-2.0 Imports: 13 Imported by: 60

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RetrieveValidatedConfigInfo added in v1.12.0

func RetrieveValidatedConfigInfo(filepath, clustername 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 added in v1.12.0

func ValidateConfigInfo(config *clientcmdapi.Config, clustername string, 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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL