get

package
v0.30.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL