completion

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AllDurationUnits    = []string{"h", "m", "s", "ms", "us", "ns", "µs"}
	CommonDurationUnits = []string{"h", "m", "s"}
)

Functions

func SuggestComponentNames

func SuggestComponentNames(ctx context.Context, c *cli.Config) func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func SuggestDurationUnits

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

func SuggestWorkloadNames

func SuggestWorkloadNames(ctx context.Context, c *cli.Config) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)

Types

This section is empty.

Jump to

Keyboard shortcuts

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