Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteMount(params *DeleteMountParams) (*DeleteMountOK, error)
- func (a *Client) GetMountOverlay(params *GetMountOverlayParams) (*GetMountOverlayOK, error)
- func (a *Client) GetMountRbd(params *GetMountRbdParams) (*GetMountRbdOK, error)
- func (a *Client) ListMounts(params *ListMountsParams) (*ListMountsOK, error)
- func (a *Client) ListMountsOverlay(params *ListMountsOverlayParams) (*ListMountsOverlayOK, error)
- func (a *Client) ListMountsRbd(params *ListMountsRbdParams) (*ListMountsRbdOK, error)
- func (a *Client) Mount(params *MountParams) (*MountCreated, error)
- func (a *Client) MountOverlay(params *MountOverlayParams) (*MountOverlayCreated, error)
- func (a *Client) MountRbd(params *MountRbdParams) (*MountRbdCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UnmountOverlay(params *UnmountOverlayParams) (*UnmountOverlayOK, error)
- func (a *Client) UnmountRbd(params *UnmountRbdParams) (*UnmountRbdOK, error)
- type ClientService
- type DeleteMountDefault
- type DeleteMountOK
- type DeleteMountParams
- func (o *DeleteMountParams) SetContext(ctx context.Context)
- func (o *DeleteMountParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMountParams) SetMount(mount *models.Mount)
- func (o *DeleteMountParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMountParams) WithContext(ctx context.Context) *DeleteMountParams
- func (o *DeleteMountParams) WithHTTPClient(client *http.Client) *DeleteMountParams
- func (o *DeleteMountParams) WithMount(mount *models.Mount) *DeleteMountParams
- func (o *DeleteMountParams) WithTimeout(timeout time.Duration) *DeleteMountParams
- func (o *DeleteMountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMountReader
- type GetMountOverlayDefault
- type GetMountOverlayOK
- type GetMountOverlayParams
- func NewGetMountOverlayParams() *GetMountOverlayParams
- func NewGetMountOverlayParamsWithContext(ctx context.Context) *GetMountOverlayParams
- func NewGetMountOverlayParamsWithHTTPClient(client *http.Client) *GetMountOverlayParams
- func NewGetMountOverlayParamsWithTimeout(timeout time.Duration) *GetMountOverlayParams
- func (o *GetMountOverlayParams) SetContext(ctx context.Context)
- func (o *GetMountOverlayParams) SetHTTPClient(client *http.Client)
- func (o *GetMountOverlayParams) SetID(id int64)
- func (o *GetMountOverlayParams) SetTimeout(timeout time.Duration)
- func (o *GetMountOverlayParams) WithContext(ctx context.Context) *GetMountOverlayParams
- func (o *GetMountOverlayParams) WithHTTPClient(client *http.Client) *GetMountOverlayParams
- func (o *GetMountOverlayParams) WithID(id int64) *GetMountOverlayParams
- func (o *GetMountOverlayParams) WithTimeout(timeout time.Duration) *GetMountOverlayParams
- func (o *GetMountOverlayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMountOverlayReader
- type GetMountRbdDefault
- type GetMountRbdOK
- type GetMountRbdParams
- func (o *GetMountRbdParams) SetContext(ctx context.Context)
- func (o *GetMountRbdParams) SetHTTPClient(client *http.Client)
- func (o *GetMountRbdParams) SetID(id int64)
- func (o *GetMountRbdParams) SetTimeout(timeout time.Duration)
- func (o *GetMountRbdParams) WithContext(ctx context.Context) *GetMountRbdParams
- func (o *GetMountRbdParams) WithHTTPClient(client *http.Client) *GetMountRbdParams
- func (o *GetMountRbdParams) WithID(id int64) *GetMountRbdParams
- func (o *GetMountRbdParams) WithTimeout(timeout time.Duration) *GetMountRbdParams
- func (o *GetMountRbdParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMountRbdReader
- type ListMountsDefault
- type ListMountsOK
- type ListMountsOverlayDefault
- type ListMountsOverlayOK
- type ListMountsOverlayParams
- func NewListMountsOverlayParams() *ListMountsOverlayParams
- func NewListMountsOverlayParamsWithContext(ctx context.Context) *ListMountsOverlayParams
- func NewListMountsOverlayParamsWithHTTPClient(client *http.Client) *ListMountsOverlayParams
- func NewListMountsOverlayParamsWithTimeout(timeout time.Duration) *ListMountsOverlayParams
- func (o *ListMountsOverlayParams) SetContext(ctx context.Context)
- func (o *ListMountsOverlayParams) SetHTTPClient(client *http.Client)
- func (o *ListMountsOverlayParams) SetTimeout(timeout time.Duration)
- func (o *ListMountsOverlayParams) WithContext(ctx context.Context) *ListMountsOverlayParams
- func (o *ListMountsOverlayParams) WithHTTPClient(client *http.Client) *ListMountsOverlayParams
- func (o *ListMountsOverlayParams) WithTimeout(timeout time.Duration) *ListMountsOverlayParams
- func (o *ListMountsOverlayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListMountsOverlayReader
- type ListMountsParams
- func (o *ListMountsParams) SetContext(ctx context.Context)
- func (o *ListMountsParams) SetHTTPClient(client *http.Client)
- func (o *ListMountsParams) SetTimeout(timeout time.Duration)
- func (o *ListMountsParams) WithContext(ctx context.Context) *ListMountsParams
- func (o *ListMountsParams) WithHTTPClient(client *http.Client) *ListMountsParams
- func (o *ListMountsParams) WithTimeout(timeout time.Duration) *ListMountsParams
- func (o *ListMountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListMountsRbdDefault
- type ListMountsRbdOK
- type ListMountsRbdParams
- func (o *ListMountsRbdParams) SetContext(ctx context.Context)
- func (o *ListMountsRbdParams) SetHTTPClient(client *http.Client)
- func (o *ListMountsRbdParams) SetTimeout(timeout time.Duration)
- func (o *ListMountsRbdParams) WithContext(ctx context.Context) *ListMountsRbdParams
- func (o *ListMountsRbdParams) WithHTTPClient(client *http.Client) *ListMountsRbdParams
- func (o *ListMountsRbdParams) WithTimeout(timeout time.Duration) *ListMountsRbdParams
- func (o *ListMountsRbdParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListMountsRbdReader
- type ListMountsReader
- type MountCreated
- type MountDefault
- type MountOverlayCreated
- type MountOverlayDefault
- type MountOverlayParams
- func (o *MountOverlayParams) SetContext(ctx context.Context)
- func (o *MountOverlayParams) SetHTTPClient(client *http.Client)
- func (o *MountOverlayParams) SetMount(mount *models.MountOverlay)
- func (o *MountOverlayParams) SetTimeout(timeout time.Duration)
- func (o *MountOverlayParams) WithContext(ctx context.Context) *MountOverlayParams
- func (o *MountOverlayParams) WithHTTPClient(client *http.Client) *MountOverlayParams
- func (o *MountOverlayParams) WithMount(mount *models.MountOverlay) *MountOverlayParams
- func (o *MountOverlayParams) WithTimeout(timeout time.Duration) *MountOverlayParams
- func (o *MountOverlayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MountOverlayReader
- type MountParams
- func (o *MountParams) SetContext(ctx context.Context)
- func (o *MountParams) SetHTTPClient(client *http.Client)
- func (o *MountParams) SetMount(mount *models.Mount)
- func (o *MountParams) SetTimeout(timeout time.Duration)
- func (o *MountParams) WithContext(ctx context.Context) *MountParams
- func (o *MountParams) WithHTTPClient(client *http.Client) *MountParams
- func (o *MountParams) WithMount(mount *models.Mount) *MountParams
- func (o *MountParams) WithTimeout(timeout time.Duration) *MountParams
- func (o *MountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MountRbdCreated
- type MountRbdDefault
- type MountRbdParams
- func (o *MountRbdParams) SetContext(ctx context.Context)
- func (o *MountRbdParams) SetHTTPClient(client *http.Client)
- func (o *MountRbdParams) SetMount(mount *models.MountRbd)
- func (o *MountRbdParams) SetTimeout(timeout time.Duration)
- func (o *MountRbdParams) WithContext(ctx context.Context) *MountRbdParams
- func (o *MountRbdParams) WithHTTPClient(client *http.Client) *MountRbdParams
- func (o *MountRbdParams) WithMount(mount *models.MountRbd) *MountRbdParams
- func (o *MountRbdParams) WithTimeout(timeout time.Duration) *MountRbdParams
- func (o *MountRbdParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MountRbdReader
- type MountReader
- type UnmountOverlayDefault
- type UnmountOverlayOK
- type UnmountOverlayParams
- func NewUnmountOverlayParams() *UnmountOverlayParams
- func NewUnmountOverlayParamsWithContext(ctx context.Context) *UnmountOverlayParams
- func NewUnmountOverlayParamsWithHTTPClient(client *http.Client) *UnmountOverlayParams
- func NewUnmountOverlayParamsWithTimeout(timeout time.Duration) *UnmountOverlayParams
- func (o *UnmountOverlayParams) SetContext(ctx context.Context)
- func (o *UnmountOverlayParams) SetHTTPClient(client *http.Client)
- func (o *UnmountOverlayParams) SetID(id int64)
- func (o *UnmountOverlayParams) SetTimeout(timeout time.Duration)
- func (o *UnmountOverlayParams) WithContext(ctx context.Context) *UnmountOverlayParams
- func (o *UnmountOverlayParams) WithHTTPClient(client *http.Client) *UnmountOverlayParams
- func (o *UnmountOverlayParams) WithID(id int64) *UnmountOverlayParams
- func (o *UnmountOverlayParams) WithTimeout(timeout time.Duration) *UnmountOverlayParams
- func (o *UnmountOverlayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnmountOverlayReader
- type UnmountRbdDefault
- type UnmountRbdOK
- type UnmountRbdParams
- func (o *UnmountRbdParams) SetContext(ctx context.Context)
- func (o *UnmountRbdParams) SetHTTPClient(client *http.Client)
- func (o *UnmountRbdParams) SetID(id int64)
- func (o *UnmountRbdParams) SetTimeout(timeout time.Duration)
- func (o *UnmountRbdParams) WithContext(ctx context.Context) *UnmountRbdParams
- func (o *UnmountRbdParams) WithHTTPClient(client *http.Client) *UnmountRbdParams
- func (o *UnmountRbdParams) WithID(id int64) *UnmountRbdParams
- func (o *UnmountRbdParams) WithTimeout(timeout time.Duration) *UnmountRbdParams
- func (o *UnmountRbdParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnmountRbdReader
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 ¶
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 ¶
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 ¶
func (o *GetMountOverlayParams) WithContext(ctx context.Context) *GetMountOverlayParams
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 ¶
func (o *GetMountOverlayParams) WithID(id int64) *GetMountOverlayParams
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (o *ListMountsOverlayParams) WithContext(ctx context.Context) *ListMountsOverlayParams
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 ¶
func (o *ListMountsOverlayParams) WithTimeout(timeout time.Duration) *ListMountsOverlayParams
WithTimeout adds the timeout to the list mounts overlay params
func (*ListMountsOverlayParams) WriteToRequest ¶
func (o *ListMountsOverlayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *ListMountsRbdParams) WithContext(ctx context.Context) *ListMountsRbdParams
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 ¶
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 ¶
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 ¶
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 ¶
func (o *MountOverlayParams) WithContext(ctx context.Context) *MountOverlayParams
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 ¶
func (o *MountOverlayParams) WithMount(mount *models.MountOverlay) *MountOverlayParams
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 ¶
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 ¶
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 ¶
func (o *UnmountOverlayParams) WithContext(ctx context.Context) *UnmountOverlayParams
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 ¶
func (o *UnmountOverlayParams) WithID(id int64) *UnmountOverlayParams
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 ¶
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 ¶
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.
Source Files ¶
- delete_mount_parameters.go
- delete_mount_responses.go
- get_mount_overlay_parameters.go
- get_mount_overlay_responses.go
- get_mount_rbd_parameters.go
- get_mount_rbd_responses.go
- list_mounts_overlay_parameters.go
- list_mounts_overlay_responses.go
- list_mounts_parameters.go
- list_mounts_rbd_parameters.go
- list_mounts_rbd_responses.go
- list_mounts_responses.go
- mount_overlay_parameters.go
- mount_overlay_responses.go
- mount_parameters.go
- mount_rbd_parameters.go
- mount_rbd_responses.go
- mount_responses.go
- mounts_client.go
- unmount_overlay_parameters.go
- unmount_overlay_responses.go
- unmount_rbd_parameters.go
- unmount_rbd_responses.go