package
1.9.0-alpha.0
Repository: https://github.com/jpbetz/kubernetes.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
PathFromEnvVarPluginLoader is a PluginLoader that loads plugins from one or more directories specified by the provided env var name.
PluginsEnvVarPluginLoader is a PluginLoader that loads plugins from one or more directories specified by the KUBECTL_PLUGINS_PATH env var.
UserDirPluginLoader is a PluginLoader that loads plugins from the "plugins" directory under the user's kubeconfig dir (usually "~/.kube/plugins/").
XDGDataPluginLoader is a PluginLoader that loads plugins from one or more directories specified by the XDG system directory structure spec in the XDG_DATA_DIRS env var, plus the "kubectl/plugins/" suffix.

# Constants

No description provided by the author

# Variables

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

# Structs

PluginDescription holds everything needed to register a plugin as a command.
DirectoryPluginLoader is a PluginLoader that loads plugin descriptions from a given directory in the filesystem.
DummyPluginLoader loads nothing.
No description provided by the author
Env represents an environment variable with its name and value.
ExecPluginRunner is a PluginRunner that uses Go's os/exec to run plugins.
Flag describes a single flag supported by a given plugin.
OSEnvProvider provides current environment from the operating system.
Plugin is the representation of a CLI extension (plugin).
PluginCallerEnvProvider provides env with the path to the caller binary (usually full path to 'kubectl').
PluginDescriptorEnvProvider provides env vars with information about the running plugin.
RunningContext holds the context in which a given plugin is running - the in, out, and err streams, arguments and environment passed to it, and the working directory.
PluginSource holds the location of a given plugin in the filesystem.

# Interfaces

EnvProvider provides the environment in which the plugin will run.
PluginLoader is capable of loading a list of plugin descriptions.
PluginRunner is capable of running a plugin in a given running context.

# Type aliases

EnvList is a list of Env.
MultiEnvProvider is an EnvProvider for multiple env providers, returns on first error.
MultiPluginLoader is a PluginLoader that can encapsulate multiple plugin loaders, a successful loading means every encapsulated loader was able to load without errors.
Plugins is a list of plugins.
TolerantMultiPluginLoader is a PluginLoader than encapsulates multiple plugins loaders, but is tolerant to errors while loading from them.