file

package
v1.17.3-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2020 License: Apache-2.0 Imports: 12 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