Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit dcaed39

Browse files
authored
Upstream-commit: a7e309944b3bdefbca4186ce41a8374784133be2
Component: engine
2 parents 1490b1d + 5ba0889 commit dcaed39

7 files changed

Lines changed: 3111 additions & 1101 deletions

File tree

components/engine/api/swagger.yaml

Lines changed: 962 additions & 340 deletions
Large diffs are not rendered by default.

components/engine/api/types/container/container_top.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ package container // import "github.com/docker/docker/api/types/container"
1111
// swagger:model ContainerTopOKBody
1212
type 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

components/engine/api/types/volume.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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

components/engine/api/types/volume/volume_create.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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
}

components/engine/api/types/volume/volume_list.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)