package
0.0.0-20230628214157-3bfe64699e82
Repository: https://github.com/gravitational/gravity.git
Documentation: pkg.go.dev

# Functions

Command returns a new command that executes a kubectl command with optional args.
Create runs a kubectl create command with the specified arguments.
CreateFromSpec creates resources specified in the provided spec in the given namespace.
Delete deletes the specified resourceType.
GetNamespaces fetches the names of all namespaces.
GetNodesAddr returns internal IP addresses of all nodes in the cluster.
GetPodContainers fetches the names of the containers from the specified pod in the given namespace.
GetPods fetches the names of the pods from the given namespace.
Run runs a kubectl command specified with args using privileged kubeconfig.
RunCommand runs a kubectl command specified with args.
WithPrivilegedConfig returns a command option to specify a privileged kubeconfig.

# Structs

Cmd is a kubectl command with arguments.

# Type aliases

OptionSetter is a functional option for configuring commands.