package v1p20

import "github.com/docker/engine-api/types/versions/v1p20"

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

Index

Types

type ContainerConfig

type ContainerConfig struct {
	*container.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
	types.DefaultNetworkSettings
}

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 APIs prior to 1.21

Source Files

types.go

Version
v0.4.0 (latest)
Published
Jul 27, 2016
Platform
js/wasm
Imports
3 packages
Last checked
1 week ago

Tools for package owners.