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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for mounts API

func (*Client) DeleteMount

func (a *Client) DeleteMount(params *DeleteMountParams) (*DeleteMountOK, error)

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

func (*Client) GetMountOverlay

func (a *Client) GetMountOverlay(params *GetMountOverlayParams) (*GetMountOverlayOK, error)

GetMountOverlay get mount overlay API

func (*Client) GetMountRbd

func (a *Client) GetMountRbd(params *GetMountRbdParams) (*GetMountRbdOK, error)

GetMountRbd get mount rbd API

func (*Client) ListMounts

func (a *Client) ListMounts(params *ListMountsParams) (*ListMountsOK, error)

ListMounts List mounts

func (*Client) ListMountsOverlay

func (a *Client) ListMountsOverlay(params *ListMountsOverlayParams) (*ListMountsOverlayOK, error)

ListMountsOverlay list mounts overlay API

func (*Client) ListMountsRbd

func (a *Client) ListMountsRbd(params *ListMountsRbdParams) (*ListMountsRbdOK, error)

ListMountsRbd list mounts rbd API

func (*Client) Mount

func (a *Client) Mount(params *MountParams) (*MountCreated, error)

Mount Create a new mount by mount specification.

func (*Client) MountOverlay

func (a *Client) MountOverlay(params *MountOverlayParams) (*MountOverlayCreated, error)

MountOverlay mount overlay API

func (*Client) MountRbd

func (a *Client) MountRbd(params *MountRbdParams) (*MountRbdCreated, error)

MountRbd mount rbd API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UnmountOverlay

func (a *Client) UnmountOverlay(params *UnmountOverlayParams) (*UnmountOverlayOK, error)

UnmountOverlay unmount overlay API

func (*Client) UnmountRbd

func (a *Client) UnmountRbd(params *UnmountRbdParams) (*UnmountRbdOK, error)

UnmountRbd unmount rbd API

type ClientService

type ClientService interface {
	DeleteMount(params *DeleteMountParams) (*DeleteMountOK, error)

	GetMountOverlay(params *GetMountOverlayParams) (*GetMountOverlayOK, error)

	GetMountRbd(params *GetMountRbdParams) (*GetMountRbdOK, error)

	ListMounts(params *ListMountsParams) (*ListMountsOK, error)

	ListMountsOverlay(params *ListMountsOverlayParams) (*ListMountsOverlayOK, error)

	ListMountsRbd(params *ListMountsRbdParams) (*ListMountsRbdOK, error)

	Mount(params *MountParams) (*MountCreated, error)

	MountOverlay(params *MountOverlayParams) (*MountOverlayCreated, error)

	MountRbd(params *MountRbdParams) (*MountRbdCreated, error)

	UnmountOverlay(params *UnmountOverlayParams) (*UnmountOverlayOK, error)

	UnmountRbd(params *UnmountRbdParams) (*UnmountRbdOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new mounts API client.

type DeleteMountDefault

type DeleteMountDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteMountDefault handles this case with default header values.

Unmount failed

func NewDeleteMountDefault

func NewDeleteMountDefault(code int) *DeleteMountDefault

NewDeleteMountDefault creates a DeleteMountDefault with default headers values

func (*DeleteMountDefault) Code

func (o *DeleteMountDefault) Code() int

Code gets the status code for the delete mount default response

func (*DeleteMountDefault) Error

func (o *DeleteMountDefault) Error() string

func (*DeleteMountDefault) GetPayload

func (o *DeleteMountDefault) GetPayload() *models.Error

type DeleteMountOK

type DeleteMountOK struct {
	Payload *models.Mount
}

DeleteMountOK handles this case with default header values.

Unmount succeeded

func NewDeleteMountOK

func NewDeleteMountOK() *DeleteMountOK

NewDeleteMountOK creates a DeleteMountOK with default headers values

func (*DeleteMountOK) Error

func (o *DeleteMountOK) Error() string

func (*DeleteMountOK) GetPayload

func (o *DeleteMountOK) GetPayload() *models.Mount

type DeleteMountParams

type DeleteMountParams struct {

	/*Mount*/
	Mount *models.Mount

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteMountParams contains all the parameters to send to the API endpoint for the delete mount operation typically these are written to a http.Request

func NewDeleteMountParams

func NewDeleteMountParams() *DeleteMountParams

NewDeleteMountParams creates a new DeleteMountParams object with the default values initialized.

func NewDeleteMountParamsWithContext

func NewDeleteMountParamsWithContext(ctx context.Context) *DeleteMountParams

NewDeleteMountParamsWithContext creates a new DeleteMountParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteMountParamsWithHTTPClient

func NewDeleteMountParamsWithHTTPClient(client *http.Client) *DeleteMountParams

NewDeleteMountParamsWithHTTPClient creates a new DeleteMountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteMountParamsWithTimeout

func NewDeleteMountParamsWithTimeout(timeout time.Duration) *DeleteMountParams

NewDeleteMountParamsWithTimeout creates a new DeleteMountParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteMountParams) SetContext

func (o *DeleteMountParams) SetContext(ctx context.Context)

SetContext adds the context to the delete mount params

func (*DeleteMountParams) SetHTTPClient

func (o *DeleteMountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete mount params

func (*DeleteMountParams) SetMount

func (o *DeleteMountParams) SetMount(mount *models.Mount)

SetMount adds the mount to the delete mount params

func (*DeleteMountParams) SetTimeout

func (o *DeleteMountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete mount params

func (*DeleteMountParams) WithContext

func (o *DeleteMountParams) WithContext(ctx context.Context) *DeleteMountParams

WithContext adds the context to the delete mount params

func (*DeleteMountParams) WithHTTPClient

func (o *DeleteMountParams) WithHTTPClient(client *http.Client) *DeleteMountParams

WithHTTPClient adds the HTTPClient to the delete mount params

func (*DeleteMountParams) WithMount

func (o *DeleteMountParams) WithMount(mount *models.Mount) *DeleteMountParams

WithMount adds the mount to the delete mount params

func (*DeleteMountParams) WithTimeout

func (o *DeleteMountParams) WithTimeout(timeout time.Duration) *DeleteMountParams

WithTimeout adds the timeout to the delete mount params

func (*DeleteMountParams) WriteToRequest

func (o *DeleteMountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteMountReader

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

DeleteMountReader is a Reader for the DeleteMount structure.

func (*DeleteMountReader) ReadResponse

func (o *DeleteMountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetMountOverlayDefault

type GetMountOverlayDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetMountOverlayDefault handles this case with default header values.

error

func NewGetMountOverlayDefault

func NewGetMountOverlayDefault(code int) *GetMountOverlayDefault

NewGetMountOverlayDefault creates a GetMountOverlayDefault with default headers values

func (*GetMountOverlayDefault) Code

func (o *GetMountOverlayDefault) Code() int

Code gets the status code for the get mount overlay default response

func (*GetMountOverlayDefault) Error

func (o *GetMountOverlayDefault) Error() string

func (*GetMountOverlayDefault) GetPayload

func (o *GetMountOverlayDefault) GetPayload() *models.Error

type GetMountOverlayOK

type GetMountOverlayOK struct {
	Payload *models.MountOverlay
}

GetMountOverlayOK handles this case with default header values.

Overlay mount entry

func NewGetMountOverlayOK

func NewGetMountOverlayOK() *GetMountOverlayOK

NewGetMountOverlayOK creates a GetMountOverlayOK with default headers values

func (*GetMountOverlayOK) Error

func (o *GetMountOverlayOK) Error() string

func (*GetMountOverlayOK) GetPayload

func (o *GetMountOverlayOK) GetPayload() *models.MountOverlay

type GetMountOverlayParams

type GetMountOverlayParams struct {

	/*ID*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMountOverlayParams contains all the parameters to send to the API endpoint for the get mount overlay operation typically these are written to a http.Request

func NewGetMountOverlayParams

func NewGetMountOverlayParams() *GetMountOverlayParams

NewGetMountOverlayParams creates a new GetMountOverlayParams object with the default values initialized.

func NewGetMountOverlayParamsWithContext

func NewGetMountOverlayParamsWithContext(ctx context.Context) *GetMountOverlayParams

NewGetMountOverlayParamsWithContext creates a new GetMountOverlayParams object with the default values initialized, and the ability to set a context for a request

func NewGetMountOverlayParamsWithHTTPClient

func NewGetMountOverlayParamsWithHTTPClient(client *http.Client) *GetMountOverlayParams

NewGetMountOverlayParamsWithHTTPClient creates a new GetMountOverlayParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetMountOverlayParamsWithTimeout

func NewGetMountOverlayParamsWithTimeout(timeout time.Duration) *GetMountOverlayParams

NewGetMountOverlayParamsWithTimeout creates a new GetMountOverlayParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetMountOverlayParams) SetContext

func (o *GetMountOverlayParams) SetContext(ctx context.Context)

SetContext adds the context to the get mount overlay params

func (*GetMountOverlayParams) SetHTTPClient

func (o *GetMountOverlayParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get mount overlay params

func (*GetMountOverlayParams) SetID

func (o *GetMountOverlayParams) SetID(id int64)

SetID adds the id to the get mount overlay params

func (*GetMountOverlayParams) SetTimeout

func (o *GetMountOverlayParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get mount overlay params

func (*GetMountOverlayParams) WithContext

WithContext adds the context to the get mount overlay params

func (*GetMountOverlayParams) WithHTTPClient

func (o *GetMountOverlayParams) WithHTTPClient(client *http.Client) *GetMountOverlayParams

WithHTTPClient adds the HTTPClient to the get mount overlay params

func (*GetMountOverlayParams) WithID

WithID adds the id to the get mount overlay params

func (*GetMountOverlayParams) WithTimeout

func (o *GetMountOverlayParams) WithTimeout(timeout time.Duration) *GetMountOverlayParams

WithTimeout adds the timeout to the get mount overlay params

func (*GetMountOverlayParams) WriteToRequest

func (o *GetMountOverlayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetMountOverlayReader

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

GetMountOverlayReader is a Reader for the GetMountOverlay structure.

func (*GetMountOverlayReader) ReadResponse

func (o *GetMountOverlayReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetMountRbdDefault

type GetMountRbdDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetMountRbdDefault handles this case with default header values.

error

func NewGetMountRbdDefault

func NewGetMountRbdDefault(code int) *GetMountRbdDefault

NewGetMountRbdDefault creates a GetMountRbdDefault with default headers values

func (*GetMountRbdDefault) Code

func (o *GetMountRbdDefault) Code() int

Code gets the status code for the get mount rbd default response

func (*GetMountRbdDefault) Error

func (o *GetMountRbdDefault) Error() string

func (*GetMountRbdDefault) GetPayload

func (o *GetMountRbdDefault) GetPayload() *models.Error

type GetMountRbdOK

type GetMountRbdOK struct {
	Payload *models.MountRbd
}

GetMountRbdOK handles this case with default header values.

RBD mount entry

func NewGetMountRbdOK

func NewGetMountRbdOK() *GetMountRbdOK

NewGetMountRbdOK creates a GetMountRbdOK with default headers values

func (*GetMountRbdOK) Error

func (o *GetMountRbdOK) Error() string

func (*GetMountRbdOK) GetPayload

func (o *GetMountRbdOK) GetPayload() *models.MountRbd

type GetMountRbdParams

type GetMountRbdParams struct {

	/*ID*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMountRbdParams contains all the parameters to send to the API endpoint for the get mount rbd operation typically these are written to a http.Request

func NewGetMountRbdParams

func NewGetMountRbdParams() *GetMountRbdParams

NewGetMountRbdParams creates a new GetMountRbdParams object with the default values initialized.

func NewGetMountRbdParamsWithContext

func NewGetMountRbdParamsWithContext(ctx context.Context) *GetMountRbdParams

NewGetMountRbdParamsWithContext creates a new GetMountRbdParams object with the default values initialized, and the ability to set a context for a request

func NewGetMountRbdParamsWithHTTPClient

func NewGetMountRbdParamsWithHTTPClient(client *http.Client) *GetMountRbdParams

NewGetMountRbdParamsWithHTTPClient creates a new GetMountRbdParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetMountRbdParamsWithTimeout

func NewGetMountRbdParamsWithTimeout(timeout time.Duration) *GetMountRbdParams

NewGetMountRbdParamsWithTimeout creates a new GetMountRbdParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetMountRbdParams) SetContext

func (o *GetMountRbdParams) SetContext(ctx context.Context)

SetContext adds the context to the get mount rbd params

func (*GetMountRbdParams) SetHTTPClient

func (o *GetMountRbdParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get mount rbd params

func (*GetMountRbdParams) SetID

func (o *GetMountRbdParams) SetID(id int64)

SetID adds the id to the get mount rbd params

func (*GetMountRbdParams) SetTimeout

func (o *GetMountRbdParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get mount rbd params

func (*GetMountRbdParams) WithContext

func (o *GetMountRbdParams) WithContext(ctx context.Context) *GetMountRbdParams

WithContext adds the context to the get mount rbd params

func (*GetMountRbdParams) WithHTTPClient

func (o *GetMountRbdParams) WithHTTPClient(client *http.Client) *GetMountRbdParams

WithHTTPClient adds the HTTPClient to the get mount rbd params

func (*GetMountRbdParams) WithID

func (o *GetMountRbdParams) WithID(id int64) *GetMountRbdParams

WithID adds the id to the get mount rbd params

func (*GetMountRbdParams) WithTimeout

func (o *GetMountRbdParams) WithTimeout(timeout time.Duration) *GetMountRbdParams

WithTimeout adds the timeout to the get mount rbd params

func (*GetMountRbdParams) WriteToRequest

func (o *GetMountRbdParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetMountRbdReader

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

GetMountRbdReader is a Reader for the GetMountRbd structure.

func (*GetMountRbdReader) ReadResponse

func (o *GetMountRbdReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListMountsDefault

type ListMountsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

ListMountsDefault handles this case with default header values.

error

func NewListMountsDefault

func NewListMountsDefault(code int) *ListMountsDefault

NewListMountsDefault creates a ListMountsDefault with default headers values

func (*ListMountsDefault) Code

func (o *ListMountsDefault) Code() int

Code gets the status code for the list mounts default response

func (*ListMountsDefault) Error

func (o *ListMountsDefault) Error() string

func (*ListMountsDefault) GetPayload

func (o *ListMountsDefault) GetPayload() *models.Error

type ListMountsOK

type ListMountsOK struct {
	Payload []*models.Mount
}

ListMountsOK handles this case with default header values.

list all mounts

func NewListMountsOK

func NewListMountsOK() *ListMountsOK

NewListMountsOK creates a ListMountsOK with default headers values

func (*ListMountsOK) Error

func (o *ListMountsOK) Error() string

func (*ListMountsOK) GetPayload

func (o *ListMountsOK) GetPayload() []*models.Mount

type ListMountsOverlayDefault

type ListMountsOverlayDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

ListMountsOverlayDefault handles this case with default header values.

error

func NewListMountsOverlayDefault

func NewListMountsOverlayDefault(code int) *ListMountsOverlayDefault

NewListMountsOverlayDefault creates a ListMountsOverlayDefault with default headers values

func (*ListMountsOverlayDefault) Code

func (o *ListMountsOverlayDefault) Code() int

Code gets the status code for the list mounts overlay default response

func (*ListMountsOverlayDefault) Error

func (o *ListMountsOverlayDefault) Error() string

func (*ListMountsOverlayDefault) GetPayload

func (o *ListMountsOverlayDefault) GetPayload() *models.Error

type ListMountsOverlayOK

type ListMountsOverlayOK struct {
	Payload []*models.MountOverlay
}

ListMountsOverlayOK handles this case with default header values.

list of overlay mounts

func NewListMountsOverlayOK

func NewListMountsOverlayOK() *ListMountsOverlayOK

NewListMountsOverlayOK creates a ListMountsOverlayOK with default headers values

func (*ListMountsOverlayOK) Error

func (o *ListMountsOverlayOK) Error() string

func (*ListMountsOverlayOK) GetPayload

func (o *ListMountsOverlayOK) GetPayload() []*models.MountOverlay

type ListMountsOverlayParams

type ListMountsOverlayParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListMountsOverlayParams contains all the parameters to send to the API endpoint for the list mounts overlay operation typically these are written to a http.Request

func NewListMountsOverlayParams

func NewListMountsOverlayParams() *ListMountsOverlayParams

NewListMountsOverlayParams creates a new ListMountsOverlayParams object with the default values initialized.

func NewListMountsOverlayParamsWithContext

func NewListMountsOverlayParamsWithContext(ctx context.Context) *ListMountsOverlayParams

NewListMountsOverlayParamsWithContext creates a new ListMountsOverlayParams object with the default values initialized, and the ability to set a context for a request

func NewListMountsOverlayParamsWithHTTPClient

func NewListMountsOverlayParamsWithHTTPClient(client *http.Client) *ListMountsOverlayParams

NewListMountsOverlayParamsWithHTTPClient creates a new ListMountsOverlayParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListMountsOverlayParamsWithTimeout

func NewListMountsOverlayParamsWithTimeout(timeout time.Duration) *ListMountsOverlayParams

NewListMountsOverlayParamsWithTimeout creates a new ListMountsOverlayParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListMountsOverlayParams) SetContext

func (o *ListMountsOverlayParams) SetContext(ctx context.Context)

SetContext adds the context to the list mounts overlay params

func (*ListMountsOverlayParams) SetHTTPClient

func (o *ListMountsOverlayParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list mounts overlay params

func (*ListMountsOverlayParams) SetTimeout

func (o *ListMountsOverlayParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list mounts overlay params

func (*ListMountsOverlayParams) WithContext

WithContext adds the context to the list mounts overlay params

func (*ListMountsOverlayParams) WithHTTPClient

func (o *ListMountsOverlayParams) WithHTTPClient(client *http.Client) *ListMountsOverlayParams

WithHTTPClient adds the HTTPClient to the list mounts overlay params

func (*ListMountsOverlayParams) WithTimeout

WithTimeout adds the timeout to the list mounts overlay params

func (*ListMountsOverlayParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListMountsOverlayReader

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

ListMountsOverlayReader is a Reader for the ListMountsOverlay structure.

func (*ListMountsOverlayReader) ReadResponse

func (o *ListMountsOverlayReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListMountsParams

type ListMountsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListMountsParams contains all the parameters to send to the API endpoint for the list mounts operation typically these are written to a http.Request

func NewListMountsParams

func NewListMountsParams() *ListMountsParams

NewListMountsParams creates a new ListMountsParams object with the default values initialized.

func NewListMountsParamsWithContext

func NewListMountsParamsWithContext(ctx context.Context) *ListMountsParams

NewListMountsParamsWithContext creates a new ListMountsParams object with the default values initialized, and the ability to set a context for a request

func NewListMountsParamsWithHTTPClient

func NewListMountsParamsWithHTTPClient(client *http.Client) *ListMountsParams

NewListMountsParamsWithHTTPClient creates a new ListMountsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListMountsParamsWithTimeout

func NewListMountsParamsWithTimeout(timeout time.Duration) *ListMountsParams

NewListMountsParamsWithTimeout creates a new ListMountsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListMountsParams) SetContext

func (o *ListMountsParams) SetContext(ctx context.Context)

SetContext adds the context to the list mounts params

func (*ListMountsParams) SetHTTPClient

func (o *ListMountsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list mounts params

func (*ListMountsParams) SetTimeout

func (o *ListMountsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list mounts params

func (*ListMountsParams) WithContext

func (o *ListMountsParams) WithContext(ctx context.Context) *ListMountsParams

WithContext adds the context to the list mounts params

func (*ListMountsParams) WithHTTPClient

func (o *ListMountsParams) WithHTTPClient(client *http.Client) *ListMountsParams

WithHTTPClient adds the HTTPClient to the list mounts params

func (*ListMountsParams) WithTimeout

func (o *ListMountsParams) WithTimeout(timeout time.Duration) *ListMountsParams

WithTimeout adds the timeout to the list mounts params

func (*ListMountsParams) WriteToRequest

func (o *ListMountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListMountsRbdDefault

type ListMountsRbdDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

ListMountsRbdDefault handles this case with default header values.

error

func NewListMountsRbdDefault

func NewListMountsRbdDefault(code int) *ListMountsRbdDefault

NewListMountsRbdDefault creates a ListMountsRbdDefault with default headers values

func (*ListMountsRbdDefault) Code

func (o *ListMountsRbdDefault) Code() int

Code gets the status code for the list mounts rbd default response

func (*ListMountsRbdDefault) Error

func (o *ListMountsRbdDefault) Error() string

func (*ListMountsRbdDefault) GetPayload

func (o *ListMountsRbdDefault) GetPayload() *models.Error

type ListMountsRbdOK

type ListMountsRbdOK struct {
	Payload []*models.MountRbd
}

ListMountsRbdOK handles this case with default header values.

list of rbd mounts

func NewListMountsRbdOK

func NewListMountsRbdOK() *ListMountsRbdOK

NewListMountsRbdOK creates a ListMountsRbdOK with default headers values

func (*ListMountsRbdOK) Error

func (o *ListMountsRbdOK) Error() string

func (*ListMountsRbdOK) GetPayload

func (o *ListMountsRbdOK) GetPayload() []*models.MountRbd

type ListMountsRbdParams

type ListMountsRbdParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListMountsRbdParams contains all the parameters to send to the API endpoint for the list mounts rbd operation typically these are written to a http.Request

func NewListMountsRbdParams

func NewListMountsRbdParams() *ListMountsRbdParams

NewListMountsRbdParams creates a new ListMountsRbdParams object with the default values initialized.

func NewListMountsRbdParamsWithContext

func NewListMountsRbdParamsWithContext(ctx context.Context) *ListMountsRbdParams

NewListMountsRbdParamsWithContext creates a new ListMountsRbdParams object with the default values initialized, and the ability to set a context for a request

func NewListMountsRbdParamsWithHTTPClient

func NewListMountsRbdParamsWithHTTPClient(client *http.Client) *ListMountsRbdParams

NewListMountsRbdParamsWithHTTPClient creates a new ListMountsRbdParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListMountsRbdParamsWithTimeout

func NewListMountsRbdParamsWithTimeout(timeout time.Duration) *ListMountsRbdParams

NewListMountsRbdParamsWithTimeout creates a new ListMountsRbdParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListMountsRbdParams) SetContext

func (o *ListMountsRbdParams) SetContext(ctx context.Context)

SetContext adds the context to the list mounts rbd params

func (*ListMountsRbdParams) SetHTTPClient

func (o *ListMountsRbdParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list mounts rbd params

func (*ListMountsRbdParams) SetTimeout

func (o *ListMountsRbdParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list mounts rbd params

func (*ListMountsRbdParams) WithContext

WithContext adds the context to the list mounts rbd params

func (*ListMountsRbdParams) WithHTTPClient

func (o *ListMountsRbdParams) WithHTTPClient(client *http.Client) *ListMountsRbdParams

WithHTTPClient adds the HTTPClient to the list mounts rbd params

func (*ListMountsRbdParams) WithTimeout

func (o *ListMountsRbdParams) WithTimeout(timeout time.Duration) *ListMountsRbdParams

WithTimeout adds the timeout to the list mounts rbd params

func (*ListMountsRbdParams) WriteToRequest

func (o *ListMountsRbdParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListMountsRbdReader

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

ListMountsRbdReader is a Reader for the ListMountsRbd structure.

func (*ListMountsRbdReader) ReadResponse

func (o *ListMountsRbdReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListMountsReader

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

ListMountsReader is a Reader for the ListMounts structure.

func (*ListMountsReader) ReadResponse

func (o *ListMountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type MountCreated

type MountCreated struct {
	Payload *models.Mount
}

MountCreated handles this case with default header values.

mount succeed

func NewMountCreated

func NewMountCreated() *MountCreated

NewMountCreated creates a MountCreated with default headers values

func (*MountCreated) Error

func (o *MountCreated) Error() string

func (*MountCreated) GetPayload

func (o *MountCreated) GetPayload() *models.Mount

type MountDefault

type MountDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

MountDefault handles this case with default header values.

error

func NewMountDefault

func NewMountDefault(code int) *MountDefault

NewMountDefault creates a MountDefault with default headers values

func (*MountDefault) Code

func (o *MountDefault) Code() int

Code gets the status code for the mount default response

func (*MountDefault) Error

func (o *MountDefault) Error() string

func (*MountDefault) GetPayload

func (o *MountDefault) GetPayload() *models.Error

type MountOverlayCreated

type MountOverlayCreated struct {
	Payload *models.MountOverlay
}

MountOverlayCreated handles this case with default header values.

Overlay mount succeed

func NewMountOverlayCreated

func NewMountOverlayCreated() *MountOverlayCreated

NewMountOverlayCreated creates a MountOverlayCreated with default headers values

func (*MountOverlayCreated) Error

func (o *MountOverlayCreated) Error() string

func (*MountOverlayCreated) GetPayload

func (o *MountOverlayCreated) GetPayload() *models.MountOverlay

type MountOverlayDefault

type MountOverlayDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

MountOverlayDefault handles this case with default header values.

error

func NewMountOverlayDefault

func NewMountOverlayDefault(code int) *MountOverlayDefault

NewMountOverlayDefault creates a MountOverlayDefault with default headers values

func (*MountOverlayDefault) Code

func (o *MountOverlayDefault) Code() int

Code gets the status code for the mount overlay default response

func (*MountOverlayDefault) Error

func (o *MountOverlayDefault) Error() string

func (*MountOverlayDefault) GetPayload

func (o *MountOverlayDefault) GetPayload() *models.Error

type MountOverlayParams

type MountOverlayParams struct {

	/*Mount*/
	Mount *models.MountOverlay

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

MountOverlayParams contains all the parameters to send to the API endpoint for the mount overlay operation typically these are written to a http.Request

func NewMountOverlayParams

func NewMountOverlayParams() *MountOverlayParams

NewMountOverlayParams creates a new MountOverlayParams object with the default values initialized.

func NewMountOverlayParamsWithContext

func NewMountOverlayParamsWithContext(ctx context.Context) *MountOverlayParams

NewMountOverlayParamsWithContext creates a new MountOverlayParams object with the default values initialized, and the ability to set a context for a request

func NewMountOverlayParamsWithHTTPClient

func NewMountOverlayParamsWithHTTPClient(client *http.Client) *MountOverlayParams

NewMountOverlayParamsWithHTTPClient creates a new MountOverlayParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewMountOverlayParamsWithTimeout

func NewMountOverlayParamsWithTimeout(timeout time.Duration) *MountOverlayParams

NewMountOverlayParamsWithTimeout creates a new MountOverlayParams object with the default values initialized, and the ability to set a timeout on a request

func (*MountOverlayParams) SetContext

func (o *MountOverlayParams) SetContext(ctx context.Context)

SetContext adds the context to the mount overlay params

func (*MountOverlayParams) SetHTTPClient

func (o *MountOverlayParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the mount overlay params

func (*MountOverlayParams) SetMount

func (o *MountOverlayParams) SetMount(mount *models.MountOverlay)

SetMount adds the mount to the mount overlay params

func (*MountOverlayParams) SetTimeout

func (o *MountOverlayParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the mount overlay params

func (*MountOverlayParams) WithContext

WithContext adds the context to the mount overlay params

func (*MountOverlayParams) WithHTTPClient

func (o *MountOverlayParams) WithHTTPClient(client *http.Client) *MountOverlayParams

WithHTTPClient adds the HTTPClient to the mount overlay params

func (*MountOverlayParams) WithMount

WithMount adds the mount to the mount overlay params

func (*MountOverlayParams) WithTimeout

func (o *MountOverlayParams) WithTimeout(timeout time.Duration) *MountOverlayParams

WithTimeout adds the timeout to the mount overlay params

func (*MountOverlayParams) WriteToRequest

func (o *MountOverlayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type MountOverlayReader

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

MountOverlayReader is a Reader for the MountOverlay structure.

func (*MountOverlayReader) ReadResponse

func (o *MountOverlayReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type MountParams

type MountParams struct {

	/*Mount*/
	Mount *models.Mount

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

MountParams contains all the parameters to send to the API endpoint for the mount operation typically these are written to a http.Request

func NewMountParams

func NewMountParams() *MountParams

NewMountParams creates a new MountParams object with the default values initialized.

func NewMountParamsWithContext

func NewMountParamsWithContext(ctx context.Context) *MountParams

NewMountParamsWithContext creates a new MountParams object with the default values initialized, and the ability to set a context for a request

func NewMountParamsWithHTTPClient

func NewMountParamsWithHTTPClient(client *http.Client) *MountParams

NewMountParamsWithHTTPClient creates a new MountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewMountParamsWithTimeout

func NewMountParamsWithTimeout(timeout time.Duration) *MountParams

NewMountParamsWithTimeout creates a new MountParams object with the default values initialized, and the ability to set a timeout on a request

func (*MountParams) SetContext

func (o *MountParams) SetContext(ctx context.Context)

SetContext adds the context to the mount params

func (*MountParams) SetHTTPClient

func (o *MountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the mount params

func (*MountParams) SetMount

func (o *MountParams) SetMount(mount *models.Mount)

SetMount adds the mount to the mount params

func (*MountParams) SetTimeout

func (o *MountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the mount params

func (*MountParams) WithContext

func (o *MountParams) WithContext(ctx context.Context) *MountParams

WithContext adds the context to the mount params

func (*MountParams) WithHTTPClient

func (o *MountParams) WithHTTPClient(client *http.Client) *MountParams

WithHTTPClient adds the HTTPClient to the mount params

func (*MountParams) WithMount

func (o *MountParams) WithMount(mount *models.Mount) *MountParams

WithMount adds the mount to the mount params

func (*MountParams) WithTimeout

func (o *MountParams) WithTimeout(timeout time.Duration) *MountParams

WithTimeout adds the timeout to the mount params

func (*MountParams) WriteToRequest

func (o *MountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type MountRbdCreated

type MountRbdCreated struct {
	Payload *models.MountRbd
}

MountRbdCreated handles this case with default header values.

RBD mount succeed

func NewMountRbdCreated

func NewMountRbdCreated() *MountRbdCreated

NewMountRbdCreated creates a MountRbdCreated with default headers values

func (*MountRbdCreated) Error

func (o *MountRbdCreated) Error() string

func (*MountRbdCreated) GetPayload

func (o *MountRbdCreated) GetPayload() *models.MountRbd

type MountRbdDefault

type MountRbdDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

MountRbdDefault handles this case with default header values.

error

func NewMountRbdDefault

func NewMountRbdDefault(code int) *MountRbdDefault

NewMountRbdDefault creates a MountRbdDefault with default headers values

func (*MountRbdDefault) Code

func (o *MountRbdDefault) Code() int

Code gets the status code for the mount rbd default response

func (*MountRbdDefault) Error

func (o *MountRbdDefault) Error() string

func (*MountRbdDefault) GetPayload

func (o *MountRbdDefault) GetPayload() *models.Error

type MountRbdParams

type MountRbdParams struct {

	/*Mount*/
	Mount *models.MountRbd

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

MountRbdParams contains all the parameters to send to the API endpoint for the mount rbd operation typically these are written to a http.Request

func NewMountRbdParams

func NewMountRbdParams() *MountRbdParams

NewMountRbdParams creates a new MountRbdParams object with the default values initialized.

func NewMountRbdParamsWithContext

func NewMountRbdParamsWithContext(ctx context.Context) *MountRbdParams

NewMountRbdParamsWithContext creates a new MountRbdParams object with the default values initialized, and the ability to set a context for a request

func NewMountRbdParamsWithHTTPClient

func NewMountRbdParamsWithHTTPClient(client *http.Client) *MountRbdParams

NewMountRbdParamsWithHTTPClient creates a new MountRbdParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewMountRbdParamsWithTimeout

func NewMountRbdParamsWithTimeout(timeout time.Duration) *MountRbdParams

NewMountRbdParamsWithTimeout creates a new MountRbdParams object with the default values initialized, and the ability to set a timeout on a request

func (*MountRbdParams) SetContext

func (o *MountRbdParams) SetContext(ctx context.Context)

SetContext adds the context to the mount rbd params

func (*MountRbdParams) SetHTTPClient

func (o *MountRbdParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the mount rbd params

func (*MountRbdParams) SetMount

func (o *MountRbdParams) SetMount(mount *models.MountRbd)

SetMount adds the mount to the mount rbd params

func (*MountRbdParams) SetTimeout

func (o *MountRbdParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the mount rbd params

func (*MountRbdParams) WithContext

func (o *MountRbdParams) WithContext(ctx context.Context) *MountRbdParams

WithContext adds the context to the mount rbd params

func (*MountRbdParams) WithHTTPClient

func (o *MountRbdParams) WithHTTPClient(client *http.Client) *MountRbdParams

WithHTTPClient adds the HTTPClient to the mount rbd params

func (*MountRbdParams) WithMount

func (o *MountRbdParams) WithMount(mount *models.MountRbd) *MountRbdParams

WithMount adds the mount to the mount rbd params

func (*MountRbdParams) WithTimeout

func (o *MountRbdParams) WithTimeout(timeout time.Duration) *MountRbdParams

WithTimeout adds the timeout to the mount rbd params

func (*MountRbdParams) WriteToRequest

func (o *MountRbdParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type MountRbdReader

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

MountRbdReader is a Reader for the MountRbd structure.

func (*MountRbdReader) ReadResponse

func (o *MountRbdReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type MountReader

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

MountReader is a Reader for the Mount structure.

func (*MountReader) ReadResponse

func (o *MountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UnmountOverlayDefault

type UnmountOverlayDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

UnmountOverlayDefault handles this case with default header values.

error

func NewUnmountOverlayDefault

func NewUnmountOverlayDefault(code int) *UnmountOverlayDefault

NewUnmountOverlayDefault creates a UnmountOverlayDefault with default headers values

func (*UnmountOverlayDefault) Code

func (o *UnmountOverlayDefault) Code() int

Code gets the status code for the unmount overlay default response

func (*UnmountOverlayDefault) Error

func (o *UnmountOverlayDefault) Error() string

func (*UnmountOverlayDefault) GetPayload

func (o *UnmountOverlayDefault) GetPayload() *models.Error

type UnmountOverlayOK

type UnmountOverlayOK struct {
	Payload *models.MountOverlay
}

UnmountOverlayOK handles this case with default header values.

Unmounted

func NewUnmountOverlayOK

func NewUnmountOverlayOK() *UnmountOverlayOK

NewUnmountOverlayOK creates a UnmountOverlayOK with default headers values

func (*UnmountOverlayOK) Error

func (o *UnmountOverlayOK) Error() string

func (*UnmountOverlayOK) GetPayload

func (o *UnmountOverlayOK) GetPayload() *models.MountOverlay

type UnmountOverlayParams

type UnmountOverlayParams struct {

	/*ID*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UnmountOverlayParams contains all the parameters to send to the API endpoint for the unmount overlay operation typically these are written to a http.Request

func NewUnmountOverlayParams

func NewUnmountOverlayParams() *UnmountOverlayParams

NewUnmountOverlayParams creates a new UnmountOverlayParams object with the default values initialized.

func NewUnmountOverlayParamsWithContext

func NewUnmountOverlayParamsWithContext(ctx context.Context) *UnmountOverlayParams

NewUnmountOverlayParamsWithContext creates a new UnmountOverlayParams object with the default values initialized, and the ability to set a context for a request

func NewUnmountOverlayParamsWithHTTPClient

func NewUnmountOverlayParamsWithHTTPClient(client *http.Client) *UnmountOverlayParams

NewUnmountOverlayParamsWithHTTPClient creates a new UnmountOverlayParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUnmountOverlayParamsWithTimeout

func NewUnmountOverlayParamsWithTimeout(timeout time.Duration) *UnmountOverlayParams

NewUnmountOverlayParamsWithTimeout creates a new UnmountOverlayParams object with the default values initialized, and the ability to set a timeout on a request

func (*UnmountOverlayParams) SetContext

func (o *UnmountOverlayParams) SetContext(ctx context.Context)

SetContext adds the context to the unmount overlay params

func (*UnmountOverlayParams) SetHTTPClient

func (o *UnmountOverlayParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the unmount overlay params

func (*UnmountOverlayParams) SetID

func (o *UnmountOverlayParams) SetID(id int64)

SetID adds the id to the unmount overlay params

func (*UnmountOverlayParams) SetTimeout

func (o *UnmountOverlayParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the unmount overlay params

func (*UnmountOverlayParams) WithContext

WithContext adds the context to the unmount overlay params

func (*UnmountOverlayParams) WithHTTPClient

func (o *UnmountOverlayParams) WithHTTPClient(client *http.Client) *UnmountOverlayParams

WithHTTPClient adds the HTTPClient to the unmount overlay params

func (*UnmountOverlayParams) WithID

WithID adds the id to the unmount overlay params

func (*UnmountOverlayParams) WithTimeout

func (o *UnmountOverlayParams) WithTimeout(timeout time.Duration) *UnmountOverlayParams

WithTimeout adds the timeout to the unmount overlay params

func (*UnmountOverlayParams) WriteToRequest

func (o *UnmountOverlayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UnmountOverlayReader

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

UnmountOverlayReader is a Reader for the UnmountOverlay structure.

func (*UnmountOverlayReader) ReadResponse

func (o *UnmountOverlayReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UnmountRbdDefault

type UnmountRbdDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

UnmountRbdDefault handles this case with default header values.

error

func NewUnmountRbdDefault

func NewUnmountRbdDefault(code int) *UnmountRbdDefault

NewUnmountRbdDefault creates a UnmountRbdDefault with default headers values

func (*UnmountRbdDefault) Code

func (o *UnmountRbdDefault) Code() int

Code gets the status code for the unmount rbd default response

func (*UnmountRbdDefault) Error

func (o *UnmountRbdDefault) Error() string

func (*UnmountRbdDefault) GetPayload

func (o *UnmountRbdDefault) GetPayload() *models.Error

type UnmountRbdOK

type UnmountRbdOK struct {
	Payload *models.MountRbd
}

UnmountRbdOK handles this case with default header values.

Unmounted

func NewUnmountRbdOK

func NewUnmountRbdOK() *UnmountRbdOK

NewUnmountRbdOK creates a UnmountRbdOK with default headers values

func (*UnmountRbdOK) Error

func (o *UnmountRbdOK) Error() string

func (*UnmountRbdOK) GetPayload

func (o *UnmountRbdOK) GetPayload() *models.MountRbd

type UnmountRbdParams

type UnmountRbdParams struct {

	/*ID*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UnmountRbdParams contains all the parameters to send to the API endpoint for the unmount rbd operation typically these are written to a http.Request

func NewUnmountRbdParams

func NewUnmountRbdParams() *UnmountRbdParams

NewUnmountRbdParams creates a new UnmountRbdParams object with the default values initialized.

func NewUnmountRbdParamsWithContext

func NewUnmountRbdParamsWithContext(ctx context.Context) *UnmountRbdParams

NewUnmountRbdParamsWithContext creates a new UnmountRbdParams object with the default values initialized, and the ability to set a context for a request

func NewUnmountRbdParamsWithHTTPClient

func NewUnmountRbdParamsWithHTTPClient(client *http.Client) *UnmountRbdParams

NewUnmountRbdParamsWithHTTPClient creates a new UnmountRbdParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUnmountRbdParamsWithTimeout

func NewUnmountRbdParamsWithTimeout(timeout time.Duration) *UnmountRbdParams

NewUnmountRbdParamsWithTimeout creates a new UnmountRbdParams object with the default values initialized, and the ability to set a timeout on a request

func (*UnmountRbdParams) SetContext

func (o *UnmountRbdParams) SetContext(ctx context.Context)

SetContext adds the context to the unmount rbd params

func (*UnmountRbdParams) SetHTTPClient

func (o *UnmountRbdParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the unmount rbd params

func (*UnmountRbdParams) SetID

func (o *UnmountRbdParams) SetID(id int64)

SetID adds the id to the unmount rbd params

func (*UnmountRbdParams) SetTimeout

func (o *UnmountRbdParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the unmount rbd params

func (*UnmountRbdParams) WithContext

func (o *UnmountRbdParams) WithContext(ctx context.Context) *UnmountRbdParams

WithContext adds the context to the unmount rbd params

func (*UnmountRbdParams) WithHTTPClient

func (o *UnmountRbdParams) WithHTTPClient(client *http.Client) *UnmountRbdParams

WithHTTPClient adds the HTTPClient to the unmount rbd params

func (*UnmountRbdParams) WithID

func (o *UnmountRbdParams) WithID(id int64) *UnmountRbdParams

WithID adds the id to the unmount rbd params

func (*UnmountRbdParams) WithTimeout

func (o *UnmountRbdParams) WithTimeout(timeout time.Duration) *UnmountRbdParams

WithTimeout adds the timeout to the unmount rbd params

func (*UnmountRbdParams) WriteToRequest

func (o *UnmountRbdParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UnmountRbdReader

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

UnmountRbdReader is a Reader for the UnmountRbd structure.

func (*UnmountRbdReader) ReadResponse

func (o *UnmountRbdReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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