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:"" aliases:"dataplanes" help:"Get dataplane details."`
}
Cmd represents the get command group.
type DataplaneCmd ¶
type DataplaneCmd struct {
ID string `arg:"" optional:"" help:"ID of the dataplane (optional, lists all if not specified)."`
Output string `short:"o" enum:"json,yaml" default:"json" help:"Output format (json, yaml)."`
}
DataplaneCmd handles getting dataplane details.
func (*DataplaneCmd) Run ¶
func (c *DataplaneCmd) Run(ctx context.Context, cfg airbox.ConfigStore, httpClient http.HTTPDoer, apiFactory airbox.APIServiceFactory, uiProvider ui.Provider) error
Run executes the get dataplane command.
Click to show internal directories.
Click to hide internal directories.