package
0.0.0-20200321091321-bc8cfc345e21
Repository: https://github.com/wuka1/swarmkit.git
Documentation: pkg.go.dev
# Functions
Context returns a request context based on CLI arguments.
Dial establishes a connection and creates a client.
DialConn establishes a connection to SwarmKit.
FprintfIfNotEmpty prints only if `s` is not empty.
NewResolver creates a new Resolver.
ParseLogDriverFlags parses a silly string format for log driver and options.
PrintHeader prints a nice little header.
TimestampAgo returns a relative time string from a timestamp (e.g.