completion

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 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 SuggestClusterSupplyChainNames added in v0.7.0

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

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