package docker
import "github.com/docker/cli/cli/context/docker"
Index ¶
- Constants
- type Endpoint
- func WithTLSData(s store.Reader, contextName string, m EndpointMeta) (Endpoint, error)
- func (ep *Endpoint) ClientOpts() ([]client.Opt, error)
- type EndpointMeta
Constants ¶
const ( // DockerEndpoint is the name of the docker endpoint in a stored context DockerEndpoint = "docker" )
Types ¶
type Endpoint ¶
type Endpoint struct { EndpointMeta TLSData *context.TLSData }
Endpoint is a typed wrapper around a context-store generic endpoint describing a Docker Engine endpoint, with its tls data
func WithTLSData ¶
WithTLSData loads TLS materials for the endpoint
func (*Endpoint) ClientOpts ¶
ClientOpts returns a slice of Client options to configure an API client with this endpoint
type EndpointMeta ¶
type EndpointMeta = context.EndpointMetaBase
EndpointMeta is a typed wrapper around a context-store generic endpoint describing a Docker Engine endpoint, without its tls config
func EndpointFromContext ¶
func EndpointFromContext(metadata store.Metadata) (EndpointMeta, error)
EndpointFromContext parses a context docker endpoint metadata into a typed EndpointMeta structure
Source Files ¶
- Version
- v28.0.1+incompatible
- Published
- Feb 25, 2025
- Platform
- windows/amd64
- Imports
- 12 packages
- Last checked
- 9 hours ago –
Tools for package owners.