v1p20

package
v23.0.0-rc.3+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL