Documentation
¶
Overview ¶
Package each provides functionality to execute kubectl commands across multiple contexts
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Each ¶
func Each(ctx context.Context, configFlags *genericclioptions.ConfigFlags, resourceBuilderFlags *genericclioptions.ResourceBuilderFlags, contextPattern string, outputFormat string, interactive bool, commandArgs []string) error
Each executes kubectl commands across multiple contexts matching the given pattern
Types ¶
type Eacher ¶
type Eacher struct {
IOStreams genericclioptions.IOStreams
Kubeconfig kubeconfig.Interface
Namespace string
Fzf fzf.Interface
}
Eacher executes kubectl commands across multiple contexts
Click to show internal directories.
Click to hide internal directories.