package volume
import "github.com/dotcloud/docker/api/types/volume"
Index ¶
Types ¶
type VolumeCreateBody ¶
type VolumeCreateBody struct { // Name of the volume driver to use. // Required: true Driver string `json:"Driver"` // A mapping of driver options and values. These options are // passed directly to the driver and are driver specific. // // Required: true DriverOpts map[string]string `json:"DriverOpts"` // User-defined key/value metadata. // Required: true Labels map[string]string `json:"Labels"` // The new volume's name. If not specified, Docker generates a name. // // Required: true Name string `json:"Name"` }
VolumeCreateBody Volume configuration swagger:model VolumeCreateBody
type VolumeListOKBody ¶
type VolumeListOKBody struct { // List of volumes // Required: true Volumes []*types.Volume `json:"Volumes"` // Warnings that occurred when fetching the list of volumes. // // Required: true Warnings []string `json:"Warnings"` }
VolumeListOKBody Volume list response swagger:model VolumeListOKBody
Source Files ¶
volume_create.go volume_list.go
- Version
- v20.10.24+incompatible
- Published
- Apr 4, 2023
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 10 minutes ago –
Tools for package owners.