package v1p19

import "github.com/dotcloud/docker/api/types/versions/v1p19"

Package v1p19 provides specific API types for the API version 1, patch 19.

Index

Types

type ContainerConfig

type ContainerConfig struct {
	*runconfig.Config

	MacAddress      string
	NetworkDisabled bool
	ExposedPorts    map[nat.Port]struct{}

	// backward compatibility, they now live in HostConfig
	VolumeDriver string
	Memory       int64
	MemorySwap   int64
	CPUShares    int64  `json:"CpuShares"`
	CPUSet       string `json:"Cpuset"`
}

ContainerConfig is a backcompatibility struct for APIs prior to 1.20.

type ContainerJSON

type ContainerJSON struct {
	*types.ContainerJSONBase
	Volumes         map[string]string
	VolumesRW       map[string]bool
	Config          *ContainerConfig
	NetworkSettings *v1p20.NetworkSettings
}

ContainerJSON is a backcompatibility struct for APIs prior to 1.20. Note this is not used by the Windows daemon.

Source Files

types.go

Version
v1.9.0-rc3
Published
Oct 28, 2015
Platform
linux/amd64
Imports
4 packages
Last checked
3 minutes ago

Tools for package owners.