Documentation ¶
Index ¶
- func AddAuthFlagsToCommand(cmd *cobra.Command, cfg *config.Config)
- func AddContainerDFlagsToCommand(cmd *cobra.Command, cfg *config.Config)
- func AddDebugFlagsToCommand(cmd *cobra.Command, cfg *config.Config)
- func AddGRPCServerFlagsToCommand(cmd *cobra.Command, cfg *config.Config)
- func AddGWServerFlagsToCommand(cmd *cobra.Command, cfg *config.Config)
- func AddHiddenFlagsToCommand(cmd *cobra.Command, cfg *config.Config) error
- func AddMicrovmProviderFlagsToCommand(cmd *cobra.Command, cfg *config.Config)
- func AddNetworkFlagsToCommand(cmd *cobra.Command, cfg *config.Config) error
- func AddTLSFlagsToCommand(cmd *cobra.Command, cfg *config.Config)
- func CLIFlags(options ...WithFlagsFunc) []cli.Flag
- func ParseFlags(cfg *config.Config) cli.BeforeFunc
- type WithFlagsFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAuthFlagsToCommand ¶
AddAuthFlagsToCommand will add various auth method flags to the command.
func AddContainerDFlagsToCommand ¶
AddContainerDFlagsToCommand will add the containerd specific flags to the supplied cobra command.
func AddGRPCServerFlagsToCommand ¶
AddGRPCServerFlagsToCommand will add gRPC server flags to the supplied command.
func AddGWServerFlagsToCommand ¶
AddGWServerFlagsToCommand will add gRPC HTTP gateway flags to the supplied command.
func AddHiddenFlagsToCommand ¶
AddHiddenFlagsToCommand will add hidden flags to the supplied command.
func AddMicrovmProviderFlagsToCommand ¶
AddMicrovmProviderFlagsToCommand will add the microvm provider flags to the supplied command
func AddNetworkFlagsToCommand ¶
AddNetworkFlagsToCommand will add various network flags to the command.
func AddTLSFlagsToCommand ¶
AddTLSFlagsToCommand will add TLS-related flags to the given command.
func CLIFlags ¶
func CLIFlags(options ...WithFlagsFunc) []cli.Flag
func ParseFlags ¶
Types ¶
type WithFlagsFunc ¶
type WithFlagsFunc func() []cli.Flag
func WithContainerDFlags ¶
func WithContainerDFlags() WithFlagsFunc
func WithGlobalConfigFlags ¶
func WithGlobalConfigFlags() WithFlagsFunc
func WithHTTPEndpointFlags ¶
func WithHTTPEndpointFlags() WithFlagsFunc
Click to show internal directories.
Click to hide internal directories.