# Functions
EnvironmentWithClientConfigLoader replaces the client configuration loader with the specified one.
EnvironmentWithClientConfigOverrides replaces the client configuration overrides with the specified one.
EnvironmentWithClientScheme sets the runtime scheme to use for the controller and dynamic clients.
Exec creates a one-time-use Execer, runs the given script, and then tears down the backing pod.
NewEnvironment establishes a connection to the cluster given by the relevant Kubernetes client configuration and sets up client accessors for it.
NewExecer creates a new script executor for the given environment and options.
No description provided by the author
No description provided by the author
WithEnvironment runs a function with a connection to a cluster and then tears down the connection.
No description provided by the author
# Structs
Environment provides an opinionated connection to an existing cluster in test.
EnvironmentOptions are the options that control a given test environment.
Execer is a utility that allows arbitrary shell commands to be run inside a cluster.
ExecerOptions allow for customization of a script executor.
No description provided by the author
# Interfaces
EnvironmentOption is a setter for one or more environment options.
ExecerOption is a setter for one or more script executor options.
No description provided by the author
No description provided by the author
# Type aliases
EnvironmentOptionFunc allows a functio to be used as an enviroment option.
EnvironmentWithClientContext causes the environment connection to use the given context from the Kubeconfig(s) instead of the default configured in the file.
EnvironmentWithClientKubeconfigs sets the path to one or more Kubeconfig files to use to load the connection to the cluster.
EnvironmentWithCRDDirectoryPaths causes any CRDs found in the given directories to be loaded into the cluster when the environment connection is established.
ExecerWithGenerateName generates the pod name from the given template string.
ExecerWithImage sets the Docker image to use for the execution environment.
ExecerWithName sets the pod name.
ExecerWithNamespace causes the script execution pod to be created in the given namespace.
ExecerWithShell sets the POSIX-compatible shell to use when executing scripts.
ExecerWithTimeout sets the maximum lifetime for the pod.
No description provided by the author
No description provided by the author
No description provided by the author