Help us shape the future of Go! Take the 2026 Go Developer Survey

completion

package
v0.38.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Disable

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

Types

type ValidArgsFn

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

ValidArgsFn defines a completion func to be returned to fetch completion options

func BakeTargets

func BakeTargets(files []string) ValidArgsFn

func BuilderNames

func BuilderNames(dockerCli command.Cli) ValidArgsFn

Jump to

Keyboard shortcuts

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