Versions in this module Expand all Collapse all v0 v0.1.6 Nov 13, 2026 Changes in this version + const ClientCSV + var Clients = map[string]Client + var ErrNotHosts = errors.New("encode: a host format writes host rows, not a table") + var ErrUnknownFormat = errors.New("encode: unknown format") + var GenericCSVColumns = []string + var TermiusColumns = []string + func Bundle(f Format, exp *ClientExport) ([]byte, error) + func ClientNames() []string + func FileName(f Format, exp *ClientExport, base string) string + func HostNames() []string + func Names() []string + func TableNames() []string + func TermiusCSV(hosts []Host) (string, error) + func Text(v any) string + type Client struct + Client string + Name string + Render func(hosts []Host) (*ClientExport, error) + ViaSSH bool + type ClientExport struct + Files []ClientFile + Notes []string + Skipped []string + type ClientFile struct + Data []byte + Name string + type Format struct + Client string + Extension string + Hosts func(src HostSource, aliases []string, o Options) (*ClientExport, error) + Label string + MediaType string + Name string + Write func(w io.Writer, t Table, o Options) error + func Get(name string) (Format, error) + func (f Format) IsHosts() bool + type Host struct + Agent string + Alias string + Group string + Hostname string + KeyFile string + Port int + Tags []string + User string + type HostSource interface + ClientHosts func(aliases []string, client string, viaSSH, includeGit bool) (hosts []Host, skipped []string, err error) + SSHConfig func(aliases []string) (string, error) + type Options struct + Compact bool + IncludeGit bool + NoHeader bool + Shape string + Title string + type Table struct + Columns []string + Rows [][]any