Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct {
Dataplane DataplaneCmd `cmd:"" help:"Delete a dataplane."`
}
Cmd represents the delete command group.
type DataplaneCmd ¶
type DataplaneCmd struct {
ID string `arg:"" required:"" help:"ID of the dataplane to delete."`
Force bool `short:"f" help:"Force deletion without confirmation."`
}
DataplaneCmd handles dataplane deletion.
func (*DataplaneCmd) Run ¶
func (c *DataplaneCmd) Run(ctx context.Context, cfg airbox.ConfigStore, httpClient http.HTTPDoer, apiFactory airbox.APIServiceFactory, ui ui.Provider) error
Run executes the delete dataplane command.
Click to show internal directories.
Click to hide internal directories.