package
0.0.0-20240818021530-f5e744f7964a
Repository: https://github.com/kaisenlinux/docker.io.git
Documentation: pkg.go.dev
# Functions
NewListOpts creates a new ListOpts with the specified validator.
NewListOptsRef creates a new ListOpts with the specified values and validator.
NewMapMapOpts creates a new MapMapOpts with the specified map of values and a validator.
NewMapOpts creates a new MapOpts with the specified map of values and a validator.
NewNamedListOptsRef creates a reference to a new NamedListOpts struct.
NewNamedMapMapOpts creates a reference to a new NamedMapOpts struct.
NewNamedMapOpts creates a reference to a new NamedMapOpts struct.
NewNamedRuntimeOpt creates a new RuntimeOpt.
NewNamedUlimitOpt creates a new NamedUlimitOpt.
NewUlimitOpt creates a new UlimitOpt.
ParseHost and set defaults for a Daemon host string.
ParseLink parses and validates the specified string as a link format (name:alias).
ParseTCPAddr parses and validates that the specified address is a valid TCP address.
ValidateDNSSearch validates domain for resolvconf search configuration.
ValidateEnv validates an environment variable and returns it.
ValidateExtraHost validates that the specified string is a valid extrahost and returns it.
ValidateHost validates that the specified string is a valid host and returns it.
ValidateIPAddress validates if the given value is a correctly formatted IP address, and returns the value in normalized form.
ValidateLabel validates that the specified string is a valid label, it does not use the reserved namespaces com.docker.*, io.docker.*, org.dockerproject.* and returns it.
ValidateSingleGenericResource validates that a single entry in the generic resource list is valid.
# Constants
DefaultHost constant defines the default host string used by docker on other hosts than Windows.
DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g.
Default HTTP Port.
DefaultNamedPipe defines the default named pipe used by docker on Windows.
DefaultTCPHost constant defines the default host string used by docker on Windows.
DefaultTLSHost constant defines the default host string used by docker for TLS sockets.
Default TLS encrypted HTTP Port.
DefaultUnixSocket Path for the unix socket.
HostGatewayName is the string value that can be passed to the IPAddr section in --add-host that is replaced by the value of HostGatewayIP daemon config value.
# Structs
ListOpts holds a list of values and a validation function.
MapMapOpts holds a map of maps of values and a validation function.
MapOpts holds a map of values and a validation function.
NamedListOpts is a ListOpts with a configuration name.
NamedMapMapOpts is a MapMapOpts with a configuration name.
NamedMapOpts is a MapOpts struct with a configuration name.
NamedUlimitOpt defines a named map of Ulimits.
PoolsOpt is a Value type for parsing the default address pools definitions.
RuntimeOpt defines a map of Runtimes.
UlimitOpt defines a map of Ulimits.
# Interfaces
NamedOption is an interface that list and map options with names implement.
# Type aliases
MemBytes is a type for human readable memory bytes (like 128M, 2g, etc).
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.