package
17.12.1-ce-rc2+incompatible
Repository: https://github.com/crazy-max/docker-cli.git
Documentation: pkg.go.dev
# Functions
CheckpointWrite writes formatted checkpoints using the Context.
ConfigInspectWrite renders the context for a list of configs.
ConfigWrite writes the context.
ContainerStatsWrite renders the context for a list of containers statistics.
ContainerWrite renders the context for a list of containers.
DiffWrite writes formatted diff using the Context.
DisplayablePorts returns formatted string representing open ports of container e.g.
Ellipsis truncates a string to fit within maxDisplayWidth, and appends ellipsis (…).
HistoryWrite writes the context.
ImageWrite writes the formatter images using the ImageContext.
NetworkWrite writes the context.
NewCheckpointFormat returns a format for use with a checkpoint Context.
NewConfigFormat returns a Format for rendering using a config Context.
NewContainerFormat returns a Format for rendering using a Context.
NewContainerStats returns a new ContainerStats entity and sets in it the given name.
NewDiffFormat returns a format for use with a diff Context.
NewDiskUsageFormat returns a format for rendering an DiskUsageContext.
NewHistoryFormat returns a format for rendering an HistoryContext.
NewImageFormat returns a format for rendering an ImageContext.
NewNetworkFormat returns a Format for rendering using a network Context.
NewNodeFormat returns a Format for rendering using a node Context.
NewPluginFormat returns a Format for rendering using a plugin Context.
NewSearchFormat returns a Format for rendering using a network Context.
NewSecretFormat returns a Format for rendering using a secret Context.
NewServiceFormat returns a Format for rendering using a Context.
NewServiceListFormat returns a Format for rendering using a service Context.
NewSignerInfoFormat returns a Format for rendering a signer role info Context.
NewStackFormat returns a format for use with a stack Context.
NewStatsFormat returns a format for rendering an CStatsContext.
NewTaskFormat returns a Format for rendering using a task Context.
NewTrustTagFormat returns a Format for rendering using a trusted tag Context.
NewVolumeFormat returns a format for use with a volume Context.
NodeInspectWrite renders the context for a list of nodes.
NodeWrite writes the context.
PluginWrite writes the context.
SearchWrite writes the context.
SecretInspectWrite renders the context for a list of secrets.
SecretWrite writes the context.
ServiceInspectWrite renders the context for a list of services.
ServiceListWrite writes the context.
SignerInfoWrite writes the context.
StackWrite writes formatted stacks using the Context.
TaskWrite writes the context.
TrustTagWrite writes the context.
VolumeWrite writes formatted volumes using the Context.
# Constants
Format keys used to specify certain kinds of output formats.
Format keys used to specify certain kinds of output formats.
Format keys used to specify certain kinds of output formats.
# Structs
ContainerStats represents an entity to store containers statistics synchronously.
Context contains information required by the formatter to print the output as desired.
DiskUsageContext contains disk usage specific information required by the formatter, encapsulate a Context struct.
HeaderContext provides the subContext interface for managing headers.
ImageContext contains image specific information required by the formatter, encapsulate a Context struct.
ServiceListInfo stores the information about mode and replicas to be used by template.
SignedTagInfo represents all formatted information needed to describe a signed tag: Name: name of the signed tag Digest: hex encoded digest of the contents Signers: list of entities who signed the tag.
SignerInfo represents all formatted information needed to describe a signer: Name: name of the signer role Keys: the keys associated with the signer.
Stack contains deployed stack information.
StatsEntry represents represents the statistics data collected from a container.
# Type aliases
Format is the format string rendered using the Context.
SignerInfoList helps sort []SignerInfo by signer names.
SubFormat is a function type accepted by Write().