Documentation
¶
Overview ¶
Package flags provides shell completion functions for cargoship CLI flags.
Index ¶
- func RegisterArchitectureFormat(_ *cobra.Command, _ []string, _ string) ([]string, cobra.ShellCompDirective)
- func RegisterLogFormat(_ *cobra.Command, _ []string, _ string) ([]string, cobra.ShellCompDirective)
- func RegisterLogLevel(_ *cobra.Command, _ []string, _ string) ([]string, cobra.ShellCompDirective)
- func RegisterOCIConcurrency(_ *cobra.Command, _ []string, _ string) ([]string, cobra.ShellCompDirective)
- func RegisterOutputFormat(_ *cobra.Command, _ []string, _ string) ([]string, cobra.ShellCompDirective)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterArchitectureFormat ¶
func RegisterArchitectureFormat(_ *cobra.Command, _ []string, _ string) ([]string, cobra.ShellCompDirective)
RegisterArchitectureFormat provides shell completion suggestions for the architecture flag.
func RegisterLogFormat ¶
RegisterLogFormat provides shell completion suggestions for the log-format flag.
func RegisterLogLevel ¶
RegisterLogLevel provides shell completion suggestions for the log-level flag.
func RegisterOCIConcurrency ¶
func RegisterOCIConcurrency(_ *cobra.Command, _ []string, _ string) ([]string, cobra.ShellCompDirective)
RegisterOCIConcurrency provides shell completion suggestions for the OCI concurrency flag.
func RegisterOutputFormat ¶
func RegisterOutputFormat(_ *cobra.Command, _ []string, _ string) ([]string, cobra.ShellCompDirective)
RegisterOutputFormat provides shell completion suggestions for the output format flag.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.