mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
ucind: wait for machine to become ready through polling API
This commit is contained in:
1 parent
bb967461d0
commit
faf3378659
3 files changed
+67
-32
No files matched your search
@@ -8,11 +8,11 @@ import (
|
||||
var ErrNotFound = errors.New("not found")
|
||||
|
||||
type Provisioner struct {
|
||||
client *client.Client
|
||||
dockerCli *client.Client
|
||||
}
|
||||
|
||||
func NewProvisioner(cli *client.Client) *Provisioner {
|
||||
return &Provisioner{
|
||||
client: cli,
|
||||
dockerCli: cli,
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user