The panel now talks to Incus over its Unix socket REST API (/var/lib/incus/unix.socket, group incus-admin) exclusively: - internal/lx: exec moved from the `lxc` CLI to the API websocket transport (Exec/ExecSH/RunInitScript); EnsureImage pulls a remote-qualified fallback (images:debian/13) before Launch since the API cannot auto-fetch it inside the create call; per-container df probe in mgr/batch.go uses the same API path. - cfg: config key renamed lxd.* -> incus.* (image, image_fallback, pool, bridge, socket); DefaultSocket is the Debian-package path. - mgr: container disk probe and image handling updated; comment sweep from LXD to Incus. - deps: add gorilla/websocket for the exec transport. Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
29 lines
816 B
AMPL
29 lines
816 B
AMPL
module vpsmgr
|
|
|
|
go 1.26
|
|
|
|
toolchain go1.26.5
|
|
|
|
require (
|
|
github.com/gorilla/websocket v1.5.3
|
|
golang.org/x/crypto v0.26.0
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
modernc.org/sqlite v1.34.1
|
|
)
|
|
|
|
require (
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/ncruces/go-strftime v1.0.0 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
golang.org/x/sys v0.24.0 // indirect
|
|
modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6 // indirect
|
|
modernc.org/libc v1.55.5 // indirect
|
|
modernc.org/mathutil v1.6.0 // indirect
|
|
modernc.org/memory v1.8.0 // indirect
|
|
modernc.org/strutil v1.2.0 // indirect
|
|
modernc.org/token v1.1.0 // indirect
|
|
)
|