Files
archipelago/connectors/incus/main.go
T

15 lines
558 B
Go

// Command incus is the Incus connector: it lists containers, runs read-only
// commands from an allow-list inside them, takes snapshots, and deletes cache
// directories confined to per-container allowed paths. It talks to a remote
// Incus over HTTPS with a client certificate and a pinned server certificate.
// Nothing inside a container is declared disposable.
package main
import "github.com/samcharles93/archipelago/sdk/connector"
func main() {
connector.Serve(func(cfg connector.Config) (connector.Connector, error) {
return newIncus(cfg)
})
}