package
1.10.16
Repository: https://github.com/hyperhq/hypercli.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Compare two Config struct.
DecodeContainerConfig decodes a json encoded config into a ContainerConfigWrapper struct and returns both a Config and an HostConfig struct Be aware this function is not checking whether the resulted structs are nil, it's your business to do so.
DecodeHostConfig creates a HostConfig based on the specified Reader.
DefaultDaemonNetworkMode returns the default network stack the daemon should use.
IsPreDefinedNetwork indicates if a network is predefined by the daemon.
NewStreamConfig creates a stream config and initializes the standard err and standard out to new unbuffered broadcasters.
SetDefaultNetModeIfBlank changes the NetworkMode in a HostConfig structure to default if it is not populated.
ValidateIsolationLevel performs platform specific validation of the isolation level in the hostconfig structure.
ValidateNetMode ensures that the various combinations of requested network settings are valid.

# Variables

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.
ErrConflictUserDefinedNetworkAndLinks conflict between --net=<NETWORK> and links.
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 hold the container Config (portable) and the corresponding HostConfig (non-portable).
StreamConfig holds information about I/O streams managed together.