package
1.57.1
Repository: https://github.com/containers/storage.git
Documentation: pkg.go.dev

# Functions

Arg creates a new KeyValuePair for initializing Args.
NewArgs returns a new Args populated with the initial args.
NewFilterOpt returns a new FilterOpt.
NewListOpts creates a new ListOpts with the specified validator.
NewListOptsRef creates a new ListOpts with the specified values and validator.
NewMapOpts creates a new MapOpts with the specified map of values and a validator.
NewNamedListOptsRef creates a reference to a new NamedListOpts struct.
NewNamedMapOpts creates a reference to a new NamedMapOpts struct.
ParseFlag parses a key=value string and adds it to an Args.
ToJSON returns the Args as a JSON encoded string.
ToParam encodes the Args as args JSON encoded string Deprecated: use ToJSON.
ValidateIPAddress validates an Ip address.
ValidateLabel validates that the specified string is a valid label, and returns it.
ValidateSysctl validates a sysctl and returns it.

# Constants

DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g.

# Variables

ErrBadFormat is an error returned when a filter is not in the form key=value Deprecated: this error will be removed in a future version.

# Structs

Args stores a mapping of keys to a set of multiple values.
FilterOpt is a flag type for validating filters.
KeyValuePair are used to initialize a new Args.
ListOpts holds a list of values and a validation function.
MapOpts holds a map of values and a validation function.
NamedListOpts is a ListOpts with a configuration name.
NamedMapOpts is a MapOpts struct with a configuration name.

# Interfaces

NamedOption is an interface that list and map options with names implement.

# Type aliases

ValidatorFctListType defines a validator function that returns a validated list of string and/or an error.
ValidatorFctType defines a validator function that returns a validated string and/or an error.