{"modulePath":"github.com/rancher/docker-cli","version":"v0.0.0-20190201110649-896ff57b300c","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package docker\n\n## Constants\n\n```go\nconst (\n\t// DockerEndpoint is the name of the docker endpoint in a stored context\n\tDockerEndpoint = \"docker\"\n)\n```\n\n## Types\n\n```go\ntype Endpoint struct {\n\tEndpointMeta\n\tTLSData     *context.TLSData\n\tTLSPassword string\n}\n```\nEndpoint is a typed wrapper around a context-store generic endpoint describing a Docker Engine endpoint, with its tls data\n\n```go\nfunc WithTLSData(s store.Store, contextName string, m EndpointMeta) (Endpoint, error)\n```\nWithTLSData loads TLS materials for the endpoint\n\n```go\nfunc (c *Endpoint) ClientOpts() ([]func(*client.Client) error, error)\n```\nClientOpts returns a slice of Client options to configure an API client with this endpoint\n\n```go\ntype EndpointMeta = context.EndpointMetaBase\n```\nEndpointMeta is a typed wrapper around a context-store generic endpoint describing a Docker Engine endpoint, without its tls config\n\n```go\nfunc EndpointFromContext(metadata store.ContextMetadata) (EndpointMeta, error)\n```\nEndpointFromContext parses a context docker endpoint metadata into a typed EndpointMeta structure\n\n","path":"github.com/rancher/docker-cli/cli/context/docker","name":"docker","synopsis":"","isRedistributable":true}
