Versions in this module Expand all Collapse all v0 v0.1.2 Mar 19, 2021 v0.1.1 Mar 4, 2021 v0.1.0 Feb 26, 2021 Changes in this version + type Client struct + func (a *Client) GetRbd(params *GetRbdParams) (*GetRbdOK, error) + func (a *Client) ListRbds(params *ListRbdsParams) (*ListRbdsOK, error) + func (a *Client) MapRbd(params *MapRbdParams) (*MapRbdCreated, error) + func (a *Client) SetTransport(transport runtime.ClientTransport) + func (a *Client) UnmapRbd(params *UnmapRbdParams) (*UnmapRbdOK, error) + type ClientService interface + GetRbd func(params *GetRbdParams) (*GetRbdOK, error) + ListRbds func(params *ListRbdsParams) (*ListRbdsOK, error) + MapRbd func(params *MapRbdParams) (*MapRbdCreated, error) + SetTransport func(transport runtime.ClientTransport) + UnmapRbd func(params *UnmapRbdParams) (*UnmapRbdOK, error) + func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService + type GetRbdDefault struct + Payload *models.Error + func NewGetRbdDefault(code int) *GetRbdDefault + func (o *GetRbdDefault) Code() int + func (o *GetRbdDefault) Error() string + func (o *GetRbdDefault) GetPayload() *models.Error + type GetRbdOK struct + Payload *models.Rbd + func NewGetRbdOK() *GetRbdOK + func (o *GetRbdOK) Error() string + func (o *GetRbdOK) GetPayload() *models.Rbd + type GetRbdParams struct + Context context.Context + HTTPClient *http.Client + ID int64 + func NewGetRbdParams() *GetRbdParams + func NewGetRbdParamsWithContext(ctx context.Context) *GetRbdParams + func NewGetRbdParamsWithHTTPClient(client *http.Client) *GetRbdParams + func NewGetRbdParamsWithTimeout(timeout time.Duration) *GetRbdParams + func (o *GetRbdParams) SetContext(ctx context.Context) + func (o *GetRbdParams) SetHTTPClient(client *http.Client) + func (o *GetRbdParams) SetID(id int64) + func (o *GetRbdParams) SetTimeout(timeout time.Duration) + func (o *GetRbdParams) WithContext(ctx context.Context) *GetRbdParams + func (o *GetRbdParams) WithHTTPClient(client *http.Client) *GetRbdParams + func (o *GetRbdParams) WithID(id int64) *GetRbdParams + func (o *GetRbdParams) WithTimeout(timeout time.Duration) *GetRbdParams + func (o *GetRbdParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetRbdReader struct + func (o *GetRbdReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type ListRbdsDefault struct + Payload *models.Error + func NewListRbdsDefault(code int) *ListRbdsDefault + func (o *ListRbdsDefault) Code() int + func (o *ListRbdsDefault) Error() string + func (o *ListRbdsDefault) GetPayload() *models.Error + type ListRbdsOK struct + Payload []*models.Rbd + func NewListRbdsOK() *ListRbdsOK + func (o *ListRbdsOK) Error() string + func (o *ListRbdsOK) GetPayload() []*models.Rbd + type ListRbdsParams struct + Context context.Context + HTTPClient *http.Client + func NewListRbdsParams() *ListRbdsParams + func NewListRbdsParamsWithContext(ctx context.Context) *ListRbdsParams + func NewListRbdsParamsWithHTTPClient(client *http.Client) *ListRbdsParams + func NewListRbdsParamsWithTimeout(timeout time.Duration) *ListRbdsParams + func (o *ListRbdsParams) SetContext(ctx context.Context) + func (o *ListRbdsParams) SetHTTPClient(client *http.Client) + func (o *ListRbdsParams) SetTimeout(timeout time.Duration) + func (o *ListRbdsParams) WithContext(ctx context.Context) *ListRbdsParams + func (o *ListRbdsParams) WithHTTPClient(client *http.Client) *ListRbdsParams + func (o *ListRbdsParams) WithTimeout(timeout time.Duration) *ListRbdsParams + func (o *ListRbdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type ListRbdsReader struct + func (o *ListRbdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type MapRbdCreated struct + Payload *models.Rbd + func NewMapRbdCreated() *MapRbdCreated + func (o *MapRbdCreated) Error() string + func (o *MapRbdCreated) GetPayload() *models.Rbd + type MapRbdDefault struct + Payload *models.Error + func NewMapRbdDefault(code int) *MapRbdDefault + func (o *MapRbdDefault) Code() int + func (o *MapRbdDefault) Error() string + func (o *MapRbdDefault) GetPayload() *models.Error + type MapRbdParams struct + Context context.Context + HTTPClient *http.Client + Rbd *models.Rbd + func NewMapRbdParams() *MapRbdParams + func NewMapRbdParamsWithContext(ctx context.Context) *MapRbdParams + func NewMapRbdParamsWithHTTPClient(client *http.Client) *MapRbdParams + func NewMapRbdParamsWithTimeout(timeout time.Duration) *MapRbdParams + func (o *MapRbdParams) SetContext(ctx context.Context) + func (o *MapRbdParams) SetHTTPClient(client *http.Client) + func (o *MapRbdParams) SetRbd(rbd *models.Rbd) + func (o *MapRbdParams) SetTimeout(timeout time.Duration) + func (o *MapRbdParams) WithContext(ctx context.Context) *MapRbdParams + func (o *MapRbdParams) WithHTTPClient(client *http.Client) *MapRbdParams + func (o *MapRbdParams) WithRbd(rbd *models.Rbd) *MapRbdParams + func (o *MapRbdParams) WithTimeout(timeout time.Duration) *MapRbdParams + func (o *MapRbdParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type MapRbdReader struct + func (o *MapRbdReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type UnmapRbdDefault struct + Payload *models.Error + func NewUnmapRbdDefault(code int) *UnmapRbdDefault + func (o *UnmapRbdDefault) Code() int + func (o *UnmapRbdDefault) Error() string + func (o *UnmapRbdDefault) GetPayload() *models.Error + type UnmapRbdOK struct + Payload *models.Rbd + func NewUnmapRbdOK() *UnmapRbdOK + func (o *UnmapRbdOK) Error() string + func (o *UnmapRbdOK) GetPayload() *models.Rbd + type UnmapRbdParams struct + Context context.Context + HTTPClient *http.Client + ID int64 + func NewUnmapRbdParams() *UnmapRbdParams + func NewUnmapRbdParamsWithContext(ctx context.Context) *UnmapRbdParams + func NewUnmapRbdParamsWithHTTPClient(client *http.Client) *UnmapRbdParams + func NewUnmapRbdParamsWithTimeout(timeout time.Duration) *UnmapRbdParams + func (o *UnmapRbdParams) SetContext(ctx context.Context) + func (o *UnmapRbdParams) SetHTTPClient(client *http.Client) + func (o *UnmapRbdParams) SetID(id int64) + func (o *UnmapRbdParams) SetTimeout(timeout time.Duration) + func (o *UnmapRbdParams) WithContext(ctx context.Context) *UnmapRbdParams + func (o *UnmapRbdParams) WithHTTPClient(client *http.Client) *UnmapRbdParams + func (o *UnmapRbdParams) WithID(id int64) *UnmapRbdParams + func (o *UnmapRbdParams) WithTimeout(timeout time.Duration) *UnmapRbdParams + func (o *UnmapRbdParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type UnmapRbdReader struct + func (o *UnmapRbdReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)