package
0.0.0-20190205182333-3d0e39759d98
Repository: https://github.com/kubernetes-client/go-base.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
DataOrFile reads content of data, or file's content if data doesn't exist and represent it as []byte data.
InClusterConfig returns a config object which uses the service account kubernetes gives to pods.
LoadKubeConfig loads authentication and cluster information from kube-config file and stores them in returned client.Configuration.
NewKubeConfigLoaderFromYAMLFile creates a new KubeConfigLoader with a parsed config yaml file.
# Structs
DefaultGoogleCredentialLoader provides the default method for getting GCP token.
KubeConfigLoader implements the util functions to load authentication and cluster info and hosts intermediate info values.
RestConfig contains the information that a rest client needs to talk with a server.
# Interfaces
GoogleCredentialLoader defines the interface for getting GCP token.