incus-mirror/cmd/lxd-to-incus/sources.go
Stéphane Graber 40dd4f151d
Rewrite Go import path to v7
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-02 01:18:25 +02:00

23 lines
339 B
Go

package main
import incus "github.com/lxc/incus/v7/client"
type source interface {
present() bool
stop() error
start() error
purge() error
connect() (incus.InstanceServer, error)
paths() (*daemonPaths, error)
name() string
}
var sources = []source{
&srcSnap{},
&srcDeb{},
&srcCOPR{},
&srcXbps{},
&srcAPK{},
&srcManual{},
}