Stacks usually run more than one service, so the last service read used to wipe the status of the stack. Merge the labels into the existing map instead. Servers are now queried through an injectable fetcher with a concurrency limit, so a large fleet no longer opens one SSH connection per server at once, and the fetch is testable. Also: - only read the recipe catalogue when a deployed version exists, and render statuses anyway if it cannot be fetched - truncate the error banner instead of joining every server error - clamp the page size to at least one row, as bubble-table otherwise renders nothing at all - stop treating keypresses as commands while the filter has focus, so q types a q rather than quitting - parse flags on a dedicated flag set with long forms, so a bad flag reports against cctuip help instead of exiting - drop golang.org/x/exp in favour of the built-in maps
102 lines
4.8 KiB
AMPL
102 lines
4.8 KiB
AMPL
module coopcloud.tech/cctuip
|
|
|
|
go 1.20
|
|
|
|
require (
|
|
coopcloud.tech/abra v0.0.0-20230406152233-9e0500047628
|
|
coopcloud.tech/tagcmp v0.0.0-20211103052201-885b22f77d52
|
|
github.com/charmbracelet/bubbles v0.15.0
|
|
github.com/charmbracelet/bubbletea v0.23.2
|
|
github.com/charmbracelet/lipgloss v0.6.0
|
|
github.com/docker/docker v20.10.24+incompatible
|
|
github.com/evertras/bubble-table v0.15.2
|
|
golang.org/x/term v0.6.0
|
|
)
|
|
|
|
require (
|
|
github.com/Autonomic-Cooperative/godotenv v1.3.1-0.20210731094149-b031ea1211e7 // indirect
|
|
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
|
|
github.com/BurntSushi/toml v1.0.0 // indirect
|
|
github.com/Microsoft/go-winio v0.5.2 // indirect
|
|
github.com/Microsoft/hcsshim v0.9.2 // indirect
|
|
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect
|
|
github.com/acomagu/bufpipe v1.0.4 // indirect
|
|
github.com/atotto/clipboard v0.1.4 // indirect
|
|
github.com/aymanbagabas/go-osc52 v1.2.1 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/cespare/xxhash/v2 v2.1.2 // indirect
|
|
github.com/cloudflare/circl v1.1.0 // indirect
|
|
github.com/containerd/console v1.0.3 // indirect
|
|
github.com/containers/image v3.0.2+incompatible // indirect
|
|
github.com/docker/cli v20.10.24+incompatible // indirect
|
|
github.com/docker/distribution v2.8.1+incompatible // indirect
|
|
github.com/docker/docker-credential-helpers v0.6.4 // indirect
|
|
github.com/docker/go v1.5.1-1.0.20160303222718-d30aec9fd63c // indirect
|
|
github.com/docker/go-connections v0.4.0 // indirect
|
|
github.com/docker/go-metrics v0.0.1 // indirect
|
|
github.com/docker/go-units v0.5.0 // indirect
|
|
github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7 // indirect
|
|
github.com/emirpasic/gods v1.18.1 // indirect
|
|
github.com/fvbommel/sortorder v1.0.2 // indirect
|
|
github.com/ghodss/yaml v1.0.0 // indirect
|
|
github.com/go-git/gcfg v1.5.0 // indirect
|
|
github.com/go-git/go-billy/v5 v5.4.1 // indirect
|
|
github.com/go-git/go-git/v5 v5.6.1 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/golang/protobuf v1.5.2 // indirect
|
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
|
github.com/gorilla/mux v1.8.0 // indirect
|
|
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
|
github.com/hashicorp/go-retryablehttp v0.7.2 // indirect
|
|
github.com/imdario/mergo v0.3.13 // indirect
|
|
github.com/inconshreveable/mousetrap v1.0.0 // indirect
|
|
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
|
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
|
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.17 // indirect
|
|
github.com/mattn/go-localereader v0.0.1 // indirect
|
|
github.com/mattn/go-runewidth v0.0.14 // indirect
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
|
|
github.com/miekg/pkcs11 v1.0.3 // indirect
|
|
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect
|
|
github.com/mitchellh/mapstructure v1.4.3 // indirect
|
|
github.com/moby/sys/mount v0.2.0 // indirect
|
|
github.com/moby/sys/mountinfo v0.5.0 // indirect
|
|
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect
|
|
github.com/morikuni/aec v1.0.0 // indirect
|
|
github.com/muesli/ansi v0.0.0-20221106050444-61f0cd9a192a // indirect
|
|
github.com/muesli/cancelreader v0.2.2 // indirect
|
|
github.com/muesli/reflow v0.3.0 // indirect
|
|
github.com/muesli/termenv v0.14.0 // indirect
|
|
github.com/olekukonko/tablewriter v0.0.5 // indirect
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
|
github.com/opencontainers/image-spec v1.0.3-0.20211202193544-a5463b7f9c84 // indirect
|
|
github.com/pjbgf/sha1cd v0.3.0 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/prometheus/client_golang v1.14.0 // indirect
|
|
github.com/prometheus/client_model v0.3.0 // indirect
|
|
github.com/prometheus/common v0.37.0 // indirect
|
|
github.com/prometheus/procfs v0.8.0 // indirect
|
|
github.com/rivo/uniseg v0.4.3 // indirect
|
|
github.com/schollz/progressbar/v3 v3.13.1 // indirect
|
|
github.com/sergi/go-diff v1.2.0 // indirect
|
|
github.com/sirupsen/logrus v1.9.0 // indirect
|
|
github.com/skeema/knownhosts v1.1.0 // indirect
|
|
github.com/spf13/cobra v1.3.0 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
github.com/theupdateframework/notary v0.7.0 // indirect
|
|
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
|
github.com/xeipuuv/gojsonpointer v0.0.0-20190809123943-df4f5c81cb3b // indirect
|
|
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
|
|
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
|
|
golang.org/x/crypto v0.6.0 // indirect
|
|
golang.org/x/net v0.8.0 // indirect
|
|
golang.org/x/sync v0.1.0 // indirect
|
|
golang.org/x/sys v0.7.0 // indirect
|
|
golang.org/x/text v0.8.0 // indirect
|
|
golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e // indirect
|
|
google.golang.org/protobuf v1.28.1 // indirect
|
|
gopkg.in/warnings.v0 v0.1.2 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
)
|