# Functions
EndpointTypeGetter returns a NamedTypeGetter with the spcecified name and getter.
Export exports an existing namespace into an opaque data stream This stream is actually a tarball containing context metadata and TLS materials, but it does not map 1:1 the layout of the context store (don't try to restore it manually without calling store.Import).
Import imports an exported context into a store.
IsErrContextDoesNotExist checks if the given error is a "context does not exist" condition.
IsErrTLSDataDoesNotExist checks if the given error is a "context does not exist" condition.
New creates a store from a given directory.
NewConfig creates a config object.
ValidateContextName checks a context name is valid.
# Structs
Config is used to configure the metadata marshaler of the context store.
ContextTLSData represents tls data for a whole context.
EndpointTLSData represents tls data for a given endpoint.
LimitedReader is a fork of io.LimitedReader to override Read.
Metadata contains metadata about a context and its endpoints.
NamedTypeGetter is a TypeGetter associated with a name.
StorageInfo contains data about where a given context is stored.
# Interfaces
Lister provides listing of contexts.
Reader provides read-only (without list) access to context data.
ReaderLister combines Reader and Lister interfaces.
ReaderWriter combines Reader and Writer interfaces.
StorageInfoProvider provides more information about storage details of contexts.
Store provides a context store for easily remembering endpoints configuration.
Writer provides write access to context data.
# Type aliases
EndpointFiles is a slice of strings representing file names.
TypeGetter is a func used to determine the concrete type of a context or endpoint metadata by returning a pointer to an instance of the object eg: for a context of type DockerContext, the corresponding TypeGetter should return new(DockerContext).