Documentation ¶
Index ¶
Constants ¶
View Source
const (
OptDisableSnat = "DisableSNAT"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client specifies a client to connect to docker.
func NewDefaultClient ¶
NewDefaultClient create a new docker client.
func (*Client) CreateNetwork ¶
func (c *Client) CreateNetwork(networkName string, nicInfo *wireserver.InterfaceInfo, options map[string]interface{}) error
CreateNetwork creates a network using docker network create.
func (*Client) DeleteNetwork ¶
DeleteNetwork creates a network using docker network create.
func (*Client) NetworkExists ¶
NetworkExists tries to retrieve a network from docker (if it exists).
type DockerErrorResponse ¶
type DockerErrorResponse struct {
// contains filtered or unexported fields
}
DockerErrorResponse defines the error response retunred by docker.
Click to show internal directories.
Click to hide internal directories.