Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLocalClient ¶
Types ¶
type Cli ¶
type Cli struct {
Hosts []HostConfig `help:"List of hosts to connect to." name:"hosts" aliases:"host" default:"local" env:"DTOP_HOSTS"`
Version bool `help:"Show version information." default:"false" name:"version" short:"v"`
Sort SortField `help:"Default sort order. Options are status or name." name:"sort" enum:"name,status" default:"status"`
}
type HostConfig ¶
type HostConfig struct {
Host string `help:"Host address." name:"host"`
Dozzle string `help:"Dozzle address." name:"dozzle"`
}
func (*HostConfig) Decode ¶
func (h *HostConfig) Decode(ctx *kong.DecodeContext) error
Click to show internal directories.
Click to hide internal directories.