package
1.13.0-rc1
Repository: https://github.com/nullne/docker.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AddTrustedFlags adds content trust flags to the current command flagset.
ConfigureAuth returns an AuthConfig from the specified user, password and server.
CopyToFile writes the content of the reader to the specified file.
ElectAuthServer returns the default registry to use (by asking the daemon).
EncodeAuthToBase64 serializes the auth configuration as JSON base64 payload.
InitEventHandler initializes and returns an EventHandler.
IsTrusted returns true if content trust is enabled.
LoadDefaultConfigFile attempts to load the default config file and returns an initialized ConfigFile struct if none is found.
NewAPIClientFromFlags creates a new APIClient from command line flags.
NewDockerCli returns a DockerCli instance with IO output and error streams set by in, out and err.
NewInStream returns a new InStream object from a ReadCloser.
NewOutStream returns a new OutStream object from a Writer.
PrettyPrint outputs arbitrary data for human formatted output by uppercasing the first letter.
PromptForConfirmation requests and checks confirmation from user.
RegistryAuthenticationPrivilegedFunc returns a RequestPrivilegeFunc from the specified registry index info for the given command.
ResolveAuthConfig is like registry.ResolveAuthConfig, but if using the default index, it uses the default index name for the daemon's platform, not the client's platform.
RetrieveAuthTokenFromImage retrieves an encoded auth token given a complete image.
UserAgent returns the user agent string used for making API requests.

# Structs

DockerCli represents the docker command line client.
InStream is an input stream used by the DockerCli to read user input.
OutStream is an output stream used by the DockerCli to write normal program output.

# Interfaces

EventHandler is abstract interface for user to customize own handle functions of each type of events.
Streams is an interface which exposes the standard input and output streams.