package
0.6.1
Repository: https://github.com/asbjornenge/docker.git
Documentation: pkg.go.dev

# Functions

CheckLocalDns looks into the /etc/resolv.conf, it returns true if there is a local nameserver or if there is no nameserver.
Compare two KernelVersionInfo struct.
FIXME: this is deprecated by CopyWithTar in archive.go.
Code c/c from io.Copy() modified to handle escape sequence.
Debug function, if the debug flag is set, then display.
No description provided by the author
Request a given URL and return an io.Reader.
No description provided by the author
No description provided by the author
No description provided by the author
GetResolvConf opens and read the content of /etc/resolv.conf.
No description provided by the author
Go is a basic promise implementation: it wraps calls a function in a goroutine, and returns a channel which will later return the function's return value.
No description provided by the author
HumanDuration returns a human-readable approximation of a duration (eg.
HumanSize returns a human-readable approximation of a size using SI standard (eg.
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
Get a repos name and returns the right reposName + tag The tag can be confusing because of a port in a repository name.
No description provided by the author
Figure out the absolute path of our own binary.
No description provided by the author
TruncateID returns a shorthand version of a string identifier for convenience.
UserLookup check if the given username or uid is present in /etc/passwd and returns the user struct.

# Structs

No description provided by the author
HTTPRequestFactory creates an HTTP request and applies a list of decorators on the request.
HTTPUserAgentDecorator appends the product/version to the user agent field of a request.
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
TruncIndex allows the retrieval of string identifiers by any of their unique prefixes.
No description provided by the author
No description provided by the author

# Interfaces

HTTPRequestDecorator is used to change an instance of http.Request.
VersionInfo is used to model entities which has a version.

# Type aliases

No description provided by the author