1
0
Fork 0
mirror of https://github.com/drone/drone-cli.git synced 2024-05-27 09:16:02 +02:00
drone-cli/vendor/github.com/docker/docker/api/types/volume/volumes_create.go
Brad Rydzewski f18b9fe2ac update dep
2018-02-14 13:06:05 -08:00

30 lines
893 B
Go

package volume
// ----------------------------------------------------------------------------
// DO NOT EDIT THIS FILE
// This file was generated by `swagger generate operation`
//
// See hack/swagger-gen.sh
// ----------------------------------------------------------------------------
// VolumesCreateBody volumes create body
// swagger:model VolumesCreateBody
type VolumesCreateBody 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"`
}