mounts

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2021 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const DeleteMountOKCode int = 200

DeleteMountOKCode is the HTTP code returned for type DeleteMountOK

View Source
const GetMountOverlayOKCode int = 200

GetMountOverlayOKCode is the HTTP code returned for type GetMountOverlayOK

View Source
const GetMountRbdOKCode int = 200

GetMountRbdOKCode is the HTTP code returned for type GetMountRbdOK

View Source
const ListMountsOKCode int = 200

ListMountsOKCode is the HTTP code returned for type ListMountsOK

View Source
const ListMountsOverlayOKCode int = 200

ListMountsOverlayOKCode is the HTTP code returned for type ListMountsOverlayOK

View Source
const ListMountsRbdOKCode int = 200

ListMountsRbdOKCode is the HTTP code returned for type ListMountsRbdOK

View Source
const MountCreatedCode int = 201

MountCreatedCode is the HTTP code returned for type MountCreated

View Source
const MountOverlayCreatedCode int = 201

MountOverlayCreatedCode is the HTTP code returned for type MountOverlayCreated

View Source
const MountRbdCreatedCode int = 201

MountRbdCreatedCode is the HTTP code returned for type MountRbdCreated

View Source
const UnmountOverlayOKCode int = 200

UnmountOverlayOKCode is the HTTP code returned for type UnmountOverlayOK

View Source
const UnmountRbdOKCode int = 200

UnmountRbdOKCode is the HTTP code returned for type UnmountRbdOK

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteMount

type DeleteMount struct {
	Context *middleware.Context
	Handler DeleteMountHandler
}

DeleteMount swagger:route DELETE /mount mounts deleteMount

Unmount a specified mount. Note that mount reference IDs must be specified.

func NewDeleteMount

func NewDeleteMount(ctx *middleware.Context, handler DeleteMountHandler) *DeleteMount

NewDeleteMount creates a new http.Handler for the delete mount operation

func (*DeleteMount) ServeHTTP

func (o *DeleteMount) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteMountDefault

type DeleteMountDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

DeleteMountDefault Unmount failed

swagger:response deleteMountDefault

func NewDeleteMountDefault

func NewDeleteMountDefault(code int) *DeleteMountDefault

NewDeleteMountDefault creates DeleteMountDefault with default headers values

func (*DeleteMountDefault) SetPayload

func (o *DeleteMountDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the delete mount default response

func (*DeleteMountDefault) SetStatusCode

func (o *DeleteMountDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete mount default response

func (*DeleteMountDefault) WithPayload

func (o *DeleteMountDefault) WithPayload(payload *models.Error) *DeleteMountDefault

WithPayload adds the payload to the delete mount default response

func (*DeleteMountDefault) WithStatusCode

func (o *DeleteMountDefault) WithStatusCode(code int) *DeleteMountDefault

WithStatusCode adds the status to the delete mount default response

func (*DeleteMountDefault) WriteResponse

func (o *DeleteMountDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteMountHandler

type DeleteMountHandler interface {
	Handle(DeleteMountParams) middleware.Responder
}

DeleteMountHandler interface for that can handle valid delete mount params

type DeleteMountHandlerFunc

type DeleteMountHandlerFunc func(DeleteMountParams) middleware.Responder

DeleteMountHandlerFunc turns a function with the right signature into a delete mount handler

func (DeleteMountHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteMountOK

type DeleteMountOK struct {

	/*
	  In: Body
	*/
	Payload *models.Mount `json:"body,omitempty"`
}

DeleteMountOK Unmount succeeded

swagger:response deleteMountOK

func NewDeleteMountOK

func NewDeleteMountOK() *DeleteMountOK

NewDeleteMountOK creates DeleteMountOK with default headers values

func (*DeleteMountOK) SetPayload

func (o *DeleteMountOK) SetPayload(payload *models.Mount)

SetPayload sets the payload to the delete mount o k response

func (*DeleteMountOK) WithPayload

func (o *DeleteMountOK) WithPayload(payload *models.Mount) *DeleteMountOK

WithPayload adds the payload to the delete mount o k response

func (*DeleteMountOK) WriteResponse

func (o *DeleteMountOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteMountParams

type DeleteMountParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Mount *models.Mount
}

DeleteMountParams contains all the bound params for the delete mount operation typically these are obtained from a http.Request

swagger:parameters DeleteMount

func NewDeleteMountParams

func NewDeleteMountParams() DeleteMountParams

NewDeleteMountParams creates a new DeleteMountParams object no default values defined in spec.

func (*DeleteMountParams) BindRequest

func (o *DeleteMountParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteMountParams() beforehand.

type DeleteMountURL

type DeleteMountURL struct {
	// contains filtered or unexported fields
}

DeleteMountURL generates an URL for the delete mount operation

func (*DeleteMountURL) Build

func (o *DeleteMountURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteMountURL) BuildFull

func (o *DeleteMountURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteMountURL) Must

func (o *DeleteMountURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteMountURL) SetBasePath

func (o *DeleteMountURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeleteMountURL) String

func (o *DeleteMountURL) String() string

String returns the string representation of the path with query string

func (*DeleteMountURL) StringFull

func (o *DeleteMountURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteMountURL) WithBasePath

func (o *DeleteMountURL) WithBasePath(bp string) *DeleteMountURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetMountOverlay

type GetMountOverlay struct {
	Context *middleware.Context
	Handler GetMountOverlayHandler
}

GetMountOverlay swagger:route GET /mount/overlay/{id} mounts getMountOverlay

GetMountOverlay get mount overlay API

func NewGetMountOverlay

func NewGetMountOverlay(ctx *middleware.Context, handler GetMountOverlayHandler) *GetMountOverlay

NewGetMountOverlay creates a new http.Handler for the get mount overlay operation

func (*GetMountOverlay) ServeHTTP

func (o *GetMountOverlay) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetMountOverlayDefault

type GetMountOverlayDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetMountOverlayDefault error

swagger:response getMountOverlayDefault

func NewGetMountOverlayDefault

func NewGetMountOverlayDefault(code int) *GetMountOverlayDefault

NewGetMountOverlayDefault creates GetMountOverlayDefault with default headers values

func (*GetMountOverlayDefault) SetPayload

func (o *GetMountOverlayDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get mount overlay default response

func (*GetMountOverlayDefault) SetStatusCode

func (o *GetMountOverlayDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get mount overlay default response

func (*GetMountOverlayDefault) WithPayload

func (o *GetMountOverlayDefault) WithPayload(payload *models.Error) *GetMountOverlayDefault

WithPayload adds the payload to the get mount overlay default response

func (*GetMountOverlayDefault) WithStatusCode

func (o *GetMountOverlayDefault) WithStatusCode(code int) *GetMountOverlayDefault

WithStatusCode adds the status to the get mount overlay default response

func (*GetMountOverlayDefault) WriteResponse

func (o *GetMountOverlayDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetMountOverlayHandler

type GetMountOverlayHandler interface {
	Handle(GetMountOverlayParams) middleware.Responder
}

GetMountOverlayHandler interface for that can handle valid get mount overlay params

type GetMountOverlayHandlerFunc

type GetMountOverlayHandlerFunc func(GetMountOverlayParams) middleware.Responder

GetMountOverlayHandlerFunc turns a function with the right signature into a get mount overlay handler

func (GetMountOverlayHandlerFunc) Handle

Handle executing the request and returning a response

type GetMountOverlayOK

type GetMountOverlayOK struct {

	/*
	  In: Body
	*/
	Payload *models.MountOverlay `json:"body,omitempty"`
}

GetMountOverlayOK Overlay mount entry

swagger:response getMountOverlayOK

func NewGetMountOverlayOK

func NewGetMountOverlayOK() *GetMountOverlayOK

NewGetMountOverlayOK creates GetMountOverlayOK with default headers values

func (*GetMountOverlayOK) SetPayload

func (o *GetMountOverlayOK) SetPayload(payload *models.MountOverlay)

SetPayload sets the payload to the get mount overlay o k response

func (*GetMountOverlayOK) WithPayload

func (o *GetMountOverlayOK) WithPayload(payload *models.MountOverlay) *GetMountOverlayOK

WithPayload adds the payload to the get mount overlay o k response

func (*GetMountOverlayOK) WriteResponse

func (o *GetMountOverlayOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetMountOverlayParams

type GetMountOverlayParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ID int64
}

GetMountOverlayParams contains all the bound params for the get mount overlay operation typically these are obtained from a http.Request

swagger:parameters get_mount_overlay

func NewGetMountOverlayParams

func NewGetMountOverlayParams() GetMountOverlayParams

NewGetMountOverlayParams creates a new GetMountOverlayParams object no default values defined in spec.

func (*GetMountOverlayParams) BindRequest

func (o *GetMountOverlayParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetMountOverlayParams() beforehand.

type GetMountOverlayURL

type GetMountOverlayURL struct {
	ID int64
	// contains filtered or unexported fields
}

GetMountOverlayURL generates an URL for the get mount overlay operation

func (*GetMountOverlayURL) Build

func (o *GetMountOverlayURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetMountOverlayURL) BuildFull

func (o *GetMountOverlayURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetMountOverlayURL) Must

func (o *GetMountOverlayURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetMountOverlayURL) SetBasePath

func (o *GetMountOverlayURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetMountOverlayURL) String

func (o *GetMountOverlayURL) String() string

String returns the string representation of the path with query string

func (*GetMountOverlayURL) StringFull

func (o *GetMountOverlayURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetMountOverlayURL) WithBasePath

func (o *GetMountOverlayURL) WithBasePath(bp string) *GetMountOverlayURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetMountRbd

type GetMountRbd struct {
	Context *middleware.Context
	Handler GetMountRbdHandler
}

GetMountRbd swagger:route GET /mount/rbd/{id} mounts getMountRbd

GetMountRbd get mount rbd API

func NewGetMountRbd

func NewGetMountRbd(ctx *middleware.Context, handler GetMountRbdHandler) *GetMountRbd

NewGetMountRbd creates a new http.Handler for the get mount rbd operation

func (*GetMountRbd) ServeHTTP

func (o *GetMountRbd) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetMountRbdDefault

type GetMountRbdDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetMountRbdDefault error

swagger:response getMountRbdDefault

func NewGetMountRbdDefault

func NewGetMountRbdDefault(code int) *GetMountRbdDefault

NewGetMountRbdDefault creates GetMountRbdDefault with default headers values

func (*GetMountRbdDefault) SetPayload

func (o *GetMountRbdDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get mount rbd default response

func (*GetMountRbdDefault) SetStatusCode

func (o *GetMountRbdDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get mount rbd default response

func (*GetMountRbdDefault) WithPayload

func (o *GetMountRbdDefault) WithPayload(payload *models.Error) *GetMountRbdDefault

WithPayload adds the payload to the get mount rbd default response

func (*GetMountRbdDefault) WithStatusCode

func (o *GetMountRbdDefault) WithStatusCode(code int) *GetMountRbdDefault

WithStatusCode adds the status to the get mount rbd default response

func (*GetMountRbdDefault) WriteResponse

func (o *GetMountRbdDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetMountRbdHandler

type GetMountRbdHandler interface {
	Handle(GetMountRbdParams) middleware.Responder
}

GetMountRbdHandler interface for that can handle valid get mount rbd params

type GetMountRbdHandlerFunc

type GetMountRbdHandlerFunc func(GetMountRbdParams) middleware.Responder

GetMountRbdHandlerFunc turns a function with the right signature into a get mount rbd handler

func (GetMountRbdHandlerFunc) Handle

Handle executing the request and returning a response

type GetMountRbdOK

type GetMountRbdOK struct {

	/*
	  In: Body
	*/
	Payload *models.MountRbd `json:"body,omitempty"`
}

GetMountRbdOK RBD mount entry

swagger:response getMountRbdOK

func NewGetMountRbdOK

func NewGetMountRbdOK() *GetMountRbdOK

NewGetMountRbdOK creates GetMountRbdOK with default headers values

func (*GetMountRbdOK) SetPayload

func (o *GetMountRbdOK) SetPayload(payload *models.MountRbd)

SetPayload sets the payload to the get mount rbd o k response

func (*GetMountRbdOK) WithPayload

func (o *GetMountRbdOK) WithPayload(payload *models.MountRbd) *GetMountRbdOK

WithPayload adds the payload to the get mount rbd o k response

func (*GetMountRbdOK) WriteResponse

func (o *GetMountRbdOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetMountRbdParams

type GetMountRbdParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ID int64
}

GetMountRbdParams contains all the bound params for the get mount rbd operation typically these are obtained from a http.Request

swagger:parameters get_mount_rbd

func NewGetMountRbdParams

func NewGetMountRbdParams() GetMountRbdParams

NewGetMountRbdParams creates a new GetMountRbdParams object no default values defined in spec.

func (*GetMountRbdParams) BindRequest

func (o *GetMountRbdParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetMountRbdParams() beforehand.

type GetMountRbdURL

type GetMountRbdURL struct {
	ID int64
	// contains filtered or unexported fields
}

GetMountRbdURL generates an URL for the get mount rbd operation

func (*GetMountRbdURL) Build

func (o *GetMountRbdURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetMountRbdURL) BuildFull

func (o *GetMountRbdURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetMountRbdURL) Must

func (o *GetMountRbdURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetMountRbdURL) SetBasePath

func (o *GetMountRbdURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetMountRbdURL) String

func (o *GetMountRbdURL) String() string

String returns the string representation of the path with query string

func (*GetMountRbdURL) StringFull

func (o *GetMountRbdURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetMountRbdURL) WithBasePath

func (o *GetMountRbdURL) WithBasePath(bp string) *GetMountRbdURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ListMounts

type ListMounts struct {
	Context *middleware.Context
	Handler ListMountsHandler
}

ListMounts swagger:route GET /mount mounts listMounts

List mounts

func NewListMounts

func NewListMounts(ctx *middleware.Context, handler ListMountsHandler) *ListMounts

NewListMounts creates a new http.Handler for the list mounts operation

func (*ListMounts) ServeHTTP

func (o *ListMounts) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListMountsDefault

type ListMountsDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

ListMountsDefault error

swagger:response listMountsDefault

func NewListMountsDefault

func NewListMountsDefault(code int) *ListMountsDefault

NewListMountsDefault creates ListMountsDefault with default headers values

func (*ListMountsDefault) SetPayload

func (o *ListMountsDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the list mounts default response

func (*ListMountsDefault) SetStatusCode

func (o *ListMountsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list mounts default response

func (*ListMountsDefault) WithPayload

func (o *ListMountsDefault) WithPayload(payload *models.Error) *ListMountsDefault

WithPayload adds the payload to the list mounts default response

func (*ListMountsDefault) WithStatusCode

func (o *ListMountsDefault) WithStatusCode(code int) *ListMountsDefault

WithStatusCode adds the status to the list mounts default response

func (*ListMountsDefault) WriteResponse

func (o *ListMountsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListMountsHandler

type ListMountsHandler interface {
	Handle(ListMountsParams) middleware.Responder
}

ListMountsHandler interface for that can handle valid list mounts params

type ListMountsHandlerFunc

type ListMountsHandlerFunc func(ListMountsParams) middleware.Responder

ListMountsHandlerFunc turns a function with the right signature into a list mounts handler

func (ListMountsHandlerFunc) Handle

Handle executing the request and returning a response

type ListMountsOK

type ListMountsOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Mount `json:"body,omitempty"`
}

ListMountsOK list all mounts

swagger:response listMountsOK

func NewListMountsOK

func NewListMountsOK() *ListMountsOK

NewListMountsOK creates ListMountsOK with default headers values

func (*ListMountsOK) SetPayload

func (o *ListMountsOK) SetPayload(payload []*models.Mount)

SetPayload sets the payload to the list mounts o k response

func (*ListMountsOK) WithPayload

func (o *ListMountsOK) WithPayload(payload []*models.Mount) *ListMountsOK

WithPayload adds the payload to the list mounts o k response

func (*ListMountsOK) WriteResponse

func (o *ListMountsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListMountsOverlay

type ListMountsOverlay struct {
	Context *middleware.Context
	Handler ListMountsOverlayHandler
}

ListMountsOverlay swagger:route GET /mount/overlay mounts listMountsOverlay

ListMountsOverlay list mounts overlay API

func NewListMountsOverlay

func NewListMountsOverlay(ctx *middleware.Context, handler ListMountsOverlayHandler) *ListMountsOverlay

NewListMountsOverlay creates a new http.Handler for the list mounts overlay operation

func (*ListMountsOverlay) ServeHTTP

func (o *ListMountsOverlay) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListMountsOverlayDefault

type ListMountsOverlayDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

ListMountsOverlayDefault error

swagger:response listMountsOverlayDefault

func NewListMountsOverlayDefault

func NewListMountsOverlayDefault(code int) *ListMountsOverlayDefault

NewListMountsOverlayDefault creates ListMountsOverlayDefault with default headers values

func (*ListMountsOverlayDefault) SetPayload

func (o *ListMountsOverlayDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the list mounts overlay default response

func (*ListMountsOverlayDefault) SetStatusCode

func (o *ListMountsOverlayDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list mounts overlay default response

func (*ListMountsOverlayDefault) WithPayload

WithPayload adds the payload to the list mounts overlay default response

func (*ListMountsOverlayDefault) WithStatusCode

func (o *ListMountsOverlayDefault) WithStatusCode(code int) *ListMountsOverlayDefault

WithStatusCode adds the status to the list mounts overlay default response

func (*ListMountsOverlayDefault) WriteResponse

func (o *ListMountsOverlayDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListMountsOverlayHandler

type ListMountsOverlayHandler interface {
	Handle(ListMountsOverlayParams) middleware.Responder
}

ListMountsOverlayHandler interface for that can handle valid list mounts overlay params

type ListMountsOverlayHandlerFunc

type ListMountsOverlayHandlerFunc func(ListMountsOverlayParams) middleware.Responder

ListMountsOverlayHandlerFunc turns a function with the right signature into a list mounts overlay handler

func (ListMountsOverlayHandlerFunc) Handle

Handle executing the request and returning a response

type ListMountsOverlayOK

type ListMountsOverlayOK struct {

	/*
	  In: Body
	*/
	Payload []*models.MountOverlay `json:"body,omitempty"`
}

ListMountsOverlayOK list of overlay mounts

swagger:response listMountsOverlayOK

func NewListMountsOverlayOK

func NewListMountsOverlayOK() *ListMountsOverlayOK

NewListMountsOverlayOK creates ListMountsOverlayOK with default headers values

func (*ListMountsOverlayOK) SetPayload

func (o *ListMountsOverlayOK) SetPayload(payload []*models.MountOverlay)

SetPayload sets the payload to the list mounts overlay o k response

func (*ListMountsOverlayOK) WithPayload

func (o *ListMountsOverlayOK) WithPayload(payload []*models.MountOverlay) *ListMountsOverlayOK

WithPayload adds the payload to the list mounts overlay o k response

func (*ListMountsOverlayOK) WriteResponse

func (o *ListMountsOverlayOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListMountsOverlayParams

type ListMountsOverlayParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

ListMountsOverlayParams contains all the bound params for the list mounts overlay operation typically these are obtained from a http.Request

swagger:parameters list_mounts_overlay

func NewListMountsOverlayParams

func NewListMountsOverlayParams() ListMountsOverlayParams

NewListMountsOverlayParams creates a new ListMountsOverlayParams object no default values defined in spec.

func (*ListMountsOverlayParams) BindRequest

func (o *ListMountsOverlayParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewListMountsOverlayParams() beforehand.

type ListMountsOverlayURL

type ListMountsOverlayURL struct {
	// contains filtered or unexported fields
}

ListMountsOverlayURL generates an URL for the list mounts overlay operation

func (*ListMountsOverlayURL) Build

func (o *ListMountsOverlayURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListMountsOverlayURL) BuildFull

func (o *ListMountsOverlayURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListMountsOverlayURL) Must

func (o *ListMountsOverlayURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ListMountsOverlayURL) SetBasePath

func (o *ListMountsOverlayURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ListMountsOverlayURL) String

func (o *ListMountsOverlayURL) String() string

String returns the string representation of the path with query string

func (*ListMountsOverlayURL) StringFull

func (o *ListMountsOverlayURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListMountsOverlayURL) WithBasePath

func (o *ListMountsOverlayURL) WithBasePath(bp string) *ListMountsOverlayURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ListMountsParams

type ListMountsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

ListMountsParams contains all the bound params for the list mounts operation typically these are obtained from a http.Request

swagger:parameters list_mounts

func NewListMountsParams

func NewListMountsParams() ListMountsParams

NewListMountsParams creates a new ListMountsParams object no default values defined in spec.

func (*ListMountsParams) BindRequest

func (o *ListMountsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewListMountsParams() beforehand.

type ListMountsRbd

type ListMountsRbd struct {
	Context *middleware.Context
	Handler ListMountsRbdHandler
}

ListMountsRbd swagger:route GET /mount/rbd mounts listMountsRbd

ListMountsRbd list mounts rbd API

func NewListMountsRbd

func NewListMountsRbd(ctx *middleware.Context, handler ListMountsRbdHandler) *ListMountsRbd

NewListMountsRbd creates a new http.Handler for the list mounts rbd operation

func (*ListMountsRbd) ServeHTTP

func (o *ListMountsRbd) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListMountsRbdDefault

type ListMountsRbdDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

ListMountsRbdDefault error

swagger:response listMountsRbdDefault

func NewListMountsRbdDefault

func NewListMountsRbdDefault(code int) *ListMountsRbdDefault

NewListMountsRbdDefault creates ListMountsRbdDefault with default headers values

func (*ListMountsRbdDefault) SetPayload

func (o *ListMountsRbdDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the list mounts rbd default response

func (*ListMountsRbdDefault) SetStatusCode

func (o *ListMountsRbdDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list mounts rbd default response

func (*ListMountsRbdDefault) WithPayload

func (o *ListMountsRbdDefault) WithPayload(payload *models.Error) *ListMountsRbdDefault

WithPayload adds the payload to the list mounts rbd default response

func (*ListMountsRbdDefault) WithStatusCode

func (o *ListMountsRbdDefault) WithStatusCode(code int) *ListMountsRbdDefault

WithStatusCode adds the status to the list mounts rbd default response

func (*ListMountsRbdDefault) WriteResponse

func (o *ListMountsRbdDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListMountsRbdHandler

type ListMountsRbdHandler interface {
	Handle(ListMountsRbdParams) middleware.Responder
}

ListMountsRbdHandler interface for that can handle valid list mounts rbd params

type ListMountsRbdHandlerFunc

type ListMountsRbdHandlerFunc func(ListMountsRbdParams) middleware.Responder

ListMountsRbdHandlerFunc turns a function with the right signature into a list mounts rbd handler

func (ListMountsRbdHandlerFunc) Handle

Handle executing the request and returning a response

type ListMountsRbdOK

type ListMountsRbdOK struct {

	/*
	  In: Body
	*/
	Payload []*models.MountRbd `json:"body,omitempty"`
}

ListMountsRbdOK list of rbd mounts

swagger:response listMountsRbdOK

func NewListMountsRbdOK

func NewListMountsRbdOK() *ListMountsRbdOK

NewListMountsRbdOK creates ListMountsRbdOK with default headers values

func (*ListMountsRbdOK) SetPayload

func (o *ListMountsRbdOK) SetPayload(payload []*models.MountRbd)

SetPayload sets the payload to the list mounts rbd o k response

func (*ListMountsRbdOK) WithPayload

func (o *ListMountsRbdOK) WithPayload(payload []*models.MountRbd) *ListMountsRbdOK

WithPayload adds the payload to the list mounts rbd o k response

func (*ListMountsRbdOK) WriteResponse

func (o *ListMountsRbdOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListMountsRbdParams

type ListMountsRbdParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

ListMountsRbdParams contains all the bound params for the list mounts rbd operation typically these are obtained from a http.Request

swagger:parameters list_mounts_rbd

func NewListMountsRbdParams

func NewListMountsRbdParams() ListMountsRbdParams

NewListMountsRbdParams creates a new ListMountsRbdParams object no default values defined in spec.

func (*ListMountsRbdParams) BindRequest

func (o *ListMountsRbdParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewListMountsRbdParams() beforehand.

type ListMountsRbdURL

type ListMountsRbdURL struct {
	// contains filtered or unexported fields
}

ListMountsRbdURL generates an URL for the list mounts rbd operation

func (*ListMountsRbdURL) Build

func (o *ListMountsRbdURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListMountsRbdURL) BuildFull

func (o *ListMountsRbdURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListMountsRbdURL) Must

func (o *ListMountsRbdURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ListMountsRbdURL) SetBasePath

func (o *ListMountsRbdURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ListMountsRbdURL) String

func (o *ListMountsRbdURL) String() string

String returns the string representation of the path with query string

func (*ListMountsRbdURL) StringFull

func (o *ListMountsRbdURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListMountsRbdURL) WithBasePath

func (o *ListMountsRbdURL) WithBasePath(bp string) *ListMountsRbdURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ListMountsURL

type ListMountsURL struct {
	// contains filtered or unexported fields
}

ListMountsURL generates an URL for the list mounts operation

func (*ListMountsURL) Build

func (o *ListMountsURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListMountsURL) BuildFull

func (o *ListMountsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListMountsURL) Must

func (o *ListMountsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ListMountsURL) SetBasePath

func (o *ListMountsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ListMountsURL) String

func (o *ListMountsURL) String() string

String returns the string representation of the path with query string

func (*ListMountsURL) StringFull

func (o *ListMountsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListMountsURL) WithBasePath

func (o *ListMountsURL) WithBasePath(bp string) *ListMountsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type Mount

type Mount struct {
	Context *middleware.Context
	Handler MountHandler
}

Mount swagger:route POST /mount mounts mount

Create a new mount by mount specification.

func NewMount

func NewMount(ctx *middleware.Context, handler MountHandler) *Mount

NewMount creates a new http.Handler for the mount operation

func (*Mount) ServeHTTP

func (o *Mount) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type MountCreated

type MountCreated struct {

	/*
	  In: Body
	*/
	Payload *models.Mount `json:"body,omitempty"`
}

MountCreated mount succeed

swagger:response mountCreated

func NewMountCreated

func NewMountCreated() *MountCreated

NewMountCreated creates MountCreated with default headers values

func (*MountCreated) SetPayload

func (o *MountCreated) SetPayload(payload *models.Mount)

SetPayload sets the payload to the mount created response

func (*MountCreated) WithPayload

func (o *MountCreated) WithPayload(payload *models.Mount) *MountCreated

WithPayload adds the payload to the mount created response

func (*MountCreated) WriteResponse

func (o *MountCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type MountDefault

type MountDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

MountDefault error

swagger:response mountDefault

func NewMountDefault

func NewMountDefault(code int) *MountDefault

NewMountDefault creates MountDefault with default headers values

func (*MountDefault) SetPayload

func (o *MountDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the mount default response

func (*MountDefault) SetStatusCode

func (o *MountDefault) SetStatusCode(code int)

SetStatusCode sets the status to the mount default response

func (*MountDefault) WithPayload

func (o *MountDefault) WithPayload(payload *models.Error) *MountDefault

WithPayload adds the payload to the mount default response

func (*MountDefault) WithStatusCode

func (o *MountDefault) WithStatusCode(code int) *MountDefault

WithStatusCode adds the status to the mount default response

func (*MountDefault) WriteResponse

func (o *MountDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type MountHandler

type MountHandler interface {
	Handle(MountParams) middleware.Responder
}

MountHandler interface for that can handle valid mount params

type MountHandlerFunc

type MountHandlerFunc func(MountParams) middleware.Responder

MountHandlerFunc turns a function with the right signature into a mount handler

func (MountHandlerFunc) Handle

Handle executing the request and returning a response

type MountOverlay

type MountOverlay struct {
	Context *middleware.Context
	Handler MountOverlayHandler
}

MountOverlay swagger:route POST /mount/overlay mounts mountOverlay

MountOverlay mount overlay API

func NewMountOverlay

func NewMountOverlay(ctx *middleware.Context, handler MountOverlayHandler) *MountOverlay

NewMountOverlay creates a new http.Handler for the mount overlay operation

func (*MountOverlay) ServeHTTP

func (o *MountOverlay) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type MountOverlayCreated

type MountOverlayCreated struct {

	/*
	  In: Body
	*/
	Payload *models.MountOverlay `json:"body,omitempty"`
}

MountOverlayCreated Overlay mount succeed

swagger:response mountOverlayCreated

func NewMountOverlayCreated

func NewMountOverlayCreated() *MountOverlayCreated

NewMountOverlayCreated creates MountOverlayCreated with default headers values

func (*MountOverlayCreated) SetPayload

func (o *MountOverlayCreated) SetPayload(payload *models.MountOverlay)

SetPayload sets the payload to the mount overlay created response

func (*MountOverlayCreated) WithPayload

func (o *MountOverlayCreated) WithPayload(payload *models.MountOverlay) *MountOverlayCreated

WithPayload adds the payload to the mount overlay created response

func (*MountOverlayCreated) WriteResponse

func (o *MountOverlayCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type MountOverlayDefault

type MountOverlayDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

MountOverlayDefault error

swagger:response mountOverlayDefault

func NewMountOverlayDefault

func NewMountOverlayDefault(code int) *MountOverlayDefault

NewMountOverlayDefault creates MountOverlayDefault with default headers values

func (*MountOverlayDefault) SetPayload

func (o *MountOverlayDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the mount overlay default response

func (*MountOverlayDefault) SetStatusCode

func (o *MountOverlayDefault) SetStatusCode(code int)

SetStatusCode sets the status to the mount overlay default response

func (*MountOverlayDefault) WithPayload

func (o *MountOverlayDefault) WithPayload(payload *models.Error) *MountOverlayDefault

WithPayload adds the payload to the mount overlay default response

func (*MountOverlayDefault) WithStatusCode

func (o *MountOverlayDefault) WithStatusCode(code int) *MountOverlayDefault

WithStatusCode adds the status to the mount overlay default response

func (*MountOverlayDefault) WriteResponse

func (o *MountOverlayDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type MountOverlayHandler

type MountOverlayHandler interface {
	Handle(MountOverlayParams) middleware.Responder
}

MountOverlayHandler interface for that can handle valid mount overlay params

type MountOverlayHandlerFunc

type MountOverlayHandlerFunc func(MountOverlayParams) middleware.Responder

MountOverlayHandlerFunc turns a function with the right signature into a mount overlay handler

func (MountOverlayHandlerFunc) Handle

Handle executing the request and returning a response

type MountOverlayParams

type MountOverlayParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Mount *models.MountOverlay
}

MountOverlayParams contains all the bound params for the mount overlay operation typically these are obtained from a http.Request

swagger:parameters mount_overlay

func NewMountOverlayParams

func NewMountOverlayParams() MountOverlayParams

NewMountOverlayParams creates a new MountOverlayParams object no default values defined in spec.

func (*MountOverlayParams) BindRequest

func (o *MountOverlayParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewMountOverlayParams() beforehand.

type MountOverlayURL

type MountOverlayURL struct {
	// contains filtered or unexported fields
}

MountOverlayURL generates an URL for the mount overlay operation

func (*MountOverlayURL) Build

func (o *MountOverlayURL) Build() (*url.URL, error)

Build a url path and query string

func (*MountOverlayURL) BuildFull

func (o *MountOverlayURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*MountOverlayURL) Must

func (o *MountOverlayURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*MountOverlayURL) SetBasePath

func (o *MountOverlayURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*MountOverlayURL) String

func (o *MountOverlayURL) String() string

String returns the string representation of the path with query string

func (*MountOverlayURL) StringFull

func (o *MountOverlayURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*MountOverlayURL) WithBasePath

func (o *MountOverlayURL) WithBasePath(bp string) *MountOverlayURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type MountParams

type MountParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Mount *models.Mount
}

MountParams contains all the bound params for the mount operation typically these are obtained from a http.Request

swagger:parameters mount

func NewMountParams

func NewMountParams() MountParams

NewMountParams creates a new MountParams object no default values defined in spec.

func (*MountParams) BindRequest

func (o *MountParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewMountParams() beforehand.

type MountRbd

type MountRbd struct {
	Context *middleware.Context
	Handler MountRbdHandler
}

MountRbd swagger:route POST /mount/rbd mounts mountRbd

MountRbd mount rbd API

func NewMountRbd

func NewMountRbd(ctx *middleware.Context, handler MountRbdHandler) *MountRbd

NewMountRbd creates a new http.Handler for the mount rbd operation

func (*MountRbd) ServeHTTP

func (o *MountRbd) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type MountRbdCreated

type MountRbdCreated struct {

	/*
	  In: Body
	*/
	Payload *models.MountRbd `json:"body,omitempty"`
}

MountRbdCreated RBD mount succeed

swagger:response mountRbdCreated

func NewMountRbdCreated

func NewMountRbdCreated() *MountRbdCreated

NewMountRbdCreated creates MountRbdCreated with default headers values

func (*MountRbdCreated) SetPayload

func (o *MountRbdCreated) SetPayload(payload *models.MountRbd)

SetPayload sets the payload to the mount rbd created response

func (*MountRbdCreated) WithPayload

func (o *MountRbdCreated) WithPayload(payload *models.MountRbd) *MountRbdCreated

WithPayload adds the payload to the mount rbd created response

func (*MountRbdCreated) WriteResponse

func (o *MountRbdCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type MountRbdDefault

type MountRbdDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

MountRbdDefault error

swagger:response mountRbdDefault

func NewMountRbdDefault

func NewMountRbdDefault(code int) *MountRbdDefault

NewMountRbdDefault creates MountRbdDefault with default headers values

func (*MountRbdDefault) SetPayload

func (o *MountRbdDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the mount rbd default response

func (*MountRbdDefault) SetStatusCode

func (o *MountRbdDefault) SetStatusCode(code int)

SetStatusCode sets the status to the mount rbd default response

func (*MountRbdDefault) WithPayload

func (o *MountRbdDefault) WithPayload(payload *models.Error) *MountRbdDefault

WithPayload adds the payload to the mount rbd default response

func (*MountRbdDefault) WithStatusCode

func (o *MountRbdDefault) WithStatusCode(code int) *MountRbdDefault

WithStatusCode adds the status to the mount rbd default response

func (*MountRbdDefault) WriteResponse

func (o *MountRbdDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type MountRbdHandler

type MountRbdHandler interface {
	Handle(MountRbdParams) middleware.Responder
}

MountRbdHandler interface for that can handle valid mount rbd params

type MountRbdHandlerFunc

type MountRbdHandlerFunc func(MountRbdParams) middleware.Responder

MountRbdHandlerFunc turns a function with the right signature into a mount rbd handler

func (MountRbdHandlerFunc) Handle

Handle executing the request and returning a response

type MountRbdParams

type MountRbdParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Mount *models.MountRbd
}

MountRbdParams contains all the bound params for the mount rbd operation typically these are obtained from a http.Request

swagger:parameters mount_rbd

func NewMountRbdParams

func NewMountRbdParams() MountRbdParams

NewMountRbdParams creates a new MountRbdParams object no default values defined in spec.

func (*MountRbdParams) BindRequest

func (o *MountRbdParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewMountRbdParams() beforehand.

type MountRbdURL

type MountRbdURL struct {
	// contains filtered or unexported fields
}

MountRbdURL generates an URL for the mount rbd operation

func (*MountRbdURL) Build

func (o *MountRbdURL) Build() (*url.URL, error)

Build a url path and query string

func (*MountRbdURL) BuildFull

func (o *MountRbdURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*MountRbdURL) Must

func (o *MountRbdURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*MountRbdURL) SetBasePath

func (o *MountRbdURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*MountRbdURL) String

func (o *MountRbdURL) String() string

String returns the string representation of the path with query string

func (*MountRbdURL) StringFull

func (o *MountRbdURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*MountRbdURL) WithBasePath

func (o *MountRbdURL) WithBasePath(bp string) *MountRbdURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type MountURL

type MountURL struct {
	// contains filtered or unexported fields
}

MountURL generates an URL for the mount operation

func (*MountURL) Build

func (o *MountURL) Build() (*url.URL, error)

Build a url path and query string

func (*MountURL) BuildFull

func (o *MountURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*MountURL) Must

func (o *MountURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*MountURL) SetBasePath

func (o *MountURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*MountURL) String

func (o *MountURL) String() string

String returns the string representation of the path with query string

func (*MountURL) StringFull

func (o *MountURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*MountURL) WithBasePath

func (o *MountURL) WithBasePath(bp string) *MountURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UnmountOverlay

type UnmountOverlay struct {
	Context *middleware.Context
	Handler UnmountOverlayHandler
}

UnmountOverlay swagger:route DELETE /mount/overlay/{id} mounts unmountOverlay

UnmountOverlay unmount overlay API

func NewUnmountOverlay

func NewUnmountOverlay(ctx *middleware.Context, handler UnmountOverlayHandler) *UnmountOverlay

NewUnmountOverlay creates a new http.Handler for the unmount overlay operation

func (*UnmountOverlay) ServeHTTP

func (o *UnmountOverlay) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UnmountOverlayDefault

type UnmountOverlayDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

UnmountOverlayDefault error

swagger:response unmountOverlayDefault

func NewUnmountOverlayDefault

func NewUnmountOverlayDefault(code int) *UnmountOverlayDefault

NewUnmountOverlayDefault creates UnmountOverlayDefault with default headers values

func (*UnmountOverlayDefault) SetPayload

func (o *UnmountOverlayDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the unmount overlay default response

func (*UnmountOverlayDefault) SetStatusCode

func (o *UnmountOverlayDefault) SetStatusCode(code int)

SetStatusCode sets the status to the unmount overlay default response

func (*UnmountOverlayDefault) WithPayload

func (o *UnmountOverlayDefault) WithPayload(payload *models.Error) *UnmountOverlayDefault

WithPayload adds the payload to the unmount overlay default response

func (*UnmountOverlayDefault) WithStatusCode

func (o *UnmountOverlayDefault) WithStatusCode(code int) *UnmountOverlayDefault

WithStatusCode adds the status to the unmount overlay default response

func (*UnmountOverlayDefault) WriteResponse

func (o *UnmountOverlayDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UnmountOverlayHandler

type UnmountOverlayHandler interface {
	Handle(UnmountOverlayParams) middleware.Responder
}

UnmountOverlayHandler interface for that can handle valid unmount overlay params

type UnmountOverlayHandlerFunc

type UnmountOverlayHandlerFunc func(UnmountOverlayParams) middleware.Responder

UnmountOverlayHandlerFunc turns a function with the right signature into a unmount overlay handler

func (UnmountOverlayHandlerFunc) Handle

Handle executing the request and returning a response

type UnmountOverlayOK

type UnmountOverlayOK struct {

	/*
	  In: Body
	*/
	Payload *models.MountOverlay `json:"body,omitempty"`
}

UnmountOverlayOK Unmounted

swagger:response unmountOverlayOK

func NewUnmountOverlayOK

func NewUnmountOverlayOK() *UnmountOverlayOK

NewUnmountOverlayOK creates UnmountOverlayOK with default headers values

func (*UnmountOverlayOK) SetPayload

func (o *UnmountOverlayOK) SetPayload(payload *models.MountOverlay)

SetPayload sets the payload to the unmount overlay o k response

func (*UnmountOverlayOK) WithPayload

func (o *UnmountOverlayOK) WithPayload(payload *models.MountOverlay) *UnmountOverlayOK

WithPayload adds the payload to the unmount overlay o k response

func (*UnmountOverlayOK) WriteResponse

func (o *UnmountOverlayOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UnmountOverlayParams

type UnmountOverlayParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ID int64
}

UnmountOverlayParams contains all the bound params for the unmount overlay operation typically these are obtained from a http.Request

swagger:parameters unmount_overlay

func NewUnmountOverlayParams

func NewUnmountOverlayParams() UnmountOverlayParams

NewUnmountOverlayParams creates a new UnmountOverlayParams object no default values defined in spec.

func (*UnmountOverlayParams) BindRequest

func (o *UnmountOverlayParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUnmountOverlayParams() beforehand.

type UnmountOverlayURL

type UnmountOverlayURL struct {
	ID int64
	// contains filtered or unexported fields
}

UnmountOverlayURL generates an URL for the unmount overlay operation

func (*UnmountOverlayURL) Build

func (o *UnmountOverlayURL) Build() (*url.URL, error)

Build a url path and query string

func (*UnmountOverlayURL) BuildFull

func (o *UnmountOverlayURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UnmountOverlayURL) Must

func (o *UnmountOverlayURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UnmountOverlayURL) SetBasePath

func (o *UnmountOverlayURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UnmountOverlayURL) String

func (o *UnmountOverlayURL) String() string

String returns the string representation of the path with query string

func (*UnmountOverlayURL) StringFull

func (o *UnmountOverlayURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UnmountOverlayURL) WithBasePath

func (o *UnmountOverlayURL) WithBasePath(bp string) *UnmountOverlayURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UnmountRbd

type UnmountRbd struct {
	Context *middleware.Context
	Handler UnmountRbdHandler
}

UnmountRbd swagger:route DELETE /mount/rbd/{id} mounts unmountRbd

UnmountRbd unmount rbd API

func NewUnmountRbd

func NewUnmountRbd(ctx *middleware.Context, handler UnmountRbdHandler) *UnmountRbd

NewUnmountRbd creates a new http.Handler for the unmount rbd operation

func (*UnmountRbd) ServeHTTP

func (o *UnmountRbd) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UnmountRbdDefault

type UnmountRbdDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

UnmountRbdDefault error

swagger:response unmountRbdDefault

func NewUnmountRbdDefault

func NewUnmountRbdDefault(code int) *UnmountRbdDefault

NewUnmountRbdDefault creates UnmountRbdDefault with default headers values

func (*UnmountRbdDefault) SetPayload

func (o *UnmountRbdDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the unmount rbd default response

func (*UnmountRbdDefault) SetStatusCode

func (o *UnmountRbdDefault) SetStatusCode(code int)

SetStatusCode sets the status to the unmount rbd default response

func (*UnmountRbdDefault) WithPayload

func (o *UnmountRbdDefault) WithPayload(payload *models.Error) *UnmountRbdDefault

WithPayload adds the payload to the unmount rbd default response

func (*UnmountRbdDefault) WithStatusCode

func (o *UnmountRbdDefault) WithStatusCode(code int) *UnmountRbdDefault

WithStatusCode adds the status to the unmount rbd default response

func (*UnmountRbdDefault) WriteResponse

func (o *UnmountRbdDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UnmountRbdHandler

type UnmountRbdHandler interface {
	Handle(UnmountRbdParams) middleware.Responder
}

UnmountRbdHandler interface for that can handle valid unmount rbd params

type UnmountRbdHandlerFunc

type UnmountRbdHandlerFunc func(UnmountRbdParams) middleware.Responder

UnmountRbdHandlerFunc turns a function with the right signature into a unmount rbd handler

func (UnmountRbdHandlerFunc) Handle

Handle executing the request and returning a response

type UnmountRbdOK

type UnmountRbdOK struct {

	/*
	  In: Body
	*/
	Payload *models.MountRbd `json:"body,omitempty"`
}

UnmountRbdOK Unmounted

swagger:response unmountRbdOK

func NewUnmountRbdOK

func NewUnmountRbdOK() *UnmountRbdOK

NewUnmountRbdOK creates UnmountRbdOK with default headers values

func (*UnmountRbdOK) SetPayload

func (o *UnmountRbdOK) SetPayload(payload *models.MountRbd)

SetPayload sets the payload to the unmount rbd o k response

func (*UnmountRbdOK) WithPayload

func (o *UnmountRbdOK) WithPayload(payload *models.MountRbd) *UnmountRbdOK

WithPayload adds the payload to the unmount rbd o k response

func (*UnmountRbdOK) WriteResponse

func (o *UnmountRbdOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UnmountRbdParams

type UnmountRbdParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	ID int64
}

UnmountRbdParams contains all the bound params for the unmount rbd operation typically these are obtained from a http.Request

swagger:parameters unmount_rbd

func NewUnmountRbdParams

func NewUnmountRbdParams() UnmountRbdParams

NewUnmountRbdParams creates a new UnmountRbdParams object no default values defined in spec.

func (*UnmountRbdParams) BindRequest

func (o *UnmountRbdParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUnmountRbdParams() beforehand.

type UnmountRbdURL

type UnmountRbdURL struct {
	ID int64
	// contains filtered or unexported fields
}

UnmountRbdURL generates an URL for the unmount rbd operation

func (*UnmountRbdURL) Build

func (o *UnmountRbdURL) Build() (*url.URL, error)

Build a url path and query string

func (*UnmountRbdURL) BuildFull

func (o *UnmountRbdURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UnmountRbdURL) Must

func (o *UnmountRbdURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UnmountRbdURL) SetBasePath

func (o *UnmountRbdURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UnmountRbdURL) String

func (o *UnmountRbdURL) String() string

String returns the string representation of the path with query string

func (*UnmountRbdURL) StringFull

func (o *UnmountRbdURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UnmountRbdURL) WithBasePath

func (o *UnmountRbdURL) WithBasePath(bp string) *UnmountRbdURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL