package v1p20

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

Package v1p20 provides specific API types for the API version 1, patch 20.

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
}

ContainerConfig is a backcompatibility struct used in ContainerJSON for the API 1.20

type ContainerJSON

type ContainerJSON struct {
	*types.ContainerJSONBase
	Mounts          []types.MountPoint
	Config          *ContainerConfig
	NetworkSettings *NetworkSettings
}

ContainerJSON is a backcompatibility struct for the API 1.20

type NetworkSettings

type NetworkSettings struct {
	types.NetworkSettingsBase
	EndpointID          string
	Gateway             string
	GlobalIPv6Address   string
	GlobalIPv6PrefixLen int
	IPAddress           string
	IPPrefixLen         int
	IPv6Gateway         string
	MacAddress          string
}

NetworkSettings is a backward compatible struct for APIs prior to 1.21

type StatsJSON

type StatsJSON struct {
	types.Stats
	Network types.NetworkStats `json:"network,omitempty"`
}

StatsJSON is a backcompatibility struct used in Stats for API prior to 1.21

Source Files

types.go

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

Tools for package owners.