Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateSnapshotFullCopy(params *CreateSnapshotFullCopyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSnapshotFullCopyAccepted, error)
- func (a *Client) CreateVolume(params *CreateVolumeParams, authInfo runtime.ClientAuthInfoWriter) (*CreateVolumeAccepted, error)
- func (a *Client) CreateVolumeFullCopy(params *CreateVolumeFullCopyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateVolumeFullCopyAccepted, error)
- func (a *Client) CreateVolumeSnapshot(params *CreateVolumeSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*CreateVolumeSnapshotAccepted, error)
- func (a *Client) DeleteSnapshot(params *DeleteSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSnapshotAccepted, error)
- func (a *Client) DeleteVolume(params *DeleteVolumeParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteVolumeAccepted, error)
- func (a *Client) ExpandVolume(params *ExpandVolumeParams, authInfo runtime.ClientAuthInfoWriter) (*ExpandVolumeAccepted, error)
- func (a *Client) ListSnapshots(params *ListSnapshotsParams, authInfo runtime.ClientAuthInfoWriter) (*ListSnapshotsOK, error)
- func (a *Client) ListVolumeExports(params *ListVolumeExportsParams, authInfo runtime.ClientAuthInfoWriter) (*ListVolumeExportsOK, error)
- func (a *Client) ListVolumeSearch(params *ListVolumeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ListVolumeSearchOK, error)
- func (a *Client) ListVolumeSnapshots(params *ListVolumeSnapshotsParams, authInfo runtime.ClientAuthInfoWriter) (*ListVolumeSnapshotsOK, error)
- func (a *Client) ListVolumes(params *ListVolumesParams, authInfo runtime.ClientAuthInfoWriter) (*ListVolumesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) ShowSnapshot(params *ShowSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*ShowSnapshotOK, error)
- func (a *Client) ShowVolume(params *ShowVolumeParams, authInfo runtime.ClientAuthInfoWriter) (*ShowVolumeOK, error)
- type CreateSnapshotFullCopyAccepted
- type CreateSnapshotFullCopyDefault
- type CreateSnapshotFullCopyParams
- func (o *CreateSnapshotFullCopyParams) WithBody(Body *models.CreateSnapshotFullCopy) *CreateSnapshotFullCopyParams
- func (o *CreateSnapshotFullCopyParams) WithID(ID string) *CreateSnapshotFullCopyParams
- func (o *CreateSnapshotFullCopyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSnapshotFullCopyReader
- type CreateVolumeAccepted
- type CreateVolumeDefault
- type CreateVolumeFullCopyAccepted
- type CreateVolumeFullCopyDefault
- type CreateVolumeFullCopyParams
- type CreateVolumeFullCopyReader
- type CreateVolumeParams
- type CreateVolumeReader
- type CreateVolumeSnapshotAccepted
- type CreateVolumeSnapshotDefault
- type CreateVolumeSnapshotParams
- type CreateVolumeSnapshotReader
- type DeleteSnapshotAccepted
- type DeleteSnapshotDefault
- type DeleteSnapshotParams
- type DeleteSnapshotReader
- type DeleteVolumeAccepted
- type DeleteVolumeDefault
- type DeleteVolumeParams
- type DeleteVolumeReader
- type ExpandVolumeAccepted
- type ExpandVolumeDefault
- type ExpandVolumeParams
- type ExpandVolumeReader
- type ListSnapshotsDefault
- type ListSnapshotsOK
- type ListSnapshotsParams
- type ListSnapshotsReader
- type ListVolumeExportsDefault
- type ListVolumeExportsOK
- type ListVolumeExportsParams
- type ListVolumeExportsReader
- type ListVolumeSearchDefault
- type ListVolumeSearchOK
- type ListVolumeSearchParams
- func (o *ListVolumeSearchParams) WithName(Name *string) *ListVolumeSearchParams
- func (o *ListVolumeSearchParams) WithProject(Project *string) *ListVolumeSearchParams
- func (o *ListVolumeSearchParams) WithTag(Tag *string) *ListVolumeSearchParams
- func (o *ListVolumeSearchParams) WithWwn(Wwn *string) *ListVolumeSearchParams
- func (o *ListVolumeSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListVolumeSearchReader
- type ListVolumeSnapshotsDefault
- type ListVolumeSnapshotsOK
- type ListVolumeSnapshotsParams
- type ListVolumeSnapshotsReader
- type ListVolumesDefault
- type ListVolumesOK
- type ListVolumesParams
- type ListVolumesReader
- type ShowSnapshotDefault
- type ShowSnapshotOK
- type ShowSnapshotParams
- type ShowSnapshotReader
- type ShowVolumeDefault
- type ShowVolumeOK
- type ShowVolumeParams
- type ShowVolumeReader
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 block API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new block API client.
func (*Client) CreateSnapshotFullCopy ¶
func (a *Client) CreateSnapshotFullCopy(params *CreateSnapshotFullCopyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateSnapshotFullCopyAccepted, error)
CreateSnapshotFullCopy creates full copy
Create a full copy as a volume of the specified snapshot.
func (*Client) CreateVolume ¶
func (a *Client) CreateVolume(params *CreateVolumeParams, authInfo runtime.ClientAuthInfoWriter) (*CreateVolumeAccepted, error)
CreateVolume creates volume
"The fundamental abstraction in the Block Store is a volume. A volume is a unit of block storage capacity that has been allocated by a consumer to a project. This API allows the user to create one or more volumes. The volumes are created in the same storage pool. NOTE=This is an asynchronous operation."
func (*Client) CreateVolumeFullCopy ¶
func (a *Client) CreateVolumeFullCopy(params *CreateVolumeFullCopyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateVolumeFullCopyAccepted, error)
CreateVolumeFullCopy creates full copy
Create a full copy of the specified volume.
func (*Client) CreateVolumeSnapshot ¶
func (a *Client) CreateVolumeSnapshot(params *CreateVolumeSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*CreateVolumeSnapshotAccepted, error)
CreateVolumeSnapshot creates volume snapshot
A snapshot is a point-in-time copy of a volume. Snapshots are intended for short-term operational recovery and are typically implemented using lightweight, fast capabilities native to the underlying storage platforms. Like a volume, a snapshot can be exported to initiators, and you can delete it. A snapshots lifetime is tied to the original volume. When the original volume is deleted all of its snapshots will also be deleted. A snapshot is associated with the same project as the original volume. A volume may be restored in place based on a snapshot. The snapshot must have come from the volume. A new volume may be created
using a snapshot as a template. See multi-volume consistent snapshots for a description of an advanced feature to snapshot multiple volumes at once. NOTE: This is an asynchronous operation.
func (*Client) DeleteSnapshot ¶
func (a *Client) DeleteSnapshot(params *DeleteSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSnapshotAccepted, error)
DeleteSnapshot deactivates snapshot
Deactivate volume snapshot, this will move the snapshot to a "marked-for-delete" state. It will be deleted by the garbage collector on a subsequent iteration If this snapshot was created from a volume that is part of a consistency group, then all the related snapshots will be deactivated, as well.
func (*Client) DeleteVolume ¶
func (a *Client) DeleteVolume(params *DeleteVolumeParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteVolumeAccepted, error)
DeleteVolume deletes volume
Deactivate a volume, this will move the volume to a "marked-for-delete" state after the deletion happens on the array side. The volume will be deleted from the database when all references to this volume of type BlockSnapshot and ExportGroup are deleted. If "?force=true" is added to the path, it will force the delete of internal volumes that have the SUPPORTS_FORCE flag. NOTE: This is an asynchronous operation.
func (*Client) ExpandVolume ¶
func (a *Client) ExpandVolume(params *ExpandVolumeParams, authInfo runtime.ClientAuthInfoWriter) (*ExpandVolumeAccepted, error)
ExpandVolume expands volume
"Request to expand volume capacity to the specified size. NOTE: This is an asynchronous operation."
func (*Client) ListSnapshots ¶
func (a *Client) ListSnapshots(params *ListSnapshotsParams, authInfo runtime.ClientAuthInfoWriter) (*ListSnapshotsOK, error)
ListSnapshots lists snapshots
Retrieve all ids of this type of resources.
func (*Client) ListVolumeExports ¶
func (a *Client) ListVolumeExports(params *ListVolumeExportsParams, authInfo runtime.ClientAuthInfoWriter) (*ListVolumeExportsOK, error)
ListVolumeExports lists volume exports
"Return all the export information related to this volume. This will be in the form of a list of initiator / target pairs for all the initiators that have been paired with a target storage port."
func (*Client) ListVolumeSearch ¶
func (a *Client) ListVolumeSearch(params *ListVolumeSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ListVolumeSearchOK, error)
ListVolumeSearch searches for item with name
Search resources by name, tag, project or additional parameters (for example, wwn or initiator_port etc.)
func (*Client) ListVolumeSnapshots ¶
func (a *Client) ListVolumeSnapshots(params *ListVolumeSnapshotsParams, authInfo runtime.ClientAuthInfoWriter) (*ListVolumeSnapshotsOK, error)
ListVolumeSnapshots lists volume snapshot
List volume snapshots
func (*Client) ListVolumes ¶
func (a *Client) ListVolumes(params *ListVolumesParams, authInfo runtime.ClientAuthInfoWriter) (*ListVolumesOK, error)
ListVolumes lists volumes
Retrieve all ids of this type of resources.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) ShowSnapshot ¶
func (a *Client) ShowSnapshot(params *ShowSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*ShowSnapshotOK, error)
ShowSnapshot shows snapshot
Show snapshot details.
func (*Client) ShowVolume ¶
func (a *Client) ShowVolume(params *ShowVolumeParams, authInfo runtime.ClientAuthInfoWriter) (*ShowVolumeOK, error)
ShowVolume shows volume
Show the details of a specific volume
type CreateSnapshotFullCopyAccepted ¶
CreateSnapshotFullCopyAccepted handles this case with default header values.
Task Object
func NewCreateSnapshotFullCopyAccepted ¶
func NewCreateSnapshotFullCopyAccepted() *CreateSnapshotFullCopyAccepted
NewCreateSnapshotFullCopyAccepted creates a CreateSnapshotFullCopyAccepted with default headers values
func (*CreateSnapshotFullCopyAccepted) Error ¶
func (o *CreateSnapshotFullCopyAccepted) Error() string
type CreateSnapshotFullCopyDefault ¶
type CreateSnapshotFullCopyDefault struct { Payload *models.Error // contains filtered or unexported fields }
CreateSnapshotFullCopyDefault handles this case with default header values.
Error Message
func NewCreateSnapshotFullCopyDefault ¶
func NewCreateSnapshotFullCopyDefault(code int) *CreateSnapshotFullCopyDefault
NewCreateSnapshotFullCopyDefault creates a CreateSnapshotFullCopyDefault with default headers values
func (*CreateSnapshotFullCopyDefault) Code ¶
func (o *CreateSnapshotFullCopyDefault) Code() int
Code gets the status code for the create snapshot full copy default response
func (*CreateSnapshotFullCopyDefault) Error ¶
func (o *CreateSnapshotFullCopyDefault) Error() string
type CreateSnapshotFullCopyParams ¶
type CreateSnapshotFullCopyParams struct { /*Body*/ Body *models.CreateSnapshotFullCopy /*ID The URN of a ViPR/CoprHD Task */ ID string // contains filtered or unexported fields }
CreateSnapshotFullCopyParams contains all the parameters to send to the API endpoint for the create snapshot full copy operation typically these are written to a http.Request
func NewCreateSnapshotFullCopyParams ¶
func NewCreateSnapshotFullCopyParams() *CreateSnapshotFullCopyParams
NewCreateSnapshotFullCopyParams creates a new CreateSnapshotFullCopyParams object with the default values initialized.
func NewCreateSnapshotFullCopyParamsWithTimeout ¶
func NewCreateSnapshotFullCopyParamsWithTimeout(timeout time.Duration) *CreateSnapshotFullCopyParams
NewCreateSnapshotFullCopyParamsWithTimeout creates a new CreateSnapshotFullCopyParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateSnapshotFullCopyParams) WithBody ¶
func (o *CreateSnapshotFullCopyParams) WithBody(Body *models.CreateSnapshotFullCopy) *CreateSnapshotFullCopyParams
WithBody adds the body to the create snapshot full copy params
func (*CreateSnapshotFullCopyParams) WithID ¶
func (o *CreateSnapshotFullCopyParams) WithID(ID string) *CreateSnapshotFullCopyParams
WithID adds the id to the create snapshot full copy params
func (*CreateSnapshotFullCopyParams) WriteToRequest ¶
func (o *CreateSnapshotFullCopyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSnapshotFullCopyReader ¶
type CreateSnapshotFullCopyReader struct {
// contains filtered or unexported fields
}
CreateSnapshotFullCopyReader is a Reader for the CreateSnapshotFullCopy structure.
func (*CreateSnapshotFullCopyReader) ReadResponse ¶
func (o *CreateSnapshotFullCopyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type CreateVolumeAccepted ¶
CreateVolumeAccepted handles this case with default header values.
Task Object
func NewCreateVolumeAccepted ¶
func NewCreateVolumeAccepted() *CreateVolumeAccepted
NewCreateVolumeAccepted creates a CreateVolumeAccepted with default headers values
func (*CreateVolumeAccepted) Error ¶
func (o *CreateVolumeAccepted) Error() string
type CreateVolumeDefault ¶
CreateVolumeDefault handles this case with default header values.
Error Message
func NewCreateVolumeDefault ¶
func NewCreateVolumeDefault(code int) *CreateVolumeDefault
NewCreateVolumeDefault creates a CreateVolumeDefault with default headers values
func (*CreateVolumeDefault) Code ¶
func (o *CreateVolumeDefault) Code() int
Code gets the status code for the create volume default response
func (*CreateVolumeDefault) Error ¶
func (o *CreateVolumeDefault) Error() string
type CreateVolumeFullCopyAccepted ¶
CreateVolumeFullCopyAccepted handles this case with default header values.
Task Object
func NewCreateVolumeFullCopyAccepted ¶
func NewCreateVolumeFullCopyAccepted() *CreateVolumeFullCopyAccepted
NewCreateVolumeFullCopyAccepted creates a CreateVolumeFullCopyAccepted with default headers values
func (*CreateVolumeFullCopyAccepted) Error ¶
func (o *CreateVolumeFullCopyAccepted) Error() string
type CreateVolumeFullCopyDefault ¶
type CreateVolumeFullCopyDefault struct { Payload *models.Error // contains filtered or unexported fields }
CreateVolumeFullCopyDefault handles this case with default header values.
Error Message
func NewCreateVolumeFullCopyDefault ¶
func NewCreateVolumeFullCopyDefault(code int) *CreateVolumeFullCopyDefault
NewCreateVolumeFullCopyDefault creates a CreateVolumeFullCopyDefault with default headers values
func (*CreateVolumeFullCopyDefault) Code ¶
func (o *CreateVolumeFullCopyDefault) Code() int
Code gets the status code for the create volume full copy default response
func (*CreateVolumeFullCopyDefault) Error ¶
func (o *CreateVolumeFullCopyDefault) Error() string
type CreateVolumeFullCopyParams ¶
type CreateVolumeFullCopyParams struct { /*Body*/ Body *models.CreateVolumeFullCopy /*ID The URN of a ViPR/CoprHD Task */ ID string // contains filtered or unexported fields }
CreateVolumeFullCopyParams contains all the parameters to send to the API endpoint for the create volume full copy operation typically these are written to a http.Request
func NewCreateVolumeFullCopyParams ¶
func NewCreateVolumeFullCopyParams() *CreateVolumeFullCopyParams
NewCreateVolumeFullCopyParams creates a new CreateVolumeFullCopyParams object with the default values initialized.
func NewCreateVolumeFullCopyParamsWithTimeout ¶
func NewCreateVolumeFullCopyParamsWithTimeout(timeout time.Duration) *CreateVolumeFullCopyParams
NewCreateVolumeFullCopyParamsWithTimeout creates a new CreateVolumeFullCopyParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateVolumeFullCopyParams) WithBody ¶
func (o *CreateVolumeFullCopyParams) WithBody(Body *models.CreateVolumeFullCopy) *CreateVolumeFullCopyParams
WithBody adds the body to the create volume full copy params
func (*CreateVolumeFullCopyParams) WithID ¶
func (o *CreateVolumeFullCopyParams) WithID(ID string) *CreateVolumeFullCopyParams
WithID adds the id to the create volume full copy params
func (*CreateVolumeFullCopyParams) WriteToRequest ¶
func (o *CreateVolumeFullCopyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateVolumeFullCopyReader ¶
type CreateVolumeFullCopyReader struct {
// contains filtered or unexported fields
}
CreateVolumeFullCopyReader is a Reader for the CreateVolumeFullCopy structure.
func (*CreateVolumeFullCopyReader) ReadResponse ¶
func (o *CreateVolumeFullCopyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type CreateVolumeParams ¶
type CreateVolumeParams struct { /*Body*/ Body *models.CreateVolume // contains filtered or unexported fields }
CreateVolumeParams contains all the parameters to send to the API endpoint for the create volume operation typically these are written to a http.Request
func NewCreateVolumeParams ¶
func NewCreateVolumeParams() *CreateVolumeParams
NewCreateVolumeParams creates a new CreateVolumeParams object with the default values initialized.
func NewCreateVolumeParamsWithTimeout ¶
func NewCreateVolumeParamsWithTimeout(timeout time.Duration) *CreateVolumeParams
NewCreateVolumeParamsWithTimeout creates a new CreateVolumeParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateVolumeParams) WithBody ¶
func (o *CreateVolumeParams) WithBody(Body *models.CreateVolume) *CreateVolumeParams
WithBody adds the body to the create volume params
func (*CreateVolumeParams) WriteToRequest ¶
func (o *CreateVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateVolumeReader ¶
type CreateVolumeReader struct {
// contains filtered or unexported fields
}
CreateVolumeReader is a Reader for the CreateVolume structure.
func (*CreateVolumeReader) ReadResponse ¶
func (o *CreateVolumeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type CreateVolumeSnapshotAccepted ¶
CreateVolumeSnapshotAccepted handles this case with default header values.
Task Object
func NewCreateVolumeSnapshotAccepted ¶
func NewCreateVolumeSnapshotAccepted() *CreateVolumeSnapshotAccepted
NewCreateVolumeSnapshotAccepted creates a CreateVolumeSnapshotAccepted with default headers values
func (*CreateVolumeSnapshotAccepted) Error ¶
func (o *CreateVolumeSnapshotAccepted) Error() string
type CreateVolumeSnapshotDefault ¶
type CreateVolumeSnapshotDefault struct { Payload *models.Error // contains filtered or unexported fields }
CreateVolumeSnapshotDefault handles this case with default header values.
Error Message
func NewCreateVolumeSnapshotDefault ¶
func NewCreateVolumeSnapshotDefault(code int) *CreateVolumeSnapshotDefault
NewCreateVolumeSnapshotDefault creates a CreateVolumeSnapshotDefault with default headers values
func (*CreateVolumeSnapshotDefault) Code ¶
func (o *CreateVolumeSnapshotDefault) Code() int
Code gets the status code for the create volume snapshot default response
func (*CreateVolumeSnapshotDefault) Error ¶
func (o *CreateVolumeSnapshotDefault) Error() string
type CreateVolumeSnapshotParams ¶
type CreateVolumeSnapshotParams struct { /*Body*/ Body *models.CreateVolumeSnapshot /*ID The URN of a ViPR/CoprHD Volume */ ID string // contains filtered or unexported fields }
CreateVolumeSnapshotParams contains all the parameters to send to the API endpoint for the create volume snapshot operation typically these are written to a http.Request
func NewCreateVolumeSnapshotParams ¶
func NewCreateVolumeSnapshotParams() *CreateVolumeSnapshotParams
NewCreateVolumeSnapshotParams creates a new CreateVolumeSnapshotParams object with the default values initialized.
func NewCreateVolumeSnapshotParamsWithTimeout ¶
func NewCreateVolumeSnapshotParamsWithTimeout(timeout time.Duration) *CreateVolumeSnapshotParams
NewCreateVolumeSnapshotParamsWithTimeout creates a new CreateVolumeSnapshotParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateVolumeSnapshotParams) WithBody ¶
func (o *CreateVolumeSnapshotParams) WithBody(Body *models.CreateVolumeSnapshot) *CreateVolumeSnapshotParams
WithBody adds the body to the create volume snapshot params
func (*CreateVolumeSnapshotParams) WithID ¶
func (o *CreateVolumeSnapshotParams) WithID(ID string) *CreateVolumeSnapshotParams
WithID adds the id to the create volume snapshot params
func (*CreateVolumeSnapshotParams) WriteToRequest ¶
func (o *CreateVolumeSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateVolumeSnapshotReader ¶
type CreateVolumeSnapshotReader struct {
// contains filtered or unexported fields
}
CreateVolumeSnapshotReader is a Reader for the CreateVolumeSnapshot structure.
func (*CreateVolumeSnapshotReader) ReadResponse ¶
func (o *CreateVolumeSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type DeleteSnapshotAccepted ¶
DeleteSnapshotAccepted handles this case with default header values.
Task Object
func NewDeleteSnapshotAccepted ¶
func NewDeleteSnapshotAccepted() *DeleteSnapshotAccepted
NewDeleteSnapshotAccepted creates a DeleteSnapshotAccepted with default headers values
func (*DeleteSnapshotAccepted) Error ¶
func (o *DeleteSnapshotAccepted) Error() string
type DeleteSnapshotDefault ¶
type DeleteSnapshotDefault struct { Payload *models.Error // contains filtered or unexported fields }
DeleteSnapshotDefault handles this case with default header values.
Error Message
func NewDeleteSnapshotDefault ¶
func NewDeleteSnapshotDefault(code int) *DeleteSnapshotDefault
NewDeleteSnapshotDefault creates a DeleteSnapshotDefault with default headers values
func (*DeleteSnapshotDefault) Code ¶
func (o *DeleteSnapshotDefault) Code() int
Code gets the status code for the delete snapshot default response
func (*DeleteSnapshotDefault) Error ¶
func (o *DeleteSnapshotDefault) Error() string
type DeleteSnapshotParams ¶
type DeleteSnapshotParams struct { /*ID The URN of a ViPR/CoprHD Snapshot */ ID string // contains filtered or unexported fields }
DeleteSnapshotParams contains all the parameters to send to the API endpoint for the delete snapshot operation typically these are written to a http.Request
func NewDeleteSnapshotParams ¶
func NewDeleteSnapshotParams() *DeleteSnapshotParams
NewDeleteSnapshotParams creates a new DeleteSnapshotParams object with the default values initialized.
func NewDeleteSnapshotParamsWithTimeout ¶
func NewDeleteSnapshotParamsWithTimeout(timeout time.Duration) *DeleteSnapshotParams
NewDeleteSnapshotParamsWithTimeout creates a new DeleteSnapshotParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteSnapshotParams) WithID ¶
func (o *DeleteSnapshotParams) WithID(ID string) *DeleteSnapshotParams
WithID adds the id to the delete snapshot params
func (*DeleteSnapshotParams) WriteToRequest ¶
func (o *DeleteSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSnapshotReader ¶
type DeleteSnapshotReader struct {
// contains filtered or unexported fields
}
DeleteSnapshotReader is a Reader for the DeleteSnapshot structure.
func (*DeleteSnapshotReader) ReadResponse ¶
func (o *DeleteSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type DeleteVolumeAccepted ¶
DeleteVolumeAccepted handles this case with default header values.
Task Object
func NewDeleteVolumeAccepted ¶
func NewDeleteVolumeAccepted() *DeleteVolumeAccepted
NewDeleteVolumeAccepted creates a DeleteVolumeAccepted with default headers values
func (*DeleteVolumeAccepted) Error ¶
func (o *DeleteVolumeAccepted) Error() string
type DeleteVolumeDefault ¶
DeleteVolumeDefault handles this case with default header values.
Error Message
func NewDeleteVolumeDefault ¶
func NewDeleteVolumeDefault(code int) *DeleteVolumeDefault
NewDeleteVolumeDefault creates a DeleteVolumeDefault with default headers values
func (*DeleteVolumeDefault) Code ¶
func (o *DeleteVolumeDefault) Code() int
Code gets the status code for the delete volume default response
func (*DeleteVolumeDefault) Error ¶
func (o *DeleteVolumeDefault) Error() string
type DeleteVolumeParams ¶
type DeleteVolumeParams struct { /*ID The URN of a ViPR/CoprHD Volume */ ID string // contains filtered or unexported fields }
DeleteVolumeParams contains all the parameters to send to the API endpoint for the delete volume operation typically these are written to a http.Request
func NewDeleteVolumeParams ¶
func NewDeleteVolumeParams() *DeleteVolumeParams
NewDeleteVolumeParams creates a new DeleteVolumeParams object with the default values initialized.
func NewDeleteVolumeParamsWithTimeout ¶
func NewDeleteVolumeParamsWithTimeout(timeout time.Duration) *DeleteVolumeParams
NewDeleteVolumeParamsWithTimeout creates a new DeleteVolumeParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteVolumeParams) WithID ¶
func (o *DeleteVolumeParams) WithID(ID string) *DeleteVolumeParams
WithID adds the id to the delete volume params
func (*DeleteVolumeParams) WriteToRequest ¶
func (o *DeleteVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteVolumeReader ¶
type DeleteVolumeReader struct {
// contains filtered or unexported fields
}
DeleteVolumeReader is a Reader for the DeleteVolume structure.
func (*DeleteVolumeReader) ReadResponse ¶
func (o *DeleteVolumeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type ExpandVolumeAccepted ¶
ExpandVolumeAccepted handles this case with default header values.
Task Object
func NewExpandVolumeAccepted ¶
func NewExpandVolumeAccepted() *ExpandVolumeAccepted
NewExpandVolumeAccepted creates a ExpandVolumeAccepted with default headers values
func (*ExpandVolumeAccepted) Error ¶
func (o *ExpandVolumeAccepted) Error() string
type ExpandVolumeDefault ¶
ExpandVolumeDefault handles this case with default header values.
Error Message
func NewExpandVolumeDefault ¶
func NewExpandVolumeDefault(code int) *ExpandVolumeDefault
NewExpandVolumeDefault creates a ExpandVolumeDefault with default headers values
func (*ExpandVolumeDefault) Code ¶
func (o *ExpandVolumeDefault) Code() int
Code gets the status code for the expand volume default response
func (*ExpandVolumeDefault) Error ¶
func (o *ExpandVolumeDefault) Error() string
type ExpandVolumeParams ¶
type ExpandVolumeParams struct { /*Body*/ Body *models.ExpandVolume /*ID The URN of a ViPR/CoprHD Volume */ ID string // contains filtered or unexported fields }
ExpandVolumeParams contains all the parameters to send to the API endpoint for the expand volume operation typically these are written to a http.Request
func NewExpandVolumeParams ¶
func NewExpandVolumeParams() *ExpandVolumeParams
NewExpandVolumeParams creates a new ExpandVolumeParams object with the default values initialized.
func NewExpandVolumeParamsWithTimeout ¶
func NewExpandVolumeParamsWithTimeout(timeout time.Duration) *ExpandVolumeParams
NewExpandVolumeParamsWithTimeout creates a new ExpandVolumeParams object with the default values initialized, and the ability to set a timeout on a request
func (*ExpandVolumeParams) WithBody ¶
func (o *ExpandVolumeParams) WithBody(Body *models.ExpandVolume) *ExpandVolumeParams
WithBody adds the body to the expand volume params
func (*ExpandVolumeParams) WithID ¶
func (o *ExpandVolumeParams) WithID(ID string) *ExpandVolumeParams
WithID adds the id to the expand volume params
func (*ExpandVolumeParams) WriteToRequest ¶
func (o *ExpandVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExpandVolumeReader ¶
type ExpandVolumeReader struct {
// contains filtered or unexported fields
}
ExpandVolumeReader is a Reader for the ExpandVolume structure.
func (*ExpandVolumeReader) ReadResponse ¶
func (o *ExpandVolumeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type ListSnapshotsDefault ¶
type ListSnapshotsDefault struct { Payload *models.Error // contains filtered or unexported fields }
ListSnapshotsDefault handles this case with default header values.
Error Message
func NewListSnapshotsDefault ¶
func NewListSnapshotsDefault(code int) *ListSnapshotsDefault
NewListSnapshotsDefault creates a ListSnapshotsDefault with default headers values
func (*ListSnapshotsDefault) Code ¶
func (o *ListSnapshotsDefault) Code() int
Code gets the status code for the list snapshots default response
func (*ListSnapshotsDefault) Error ¶
func (o *ListSnapshotsDefault) Error() string
type ListSnapshotsOK ¶
ListSnapshotsOK handles this case with default header values.
Snapshots List
func NewListSnapshotsOK ¶
func NewListSnapshotsOK() *ListSnapshotsOK
NewListSnapshotsOK creates a ListSnapshotsOK with default headers values
func (*ListSnapshotsOK) Error ¶
func (o *ListSnapshotsOK) Error() string
type ListSnapshotsParams ¶
type ListSnapshotsParams struct {
// contains filtered or unexported fields
}
ListSnapshotsParams contains all the parameters to send to the API endpoint for the list snapshots operation typically these are written to a http.Request
func NewListSnapshotsParams ¶
func NewListSnapshotsParams() *ListSnapshotsParams
NewListSnapshotsParams creates a new ListSnapshotsParams object with the default values initialized.
func NewListSnapshotsParamsWithTimeout ¶
func NewListSnapshotsParamsWithTimeout(timeout time.Duration) *ListSnapshotsParams
NewListSnapshotsParamsWithTimeout creates a new ListSnapshotsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListSnapshotsParams) WriteToRequest ¶
func (o *ListSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListSnapshotsReader ¶
type ListSnapshotsReader struct {
// contains filtered or unexported fields
}
ListSnapshotsReader is a Reader for the ListSnapshots structure.
func (*ListSnapshotsReader) ReadResponse ¶
func (o *ListSnapshotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type ListVolumeExportsDefault ¶
type ListVolumeExportsDefault struct { Payload *models.Error // contains filtered or unexported fields }
ListVolumeExportsDefault handles this case with default header values.
Error Message
func NewListVolumeExportsDefault ¶
func NewListVolumeExportsDefault(code int) *ListVolumeExportsDefault
NewListVolumeExportsDefault creates a ListVolumeExportsDefault with default headers values
func (*ListVolumeExportsDefault) Code ¶
func (o *ListVolumeExportsDefault) Code() int
Code gets the status code for the list volume exports default response
func (*ListVolumeExportsDefault) Error ¶
func (o *ListVolumeExportsDefault) Error() string
type ListVolumeExportsOK ¶
type ListVolumeExportsOK struct {
Payload *models.VolumeExports
}
ListVolumeExportsOK handles this case with default header values.
Volume Exports
func NewListVolumeExportsOK ¶
func NewListVolumeExportsOK() *ListVolumeExportsOK
NewListVolumeExportsOK creates a ListVolumeExportsOK with default headers values
func (*ListVolumeExportsOK) Error ¶
func (o *ListVolumeExportsOK) Error() string
type ListVolumeExportsParams ¶
type ListVolumeExportsParams struct { /*ID The URN of a ViPR/CoprHD Volume */ ID string // contains filtered or unexported fields }
ListVolumeExportsParams contains all the parameters to send to the API endpoint for the list volume exports operation typically these are written to a http.Request
func NewListVolumeExportsParams ¶
func NewListVolumeExportsParams() *ListVolumeExportsParams
NewListVolumeExportsParams creates a new ListVolumeExportsParams object with the default values initialized.
func NewListVolumeExportsParamsWithTimeout ¶
func NewListVolumeExportsParamsWithTimeout(timeout time.Duration) *ListVolumeExportsParams
NewListVolumeExportsParamsWithTimeout creates a new ListVolumeExportsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListVolumeExportsParams) WithID ¶
func (o *ListVolumeExportsParams) WithID(ID string) *ListVolumeExportsParams
WithID adds the id to the list volume exports params
func (*ListVolumeExportsParams) WriteToRequest ¶
func (o *ListVolumeExportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListVolumeExportsReader ¶
type ListVolumeExportsReader struct {
// contains filtered or unexported fields
}
ListVolumeExportsReader is a Reader for the ListVolumeExports structure.
func (*ListVolumeExportsReader) ReadResponse ¶
func (o *ListVolumeExportsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type ListVolumeSearchDefault ¶
type ListVolumeSearchDefault struct { Payload *models.Error // contains filtered or unexported fields }
ListVolumeSearchDefault handles this case with default header values.
Error Message
func NewListVolumeSearchDefault ¶
func NewListVolumeSearchDefault(code int) *ListVolumeSearchDefault
NewListVolumeSearchDefault creates a ListVolumeSearchDefault with default headers values
func (*ListVolumeSearchDefault) Code ¶
func (o *ListVolumeSearchDefault) Code() int
Code gets the status code for the list volume search default response
func (*ListVolumeSearchDefault) Error ¶
func (o *ListVolumeSearchDefault) Error() string
type ListVolumeSearchOK ¶
type ListVolumeSearchOK struct {
Payload *models.SearchResources
}
ListVolumeSearchOK handles this case with default header values.
Search Resources Object
func NewListVolumeSearchOK ¶
func NewListVolumeSearchOK() *ListVolumeSearchOK
NewListVolumeSearchOK creates a ListVolumeSearchOK with default headers values
func (*ListVolumeSearchOK) Error ¶
func (o *ListVolumeSearchOK) Error() string
type ListVolumeSearchParams ¶
type ListVolumeSearchParams struct { /*Name Name to match */ Name *string /*Project Project URN to match */ Project *string /*Tag Tag to match */ Tag *string /*Wwn wwn to match */ Wwn *string // contains filtered or unexported fields }
ListVolumeSearchParams contains all the parameters to send to the API endpoint for the list volume search operation typically these are written to a http.Request
func NewListVolumeSearchParams ¶
func NewListVolumeSearchParams() *ListVolumeSearchParams
NewListVolumeSearchParams creates a new ListVolumeSearchParams object with the default values initialized.
func NewListVolumeSearchParamsWithTimeout ¶
func NewListVolumeSearchParamsWithTimeout(timeout time.Duration) *ListVolumeSearchParams
NewListVolumeSearchParamsWithTimeout creates a new ListVolumeSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListVolumeSearchParams) WithName ¶
func (o *ListVolumeSearchParams) WithName(Name *string) *ListVolumeSearchParams
WithName adds the name to the list volume search params
func (*ListVolumeSearchParams) WithProject ¶
func (o *ListVolumeSearchParams) WithProject(Project *string) *ListVolumeSearchParams
WithProject adds the project to the list volume search params
func (*ListVolumeSearchParams) WithTag ¶
func (o *ListVolumeSearchParams) WithTag(Tag *string) *ListVolumeSearchParams
WithTag adds the tag to the list volume search params
func (*ListVolumeSearchParams) WithWwn ¶
func (o *ListVolumeSearchParams) WithWwn(Wwn *string) *ListVolumeSearchParams
WithWwn adds the wwn to the list volume search params
func (*ListVolumeSearchParams) WriteToRequest ¶
func (o *ListVolumeSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListVolumeSearchReader ¶
type ListVolumeSearchReader struct {
// contains filtered or unexported fields
}
ListVolumeSearchReader is a Reader for the ListVolumeSearch structure.
func (*ListVolumeSearchReader) ReadResponse ¶
func (o *ListVolumeSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type ListVolumeSnapshotsDefault ¶
type ListVolumeSnapshotsDefault struct { Payload *models.Error // contains filtered or unexported fields }
ListVolumeSnapshotsDefault handles this case with default header values.
Error Message
func NewListVolumeSnapshotsDefault ¶
func NewListVolumeSnapshotsDefault(code int) *ListVolumeSnapshotsDefault
NewListVolumeSnapshotsDefault creates a ListVolumeSnapshotsDefault with default headers values
func (*ListVolumeSnapshotsDefault) Code ¶
func (o *ListVolumeSnapshotsDefault) Code() int
Code gets the status code for the list volume snapshots default response
func (*ListVolumeSnapshotsDefault) Error ¶
func (o *ListVolumeSnapshotsDefault) Error() string
type ListVolumeSnapshotsOK ¶
type ListVolumeSnapshotsOK struct {
Payload *models.VolumeSnapshots
}
ListVolumeSnapshotsOK handles this case with default header values.
List Volume Snapshot
func NewListVolumeSnapshotsOK ¶
func NewListVolumeSnapshotsOK() *ListVolumeSnapshotsOK
NewListVolumeSnapshotsOK creates a ListVolumeSnapshotsOK with default headers values
func (*ListVolumeSnapshotsOK) Error ¶
func (o *ListVolumeSnapshotsOK) Error() string
type ListVolumeSnapshotsParams ¶
type ListVolumeSnapshotsParams struct { /*ID The URN of a ViPR/CoprHD Volume */ ID string // contains filtered or unexported fields }
ListVolumeSnapshotsParams contains all the parameters to send to the API endpoint for the list volume snapshots operation typically these are written to a http.Request
func NewListVolumeSnapshotsParams ¶
func NewListVolumeSnapshotsParams() *ListVolumeSnapshotsParams
NewListVolumeSnapshotsParams creates a new ListVolumeSnapshotsParams object with the default values initialized.
func NewListVolumeSnapshotsParamsWithTimeout ¶
func NewListVolumeSnapshotsParamsWithTimeout(timeout time.Duration) *ListVolumeSnapshotsParams
NewListVolumeSnapshotsParamsWithTimeout creates a new ListVolumeSnapshotsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListVolumeSnapshotsParams) WithID ¶
func (o *ListVolumeSnapshotsParams) WithID(ID string) *ListVolumeSnapshotsParams
WithID adds the id to the list volume snapshots params
func (*ListVolumeSnapshotsParams) WriteToRequest ¶
func (o *ListVolumeSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListVolumeSnapshotsReader ¶
type ListVolumeSnapshotsReader struct {
// contains filtered or unexported fields
}
ListVolumeSnapshotsReader is a Reader for the ListVolumeSnapshots structure.
func (*ListVolumeSnapshotsReader) ReadResponse ¶
func (o *ListVolumeSnapshotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type ListVolumesDefault ¶
ListVolumesDefault handles this case with default header values.
Error Message
func NewListVolumesDefault ¶
func NewListVolumesDefault(code int) *ListVolumesDefault
NewListVolumesDefault creates a ListVolumesDefault with default headers values
func (*ListVolumesDefault) Code ¶
func (o *ListVolumesDefault) Code() int
Code gets the status code for the list volumes default response
func (*ListVolumesDefault) Error ¶
func (o *ListVolumesDefault) Error() string
type ListVolumesOK ¶
ListVolumesOK handles this case with default header values.
List of Volumes Ids
func NewListVolumesOK ¶
func NewListVolumesOK() *ListVolumesOK
NewListVolumesOK creates a ListVolumesOK with default headers values
func (*ListVolumesOK) Error ¶
func (o *ListVolumesOK) Error() string
type ListVolumesParams ¶
type ListVolumesParams struct {
// contains filtered or unexported fields
}
ListVolumesParams contains all the parameters to send to the API endpoint for the list volumes operation typically these are written to a http.Request
func NewListVolumesParams ¶
func NewListVolumesParams() *ListVolumesParams
NewListVolumesParams creates a new ListVolumesParams object with the default values initialized.
func NewListVolumesParamsWithTimeout ¶
func NewListVolumesParamsWithTimeout(timeout time.Duration) *ListVolumesParams
NewListVolumesParamsWithTimeout creates a new ListVolumesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListVolumesParams) WriteToRequest ¶
func (o *ListVolumesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListVolumesReader ¶
type ListVolumesReader struct {
// contains filtered or unexported fields
}
ListVolumesReader is a Reader for the ListVolumes structure.
func (*ListVolumesReader) ReadResponse ¶
func (o *ListVolumesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type ShowSnapshotDefault ¶
ShowSnapshotDefault handles this case with default header values.
Error Message
func NewShowSnapshotDefault ¶
func NewShowSnapshotDefault(code int) *ShowSnapshotDefault
NewShowSnapshotDefault creates a ShowSnapshotDefault with default headers values
func (*ShowSnapshotDefault) Code ¶
func (o *ShowSnapshotDefault) Code() int
Code gets the status code for the show snapshot default response
func (*ShowSnapshotDefault) Error ¶
func (o *ShowSnapshotDefault) Error() string
type ShowSnapshotOK ¶
ShowSnapshotOK handles this case with default header values.
Snapshots Details
func NewShowSnapshotOK ¶
func NewShowSnapshotOK() *ShowSnapshotOK
NewShowSnapshotOK creates a ShowSnapshotOK with default headers values
func (*ShowSnapshotOK) Error ¶
func (o *ShowSnapshotOK) Error() string
type ShowSnapshotParams ¶
type ShowSnapshotParams struct { /*ID The URN of a ViPR/CoprHD Snapshot */ ID string // contains filtered or unexported fields }
ShowSnapshotParams contains all the parameters to send to the API endpoint for the show snapshot operation typically these are written to a http.Request
func NewShowSnapshotParams ¶
func NewShowSnapshotParams() *ShowSnapshotParams
NewShowSnapshotParams creates a new ShowSnapshotParams object with the default values initialized.
func NewShowSnapshotParamsWithTimeout ¶
func NewShowSnapshotParamsWithTimeout(timeout time.Duration) *ShowSnapshotParams
NewShowSnapshotParamsWithTimeout creates a new ShowSnapshotParams object with the default values initialized, and the ability to set a timeout on a request
func (*ShowSnapshotParams) WithID ¶
func (o *ShowSnapshotParams) WithID(ID string) *ShowSnapshotParams
WithID adds the id to the show snapshot params
func (*ShowSnapshotParams) WriteToRequest ¶
func (o *ShowSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShowSnapshotReader ¶
type ShowSnapshotReader struct {
// contains filtered or unexported fields
}
ShowSnapshotReader is a Reader for the ShowSnapshot structure.
func (*ShowSnapshotReader) ReadResponse ¶
func (o *ShowSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type ShowVolumeDefault ¶
ShowVolumeDefault handles this case with default header values.
Error Message
func NewShowVolumeDefault ¶
func NewShowVolumeDefault(code int) *ShowVolumeDefault
NewShowVolumeDefault creates a ShowVolumeDefault with default headers values
func (*ShowVolumeDefault) Code ¶
func (o *ShowVolumeDefault) Code() int
Code gets the status code for the show volume default response
func (*ShowVolumeDefault) Error ¶
func (o *ShowVolumeDefault) Error() string
type ShowVolumeOK ¶
ShowVolumeOK handles this case with default header values.
Volumes Details
func NewShowVolumeOK ¶
func NewShowVolumeOK() *ShowVolumeOK
NewShowVolumeOK creates a ShowVolumeOK with default headers values
func (*ShowVolumeOK) Error ¶
func (o *ShowVolumeOK) Error() string
type ShowVolumeParams ¶
type ShowVolumeParams struct { /*ID The URN of a ViPR/CoprHD Volume */ ID string // contains filtered or unexported fields }
ShowVolumeParams contains all the parameters to send to the API endpoint for the show volume operation typically these are written to a http.Request
func NewShowVolumeParams ¶
func NewShowVolumeParams() *ShowVolumeParams
NewShowVolumeParams creates a new ShowVolumeParams object with the default values initialized.
func NewShowVolumeParamsWithTimeout ¶
func NewShowVolumeParamsWithTimeout(timeout time.Duration) *ShowVolumeParams
NewShowVolumeParamsWithTimeout creates a new ShowVolumeParams object with the default values initialized, and the ability to set a timeout on a request
func (*ShowVolumeParams) WithID ¶
func (o *ShowVolumeParams) WithID(ID string) *ShowVolumeParams
WithID adds the id to the show volume params
func (*ShowVolumeParams) WriteToRequest ¶
func (o *ShowVolumeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShowVolumeReader ¶
type ShowVolumeReader struct {
// contains filtered or unexported fields
}
ShowVolumeReader is a Reader for the ShowVolume structure.
func (*ShowVolumeReader) ReadResponse ¶
func (o *ShowVolumeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
Source Files
¶
- block_client.go
- create_snapshot_full_copy_parameters.go
- create_snapshot_full_copy_responses.go
- create_volume_full_copy_parameters.go
- create_volume_full_copy_responses.go
- create_volume_parameters.go
- create_volume_responses.go
- create_volume_snapshot_parameters.go
- create_volume_snapshot_responses.go
- delete_snapshot_parameters.go
- delete_snapshot_responses.go
- delete_volume_parameters.go
- delete_volume_responses.go
- expand_volume_parameters.go
- expand_volume_responses.go
- list_snapshots_parameters.go
- list_snapshots_responses.go
- list_volume_exports_parameters.go
- list_volume_exports_responses.go
- list_volume_search_parameters.go
- list_volume_search_responses.go
- list_volume_snapshots_parameters.go
- list_volume_snapshots_responses.go
- list_volumes_parameters.go
- list_volumes_responses.go
- show_snapshot_parameters.go
- show_snapshot_responses.go
- show_volume_parameters.go
- show_volume_responses.go