init ucind (Uncloud in Docker) provisioner

This commit is contained in:
Pavel Sviderski
2024-11-28 13:54:10 +10:00
parent 24a824b890
commit 73785007cb
2 changed files with 100 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
package ucind
import (
"errors"
"github.com/docker/docker/client"
)
var ErrNotFound = errors.New("not found")
type Provisioner struct {
client *client.Client
}
func NewProvisioner(cli *client.Client) *Provisioner {
return &Provisioner{
client: cli,
}
}