Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ConfigFileName is the name of config file ConfigFileName = "config.json" // ConfigFileDir is the default folder where the config file is stored ConfigFileDir = ".docker" // ConfigFlagName is the name of the config flag ConfigFlagName = "config" )
Variables ¶
This section is empty.
Functions ¶
func WriteCurrentContext ¶
WriteCurrentContext writes the selected current context to the Docker configuration file. Note, the validity of the context is not checked.
Types ¶
type ContextKey ¶ added in v1.0.18
type ContextKey string
ContextKey defines a type for keys in the context passed
const ContextTypeKey ContextKey = "context_type"
ContextTypeKey is the key for context type stored in context.Context
Click to show internal directories.
Click to hide internal directories.