Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DockerEndpoint is the name of the docker endpoint in a stored context
DockerEndpoint = "docker"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct { EndpointMeta TLSData *context.TLSData // Deprecated: Use of encrypted TLS private keys has been deprecated, and // will be removed in a future release. Golang has deprecated support for // legacy PEM encryption (as specified in RFC 1423), as it is insecure by // design (see https://go-review.googlesource.com/c/go/+/264159). TLSPassword string }
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
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
Click to show internal directories.
Click to hide internal directories.