package
0.0.0-20241008223417-305985c1b11e
Repository: https://github.com/krissetto/docker-cli.git
Documentation: pkg.go.dev
# Functions
ContainerNames offers completion for container names and IDs By default, only names are returned.
EnvVarNames offers completion for environment-variable names.
FileNames is a convenience function to use [cobra.ShellCompDirectiveDefault], which indicates to let the shell perform its default behavior after completions have been provided.
FromList offers completion for the given list of options.
ImageNames offers completion for images present within the local store.
NetworkNames offers completion for networks.
NoComplete is used for commands where there's no relevant completion.
Platforms offers completion for platform-strings.
VolumeNames offers completion for volumes.
# Interfaces
APIClientProvider provides a method to get an [client.APIClient], initializing it if needed.
# Type aliases
ValidArgsFn a function to be used by cobra command as `ValidArgsFunction` to offer command line completion.