Documentation ¶
Index ¶
- func ClustersFlagValidator(client *rest.RESTClient) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)
- func NewRootCmd() (*cobra.Command, error)
- func NoFileCompletions(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func ValidateSubCommand(resources []string) func(*cobra.Command, []string) error
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClustersFlagValidator ¶ added in v0.2.0
func ClustersFlagValidator(client *rest.RESTClient) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)
func NewRootCmd ¶
func NoFileCompletions ¶ added in v0.2.0
Types ¶
type Client ¶
type Client struct { KubeClient *kubernetes.Clientset DynamicClient *dynamic.DynamicClient RestClient *rest.RESTClient }
Click to show internal directories.
Click to hide internal directories.