mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-27 19:43:34 +00:00
init ucind (Uncloud in Docker) provisioner
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user