package
1.0.1
Repository: https://github.com/containers/common.git
Documentation: pkg.go.dev

# Packages

Package camelcase is a micro package to split the words of a camelcase type string into a slice of words.

# Functions

EnforceRange ensures that the format string contains a range.
HasTable returns whether the format is a table.
Headers queries the interface for field names.
JSONFormat test CLI --format string to be a JSON request if report.IsJSON(cmd.Flag("format").Value.String()) { ..
New allocates a new, undefined Formatter with the given name and Writer.
NewTemplate creates a new template object.
NewWriter initializes a new report.Writer with given values.
NewWriterDefault initializes a new report.Writer with Podman defaults.
NormalizeFormat reads given go template format provided by CLI and munges it into what we need.

# Constants

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

# Variables

No description provided by the author

# Structs

Formatter holds the configured Writer and parsed Template, additional state fields are maintained to assist in the podman command report writing.
NopFlusher represents a type which flush operation is nop.
Template embeds template.Template to add functionality to methods.
Writer aliases tabwriter.Writer to provide Podman defaults.

# Interfaces

Flusher is the interface that wraps the Flush method.

# Type aliases

FuncMap is aliased from template.FuncMap.
No description provided by the author