Add glide.yaml and vendor deps
This commit is contained in:
parent
db918f12ad
commit
5b3d5e81bd
18880 changed files with 5166045 additions and 1 deletions
13
vendor/github.com/docker/engine-api/client/swarm_join.go
generated
vendored
Normal file
13
vendor/github.com/docker/engine-api/client/swarm_join.go
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
package client
|
||||
|
||||
import (
|
||||
"github.com/docker/engine-api/types/swarm"
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
// SwarmJoin joins the Swarm.
|
||||
func (cli *Client) SwarmJoin(ctx context.Context, req swarm.JoinRequest) error {
|
||||
resp, err := cli.post(ctx, "/swarm/join", nil, req, nil)
|
||||
ensureReaderClosed(resp)
|
||||
return err
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue