mirror of
https://github.com/rancher/os.git
synced 2025-09-04 08:14:21 +00:00
Update vendor
This commit is contained in:
8
vendor/github.com/docker/engine-api/client/client.go
generated
vendored
8
vendor/github.com/docker/engine-api/client/client.go
generated
vendored
@@ -21,7 +21,7 @@ type Client struct {
|
||||
addr string
|
||||
// basePath holds the path to prepend to the requests.
|
||||
basePath string
|
||||
// transport is the interface to send request with, it implements transport.Client.
|
||||
// transport is the interface to sends request with, it implements transport.Client.
|
||||
transport transport.Client
|
||||
// version of the server to talk to.
|
||||
version string
|
||||
@@ -114,12 +114,6 @@ func (cli *Client) ClientVersion() string {
|
||||
return cli.version
|
||||
}
|
||||
|
||||
// UpdateClientVersion updates the version string associated with this
|
||||
// instance of the Client.
|
||||
func (cli *Client) UpdateClientVersion(v string) {
|
||||
cli.version = v
|
||||
}
|
||||
|
||||
// ParseHost verifies that the given host strings is valid.
|
||||
func ParseHost(host string) (string, string, string, error) {
|
||||
protoAddrParts := strings.SplitN(host, "://", 2)
|
||||
|
Reference in New Issue
Block a user