package
0.0.4
Repository: https://github.com/leigme/client-go-trace.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

Flatten changes the config object into a self contained config (useful for making secrets).
No description provided by the author
IsConfigEmpty returns true if the config is empty.
No description provided by the author
MinifyConfig read the current context and uses that to keep only the relevant pieces of config This is useful for making secrets based on kubeconfig files.
NewAuthInfo is a convenience function that returns a new AuthInfo object with non-nil maps.
NewCluster is a convenience function that returns a new Cluster object with non-nil maps.
NewConfig is a convenience function that returns a new Config object with non-nil maps.
NewContext is a convenience function that returns a new Context object with non-nil maps.
NewPreferences is a convenience function that returns a new Preferences object with non-nil maps.
ResolvePath returns the path as an absolute paths, relative to the given base directory.
Flatten redacts raw data entries from the config object for a human-readable view.

# Constants

AlwaysExecInteractiveMode declares that this exec plugin requires standard input in order to run, and therefore the exec plugin will only be run if standard input is available for user input.
IfAvailableExecInteractiveMode declares that this exec plugin would like to use standard input if it is available, but can still operate if standard input is not available.
NeverExecInteractiveMode declares that this exec plugin never needs to use standard input, and therefore the exec plugin will be run regardless of whether standard input is available for user input.

# Variables

No description provided by the author
No description provided by the author
SchemeGroupVersion is group version used to register these objects TODO this should be in the "kubeconfig" group.

# Structs

AuthInfo contains information that describes identity information.
AuthProviderConfig holds the configuration for a specified auth provider.
Cluster contains information about how to communicate with a kubernetes cluster.
Config holds the information needed to build connect to remote kubernetes clusters as a given user IMPORTANT if you add fields to this struct, please update IsConfigEmpty() +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
Context is a tuple of references to a cluster (how do I communicate with a kubernetes cluster), a user (how do I identify myself), and a namespace (what subset of resources do I want to work with).
ExecConfig specifies a command to provide client credentials.
ExecEnvVar is used for setting environment variables when executing an exec-based credential plugin.
IMPORTANT if you add fields to this struct, please update IsConfigEmpty().

# Type aliases

ExecInteractiveMode is a string that describes an exec plugin's relationship with standard input.