package
0.9.0
Repository: https://github.com/hashicorp/vic.git
Documentation: pkg.go.dev

# Packages

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

# Functions

BadRequestError returns a 400 docker error on a bad request.
No description provided by the author
ContainerInfoToDockerContainerInspect takes a ContainerInfo swagger-based struct returned from VIC's port layer and creates an engine-api based container inspect struct.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InternalServerError returns a 500 docker error on a portlayer error.
No description provided by the author
No description provided by the author
MapPorts maps ports defined in hostconfig for containerID.
No description provided by the author
NewContainerBackend returns a new Container.
NewContainerProxy creates a new ContainerProxy.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NotFoundError returns a 404 docker error when a container is not found.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UnmapPorts unmaps ports defined in hostconfig.
No description provided by the author
VolumeCreateNotFoundError returns a 404 docker error for a volume create request.
VolumeInternalServerError returns a 500 docker error for a volume-related request.
VolumeJoinNotFoundError returns a 404 docker error for a volume join request.
VolumeNotFoundError returns a 404 docker error for a volume get request.

# Constants

DefaultCPUs - the default number of container VM CPUs.
Default timeout to stop a container if not specified in container config.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MemoryAlignMB is the value to which container VM memory must align in order for hotadd to work.
MemoryDefaultMB - the default container VM memory size.
MemoryMinMB - the minimum allowable container memory size.
MinCPUs - the minimum number of allowable CPUs the container can use.
NOTE: FIXME: These might be moved to a utility package once there are multiple personalities.
NOTE: FIXME: These might be moved to a utility package once there are multiple personalities.
No description provided by the author
RetryTimeSeconds defines how many seconds to wait between retries.
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
Container struct represents the Container.
ContainerProxy struct.
DetachError is special error which returned in case of container detach.
No description provided by the author
No description provided by the author
InvalidBindError is returned when create/run -v has more params than allowed.
InvalidVolumeError is returned when the user specifies a client directory as a volume.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Volume which defines the docker personalities view of a Volume.

# Interfaces

VicContainerProxy interface.
No description provided by the author