completion

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Context

func Context(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

Context is a shell completion function that completes context names, just one completion.

func ContextArray

func ContextArray(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

ContextArray is a shell completion function that completes context names, allow multiple completion.

func Namespace

func Namespace(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

Namespace is a shell completion function that completes namespace names, just one completion.

func None

func None(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

None is a shell completion function that does nothing.

func ServiceAccount

func ServiceAccount(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

ServiceAccount is a shell completion function that completes service account names, just one completion.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL