This repository was archived by the owner on Oct 13, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ package container // import "github.com/docker/docker/api/types/container"
1111// swagger:model ContainerTopOKBody
1212type ContainerTopOKBody struct {
1313
14- // Each process running in the container, where each is process is an array of values corresponding to the titles
14+ // Each process running in the container, where each is process
15+ // is an array of values corresponding to the titles.
16+ //
1517 // Required: true
1618 Processes [][]string `json:"Processes"`
1719
Original file line number Diff line number Diff line change @@ -27,10 +27,13 @@ type Volume struct {
2727 Name string `json:"Name"`
2828
2929 // The driver specific options used when creating the volume.
30+ //
3031 // Required: true
3132 Options map [string ]string `json:"Options"`
3233
33- // The level at which the volume exists. Either `global` for cluster-wide, or `local` for machine level.
34+ // The level at which the volume exists. Either `global` for cluster-wide,
35+ // or `local` for machine level.
36+ //
3437 // Required: true
3538 Scope string `json:"Scope"`
3639
Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ type VolumeCreateBody struct {
1515 // Required: true
1616 Driver string `json:"Driver"`
1717
18- // A mapping of driver options and values. These options are passed directly to the driver and are driver specific.
18+ // A mapping of driver options and values. These options are
19+ // passed directly to the driver and are driver specific.
20+ //
1921 // Required: true
2022 DriverOpts map [string ]string `json:"DriverOpts"`
2123
@@ -24,6 +26,7 @@ type VolumeCreateBody struct {
2426 Labels map [string ]string `json:"Labels"`
2527
2628 // The new volume's name. If not specified, Docker generates a name.
29+ //
2730 // Required: true
2831 Name string `json:"Name"`
2932}
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ type VolumeListOKBody struct {
1717 // Required: true
1818 Volumes []* types.Volume `json:"Volumes"`
1919
20- // Warnings that occurred when fetching the list of volumes
20+ // Warnings that occurred when fetching the list of volumes.
21+ //
2122 // Required: true
2223 Warnings []string `json:"Warnings"`
2324}
You can’t perform that action at this time.
0 commit comments