github.com/goern/docker@v1.9.0-rc1/api/types/versions/v1p20/types.go (about)

     1  // Package v1p20 provides specific API types for the API version 1, patch 20.
     2  package v1p20
     3  
     4  import (
     5  	"github.com/docker/docker/api/types"
     6  	"github.com/docker/docker/runconfig"
     7  )
     8  
     9  // ContainerJSON is a backcompatibility struct for the API 1.20
    10  type ContainerJSON struct {
    11  	*types.ContainerJSONBase
    12  	Mounts []types.MountPoint
    13  	Config *ContainerConfig
    14  }
    15  
    16  // ContainerConfig is a backcompatibility struct used in ContainerJSON for the API 1.20
    17  type ContainerConfig struct {
    18  	*runconfig.Config
    19  
    20  	// backward compatibility, they now live in HostConfig
    21  	VolumeDriver string
    22  }
    23  
    24  // StatsJSON is a backcompatibility struct used in Stats for API prior to 1.21
    25  type StatsJSON struct {
    26  	types.Stats
    27  	Network types.NetworkStats `json:"network,omitempty"`
    28  }