package
17.12.1-ce-rc2+incompatible
Repository: https://github.com/mirantis/cli.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
DefaultDaemonNetworkMode returns the default network stack the daemon should use.
IsPreDefinedNetwork indicates if a network is predefined by the daemon.
SetDefaultNetModeIfBlank changes the NetworkMode in a HostConfig structure to default if it is not populated.
# Constants
ErrConflictContainerNetworkAndLinks conflict between --net=container and links.
ErrConflictContainerNetworkAndMac conflict between the mac address and the network mode.
ErrConflictHostNetwork conflict from being disconnected from host network or connected to host network.
ErrConflictHostNetworkAndLinks conflict between --net=host and links.
ErrConflictNetworkAndDNS conflict between --dns and the network mode.
ErrConflictNetworkExposePorts conflict between the expose option and the network mode.
ErrConflictNetworkHostname conflict between the hostname and the network mode.
ErrConflictNetworkHosts conflict between add-host and the network mode.
ErrConflictNetworkPublishPorts conflict between the publish options and the network mode.
ErrConflictNoNetwork conflict between private and other networks.
ErrConflictSharedNetwork conflict between private and other networks.
ErrConflictUTSHostname conflict between the hostname and the UTS mode.
ErrUnsupportedNetworkAndAlias conflict between network mode and alias.
ErrUnsupportedNetworkAndIP conflict between network mode and requested ip address.
ErrUnsupportedNetworkNoSubnetAndIP conflict between network with no configured subnet and requested ip address.
# Structs
ContainerConfigWrapper is a Config wrapper that holds the container Config (portable) and the corresponding HostConfig (non-portable).
ContainerDecoder implements httputils.ContainerDecoder calling DecodeContainerConfig.