Documentation ¶
Index ¶
- type Client
- func (a *Client) CloneIscsiLunFromSnapshot(params *CloneIscsiLunFromSnapshotParams, opts ...ClientOption) (*CloneIscsiLunFromSnapshotOK, error)
- func (a *Client) CopyIscsiLun(params *CopyIscsiLunParams, opts ...ClientOption) (*CopyIscsiLunOK, error)
- func (a *Client) CreateIscsiLun(params *CreateIscsiLunParams, opts ...ClientOption) (*CreateIscsiLunOK, error)
- func (a *Client) DeleteIscsiLun(params *DeleteIscsiLunParams, opts ...ClientOption) (*DeleteIscsiLunOK, error)
- func (a *Client) GetIscsiLuns(params *GetIscsiLunsParams, opts ...ClientOption) (*GetIscsiLunsOK, error)
- func (a *Client) GetIscsiLunsConnection(params *GetIscsiLunsConnectionParams, opts ...ClientOption) (*GetIscsiLunsConnectionOK, error)
- func (a *Client) RollbackIscsiLunFromSnapshot(params *RollbackIscsiLunFromSnapshotParams, opts ...ClientOption) (*RollbackIscsiLunFromSnapshotOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateIscsiLun(params *UpdateIscsiLunParams, opts ...ClientOption) (*UpdateIscsiLunOK, error)
- type ClientOption
- type ClientService
- type CloneIscsiLunFromSnapshotBadRequest
- type CloneIscsiLunFromSnapshotInternalServerError
- type CloneIscsiLunFromSnapshotNotFound
- type CloneIscsiLunFromSnapshotOK
- type CloneIscsiLunFromSnapshotParams
- func NewCloneIscsiLunFromSnapshotParams() *CloneIscsiLunFromSnapshotParams
- func NewCloneIscsiLunFromSnapshotParamsWithContext(ctx context.Context) *CloneIscsiLunFromSnapshotParams
- func NewCloneIscsiLunFromSnapshotParamsWithHTTPClient(client *http.Client) *CloneIscsiLunFromSnapshotParams
- func NewCloneIscsiLunFromSnapshotParamsWithTimeout(timeout time.Duration) *CloneIscsiLunFromSnapshotParams
- func (o *CloneIscsiLunFromSnapshotParams) SetContentLanguage(contentLanguage *string)
- func (o *CloneIscsiLunFromSnapshotParams) SetContext(ctx context.Context)
- func (o *CloneIscsiLunFromSnapshotParams) SetDefaults()
- func (o *CloneIscsiLunFromSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *CloneIscsiLunFromSnapshotParams) SetRequestBody(requestBody []*models.IscsiLunCloneParams)
- func (o *CloneIscsiLunFromSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *CloneIscsiLunFromSnapshotParams) WithContentLanguage(contentLanguage *string) *CloneIscsiLunFromSnapshotParams
- func (o *CloneIscsiLunFromSnapshotParams) WithContext(ctx context.Context) *CloneIscsiLunFromSnapshotParams
- func (o *CloneIscsiLunFromSnapshotParams) WithDefaults() *CloneIscsiLunFromSnapshotParams
- func (o *CloneIscsiLunFromSnapshotParams) WithHTTPClient(client *http.Client) *CloneIscsiLunFromSnapshotParams
- func (o *CloneIscsiLunFromSnapshotParams) WithRequestBody(requestBody []*models.IscsiLunCloneParams) *CloneIscsiLunFromSnapshotParams
- func (o *CloneIscsiLunFromSnapshotParams) WithTimeout(timeout time.Duration) *CloneIscsiLunFromSnapshotParams
- func (o *CloneIscsiLunFromSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CloneIscsiLunFromSnapshotReader
- type CopyIscsiLunBadRequest
- type CopyIscsiLunInternalServerError
- type CopyIscsiLunNotFound
- type CopyIscsiLunOK
- type CopyIscsiLunParams
- func (o *CopyIscsiLunParams) SetContentLanguage(contentLanguage *string)
- func (o *CopyIscsiLunParams) SetContext(ctx context.Context)
- func (o *CopyIscsiLunParams) SetDefaults()
- func (o *CopyIscsiLunParams) SetHTTPClient(client *http.Client)
- func (o *CopyIscsiLunParams) SetRequestBody(requestBody []*models.CopyIscsiLunParams)
- func (o *CopyIscsiLunParams) SetTimeout(timeout time.Duration)
- func (o *CopyIscsiLunParams) WithContentLanguage(contentLanguage *string) *CopyIscsiLunParams
- func (o *CopyIscsiLunParams) WithContext(ctx context.Context) *CopyIscsiLunParams
- func (o *CopyIscsiLunParams) WithDefaults() *CopyIscsiLunParams
- func (o *CopyIscsiLunParams) WithHTTPClient(client *http.Client) *CopyIscsiLunParams
- func (o *CopyIscsiLunParams) WithRequestBody(requestBody []*models.CopyIscsiLunParams) *CopyIscsiLunParams
- func (o *CopyIscsiLunParams) WithTimeout(timeout time.Duration) *CopyIscsiLunParams
- func (o *CopyIscsiLunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CopyIscsiLunReader
- type CreateIscsiLunBadRequest
- type CreateIscsiLunInternalServerError
- type CreateIscsiLunNotFound
- type CreateIscsiLunOK
- type CreateIscsiLunParams
- func NewCreateIscsiLunParams() *CreateIscsiLunParams
- func NewCreateIscsiLunParamsWithContext(ctx context.Context) *CreateIscsiLunParams
- func NewCreateIscsiLunParamsWithHTTPClient(client *http.Client) *CreateIscsiLunParams
- func NewCreateIscsiLunParamsWithTimeout(timeout time.Duration) *CreateIscsiLunParams
- func (o *CreateIscsiLunParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateIscsiLunParams) SetContext(ctx context.Context)
- func (o *CreateIscsiLunParams) SetDefaults()
- func (o *CreateIscsiLunParams) SetHTTPClient(client *http.Client)
- func (o *CreateIscsiLunParams) SetRequestBody(requestBody []*models.IscsiLunCreationParams)
- func (o *CreateIscsiLunParams) SetTimeout(timeout time.Duration)
- func (o *CreateIscsiLunParams) WithContentLanguage(contentLanguage *string) *CreateIscsiLunParams
- func (o *CreateIscsiLunParams) WithContext(ctx context.Context) *CreateIscsiLunParams
- func (o *CreateIscsiLunParams) WithDefaults() *CreateIscsiLunParams
- func (o *CreateIscsiLunParams) WithHTTPClient(client *http.Client) *CreateIscsiLunParams
- func (o *CreateIscsiLunParams) WithRequestBody(requestBody []*models.IscsiLunCreationParams) *CreateIscsiLunParams
- func (o *CreateIscsiLunParams) WithTimeout(timeout time.Duration) *CreateIscsiLunParams
- func (o *CreateIscsiLunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateIscsiLunReader
- type DeleteIscsiLunBadRequest
- type DeleteIscsiLunInternalServerError
- type DeleteIscsiLunNotFound
- type DeleteIscsiLunOK
- type DeleteIscsiLunParams
- func NewDeleteIscsiLunParams() *DeleteIscsiLunParams
- func NewDeleteIscsiLunParamsWithContext(ctx context.Context) *DeleteIscsiLunParams
- func NewDeleteIscsiLunParamsWithHTTPClient(client *http.Client) *DeleteIscsiLunParams
- func NewDeleteIscsiLunParamsWithTimeout(timeout time.Duration) *DeleteIscsiLunParams
- func (o *DeleteIscsiLunParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteIscsiLunParams) SetContext(ctx context.Context)
- func (o *DeleteIscsiLunParams) SetDefaults()
- func (o *DeleteIscsiLunParams) SetHTTPClient(client *http.Client)
- func (o *DeleteIscsiLunParams) SetRequestBody(requestBody *models.IscsiLunDeletionParams)
- func (o *DeleteIscsiLunParams) SetTimeout(timeout time.Duration)
- func (o *DeleteIscsiLunParams) WithContentLanguage(contentLanguage *string) *DeleteIscsiLunParams
- func (o *DeleteIscsiLunParams) WithContext(ctx context.Context) *DeleteIscsiLunParams
- func (o *DeleteIscsiLunParams) WithDefaults() *DeleteIscsiLunParams
- func (o *DeleteIscsiLunParams) WithHTTPClient(client *http.Client) *DeleteIscsiLunParams
- func (o *DeleteIscsiLunParams) WithRequestBody(requestBody *models.IscsiLunDeletionParams) *DeleteIscsiLunParams
- func (o *DeleteIscsiLunParams) WithTimeout(timeout time.Duration) *DeleteIscsiLunParams
- func (o *DeleteIscsiLunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteIscsiLunReader
- type GetIscsiLunsBadRequest
- type GetIscsiLunsConnectionBadRequest
- type GetIscsiLunsConnectionInternalServerError
- type GetIscsiLunsConnectionNotFound
- type GetIscsiLunsConnectionOK
- type GetIscsiLunsConnectionParams
- func NewGetIscsiLunsConnectionParams() *GetIscsiLunsConnectionParams
- func NewGetIscsiLunsConnectionParamsWithContext(ctx context.Context) *GetIscsiLunsConnectionParams
- func NewGetIscsiLunsConnectionParamsWithHTTPClient(client *http.Client) *GetIscsiLunsConnectionParams
- func NewGetIscsiLunsConnectionParamsWithTimeout(timeout time.Duration) *GetIscsiLunsConnectionParams
- func (o *GetIscsiLunsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetIscsiLunsConnectionParams) SetContext(ctx context.Context)
- func (o *GetIscsiLunsConnectionParams) SetDefaults()
- func (o *GetIscsiLunsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetIscsiLunsConnectionParams) SetRequestBody(requestBody *models.GetIscsiLunsConnectionRequestBody)
- func (o *GetIscsiLunsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetIscsiLunsConnectionParams) WithContentLanguage(contentLanguage *string) *GetIscsiLunsConnectionParams
- func (o *GetIscsiLunsConnectionParams) WithContext(ctx context.Context) *GetIscsiLunsConnectionParams
- func (o *GetIscsiLunsConnectionParams) WithDefaults() *GetIscsiLunsConnectionParams
- func (o *GetIscsiLunsConnectionParams) WithHTTPClient(client *http.Client) *GetIscsiLunsConnectionParams
- func (o *GetIscsiLunsConnectionParams) WithRequestBody(requestBody *models.GetIscsiLunsConnectionRequestBody) *GetIscsiLunsConnectionParams
- func (o *GetIscsiLunsConnectionParams) WithTimeout(timeout time.Duration) *GetIscsiLunsConnectionParams
- func (o *GetIscsiLunsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIscsiLunsConnectionReader
- type GetIscsiLunsInternalServerError
- type GetIscsiLunsNotFound
- type GetIscsiLunsOK
- type GetIscsiLunsParams
- func (o *GetIscsiLunsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetIscsiLunsParams) SetContext(ctx context.Context)
- func (o *GetIscsiLunsParams) SetDefaults()
- func (o *GetIscsiLunsParams) SetHTTPClient(client *http.Client)
- func (o *GetIscsiLunsParams) SetRequestBody(requestBody *models.GetIscsiLunsRequestBody)
- func (o *GetIscsiLunsParams) SetTimeout(timeout time.Duration)
- func (o *GetIscsiLunsParams) WithContentLanguage(contentLanguage *string) *GetIscsiLunsParams
- func (o *GetIscsiLunsParams) WithContext(ctx context.Context) *GetIscsiLunsParams
- func (o *GetIscsiLunsParams) WithDefaults() *GetIscsiLunsParams
- func (o *GetIscsiLunsParams) WithHTTPClient(client *http.Client) *GetIscsiLunsParams
- func (o *GetIscsiLunsParams) WithRequestBody(requestBody *models.GetIscsiLunsRequestBody) *GetIscsiLunsParams
- func (o *GetIscsiLunsParams) WithTimeout(timeout time.Duration) *GetIscsiLunsParams
- func (o *GetIscsiLunsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIscsiLunsReader
- type RollbackIscsiLunFromSnapshotBadRequest
- type RollbackIscsiLunFromSnapshotInternalServerError
- type RollbackIscsiLunFromSnapshotNotFound
- type RollbackIscsiLunFromSnapshotOK
- type RollbackIscsiLunFromSnapshotParams
- func NewRollbackIscsiLunFromSnapshotParams() *RollbackIscsiLunFromSnapshotParams
- func NewRollbackIscsiLunFromSnapshotParamsWithContext(ctx context.Context) *RollbackIscsiLunFromSnapshotParams
- func NewRollbackIscsiLunFromSnapshotParamsWithHTTPClient(client *http.Client) *RollbackIscsiLunFromSnapshotParams
- func NewRollbackIscsiLunFromSnapshotParamsWithTimeout(timeout time.Duration) *RollbackIscsiLunFromSnapshotParams
- func (o *RollbackIscsiLunFromSnapshotParams) SetContentLanguage(contentLanguage *string)
- func (o *RollbackIscsiLunFromSnapshotParams) SetContext(ctx context.Context)
- func (o *RollbackIscsiLunFromSnapshotParams) SetDefaults()
- func (o *RollbackIscsiLunFromSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *RollbackIscsiLunFromSnapshotParams) SetRequestBody(requestBody []*models.IscsiLunRollbackParams)
- func (o *RollbackIscsiLunFromSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *RollbackIscsiLunFromSnapshotParams) WithContentLanguage(contentLanguage *string) *RollbackIscsiLunFromSnapshotParams
- func (o *RollbackIscsiLunFromSnapshotParams) WithContext(ctx context.Context) *RollbackIscsiLunFromSnapshotParams
- func (o *RollbackIscsiLunFromSnapshotParams) WithDefaults() *RollbackIscsiLunFromSnapshotParams
- func (o *RollbackIscsiLunFromSnapshotParams) WithHTTPClient(client *http.Client) *RollbackIscsiLunFromSnapshotParams
- func (o *RollbackIscsiLunFromSnapshotParams) WithRequestBody(requestBody []*models.IscsiLunRollbackParams) *RollbackIscsiLunFromSnapshotParams
- func (o *RollbackIscsiLunFromSnapshotParams) WithTimeout(timeout time.Duration) *RollbackIscsiLunFromSnapshotParams
- func (o *RollbackIscsiLunFromSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RollbackIscsiLunFromSnapshotReader
- type UpdateIscsiLunBadRequest
- type UpdateIscsiLunInternalServerError
- type UpdateIscsiLunNotFound
- type UpdateIscsiLunOK
- type UpdateIscsiLunParams
- func NewUpdateIscsiLunParams() *UpdateIscsiLunParams
- func NewUpdateIscsiLunParamsWithContext(ctx context.Context) *UpdateIscsiLunParams
- func NewUpdateIscsiLunParamsWithHTTPClient(client *http.Client) *UpdateIscsiLunParams
- func NewUpdateIscsiLunParamsWithTimeout(timeout time.Duration) *UpdateIscsiLunParams
- func (o *UpdateIscsiLunParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateIscsiLunParams) SetContext(ctx context.Context)
- func (o *UpdateIscsiLunParams) SetDefaults()
- func (o *UpdateIscsiLunParams) SetHTTPClient(client *http.Client)
- func (o *UpdateIscsiLunParams) SetRequestBody(requestBody *models.IscsiLunUpdationParams)
- func (o *UpdateIscsiLunParams) SetTimeout(timeout time.Duration)
- func (o *UpdateIscsiLunParams) WithContentLanguage(contentLanguage *string) *UpdateIscsiLunParams
- func (o *UpdateIscsiLunParams) WithContext(ctx context.Context) *UpdateIscsiLunParams
- func (o *UpdateIscsiLunParams) WithDefaults() *UpdateIscsiLunParams
- func (o *UpdateIscsiLunParams) WithHTTPClient(client *http.Client) *UpdateIscsiLunParams
- func (o *UpdateIscsiLunParams) WithRequestBody(requestBody *models.IscsiLunUpdationParams) *UpdateIscsiLunParams
- func (o *UpdateIscsiLunParams) WithTimeout(timeout time.Duration) *UpdateIscsiLunParams
- func (o *UpdateIscsiLunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateIscsiLunReader
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 iscsi lun API
func (*Client) CloneIscsiLunFromSnapshot ¶
func (a *Client) CloneIscsiLunFromSnapshot(params *CloneIscsiLunFromSnapshotParams, opts ...ClientOption) (*CloneIscsiLunFromSnapshotOK, error)
CloneIscsiLunFromSnapshot clone iscsi lun from snapshot API
func (*Client) CopyIscsiLun ¶ added in v2.14.0
func (a *Client) CopyIscsiLun(params *CopyIscsiLunParams, opts ...ClientOption) (*CopyIscsiLunOK, error)
CopyIscsiLun copy iscsi lun API
func (*Client) CreateIscsiLun ¶
func (a *Client) CreateIscsiLun(params *CreateIscsiLunParams, opts ...ClientOption) (*CreateIscsiLunOK, error)
CreateIscsiLun create iscsi lun API
func (*Client) DeleteIscsiLun ¶
func (a *Client) DeleteIscsiLun(params *DeleteIscsiLunParams, opts ...ClientOption) (*DeleteIscsiLunOK, error)
DeleteIscsiLun delete iscsi lun API
func (*Client) GetIscsiLuns ¶
func (a *Client) GetIscsiLuns(params *GetIscsiLunsParams, opts ...ClientOption) (*GetIscsiLunsOK, error)
GetIscsiLuns get iscsi luns API
func (*Client) GetIscsiLunsConnection ¶
func (a *Client) GetIscsiLunsConnection(params *GetIscsiLunsConnectionParams, opts ...ClientOption) (*GetIscsiLunsConnectionOK, error)
GetIscsiLunsConnection get iscsi luns connection API
func (*Client) RollbackIscsiLunFromSnapshot ¶
func (a *Client) RollbackIscsiLunFromSnapshot(params *RollbackIscsiLunFromSnapshotParams, opts ...ClientOption) (*RollbackIscsiLunFromSnapshotOK, error)
RollbackIscsiLunFromSnapshot rollback iscsi lun from snapshot API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateIscsiLun ¶
func (a *Client) UpdateIscsiLun(params *UpdateIscsiLunParams, opts ...ClientOption) (*UpdateIscsiLunOK, error)
UpdateIscsiLun update iscsi lun API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CloneIscsiLunFromSnapshot(params *CloneIscsiLunFromSnapshotParams, opts ...ClientOption) (*CloneIscsiLunFromSnapshotOK, error) CopyIscsiLun(params *CopyIscsiLunParams, opts ...ClientOption) (*CopyIscsiLunOK, error) CreateIscsiLun(params *CreateIscsiLunParams, opts ...ClientOption) (*CreateIscsiLunOK, error) DeleteIscsiLun(params *DeleteIscsiLunParams, opts ...ClientOption) (*DeleteIscsiLunOK, error) GetIscsiLuns(params *GetIscsiLunsParams, opts ...ClientOption) (*GetIscsiLunsOK, error) GetIscsiLunsConnection(params *GetIscsiLunsConnectionParams, opts ...ClientOption) (*GetIscsiLunsConnectionOK, error) RollbackIscsiLunFromSnapshot(params *RollbackIscsiLunFromSnapshotParams, opts ...ClientOption) (*RollbackIscsiLunFromSnapshotOK, error) UpdateIscsiLun(params *UpdateIscsiLunParams, opts ...ClientOption) (*UpdateIscsiLunOK, 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 iscsi lun API client.
type CloneIscsiLunFromSnapshotBadRequest ¶
type CloneIscsiLunFromSnapshotBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
CloneIscsiLunFromSnapshotBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCloneIscsiLunFromSnapshotBadRequest ¶
func NewCloneIscsiLunFromSnapshotBadRequest() *CloneIscsiLunFromSnapshotBadRequest
NewCloneIscsiLunFromSnapshotBadRequest creates a CloneIscsiLunFromSnapshotBadRequest with default headers values
func (*CloneIscsiLunFromSnapshotBadRequest) Error ¶
func (o *CloneIscsiLunFromSnapshotBadRequest) Error() string
func (*CloneIscsiLunFromSnapshotBadRequest) GetPayload ¶
func (o *CloneIscsiLunFromSnapshotBadRequest) GetPayload() *models.ErrorBody
type CloneIscsiLunFromSnapshotInternalServerError ¶
type CloneIscsiLunFromSnapshotInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
CloneIscsiLunFromSnapshotInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCloneIscsiLunFromSnapshotInternalServerError ¶
func NewCloneIscsiLunFromSnapshotInternalServerError() *CloneIscsiLunFromSnapshotInternalServerError
NewCloneIscsiLunFromSnapshotInternalServerError creates a CloneIscsiLunFromSnapshotInternalServerError with default headers values
func (*CloneIscsiLunFromSnapshotInternalServerError) Error ¶
func (o *CloneIscsiLunFromSnapshotInternalServerError) Error() string
func (*CloneIscsiLunFromSnapshotInternalServerError) GetPayload ¶
func (o *CloneIscsiLunFromSnapshotInternalServerError) GetPayload() *models.ErrorBody
type CloneIscsiLunFromSnapshotNotFound ¶
CloneIscsiLunFromSnapshotNotFound describes a response with status code 404, with default header values.
Not found
func NewCloneIscsiLunFromSnapshotNotFound ¶
func NewCloneIscsiLunFromSnapshotNotFound() *CloneIscsiLunFromSnapshotNotFound
NewCloneIscsiLunFromSnapshotNotFound creates a CloneIscsiLunFromSnapshotNotFound with default headers values
func (*CloneIscsiLunFromSnapshotNotFound) Error ¶
func (o *CloneIscsiLunFromSnapshotNotFound) Error() string
func (*CloneIscsiLunFromSnapshotNotFound) GetPayload ¶
func (o *CloneIscsiLunFromSnapshotNotFound) GetPayload() *models.ErrorBody
type CloneIscsiLunFromSnapshotOK ¶
type CloneIscsiLunFromSnapshotOK struct { XTowerRequestID string Payload []*models.WithTaskIscsiLun }
CloneIscsiLunFromSnapshotOK describes a response with status code 200, with default header values.
CloneIscsiLunFromSnapshotOK clone iscsi lun from snapshot o k
func NewCloneIscsiLunFromSnapshotOK ¶
func NewCloneIscsiLunFromSnapshotOK() *CloneIscsiLunFromSnapshotOK
NewCloneIscsiLunFromSnapshotOK creates a CloneIscsiLunFromSnapshotOK with default headers values
func (*CloneIscsiLunFromSnapshotOK) Error ¶
func (o *CloneIscsiLunFromSnapshotOK) Error() string
func (*CloneIscsiLunFromSnapshotOK) GetPayload ¶
func (o *CloneIscsiLunFromSnapshotOK) GetPayload() []*models.WithTaskIscsiLun
type CloneIscsiLunFromSnapshotParams ¶
type CloneIscsiLunFromSnapshotParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.IscsiLunCloneParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CloneIscsiLunFromSnapshotParams contains all the parameters to send to the API endpoint
for the clone iscsi lun from snapshot operation. Typically these are written to a http.Request.
func NewCloneIscsiLunFromSnapshotParams ¶
func NewCloneIscsiLunFromSnapshotParams() *CloneIscsiLunFromSnapshotParams
NewCloneIscsiLunFromSnapshotParams creates a new CloneIscsiLunFromSnapshotParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCloneIscsiLunFromSnapshotParamsWithContext ¶
func NewCloneIscsiLunFromSnapshotParamsWithContext(ctx context.Context) *CloneIscsiLunFromSnapshotParams
NewCloneIscsiLunFromSnapshotParamsWithContext creates a new CloneIscsiLunFromSnapshotParams object with the ability to set a context for a request.
func NewCloneIscsiLunFromSnapshotParamsWithHTTPClient ¶
func NewCloneIscsiLunFromSnapshotParamsWithHTTPClient(client *http.Client) *CloneIscsiLunFromSnapshotParams
NewCloneIscsiLunFromSnapshotParamsWithHTTPClient creates a new CloneIscsiLunFromSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewCloneIscsiLunFromSnapshotParamsWithTimeout ¶
func NewCloneIscsiLunFromSnapshotParamsWithTimeout(timeout time.Duration) *CloneIscsiLunFromSnapshotParams
NewCloneIscsiLunFromSnapshotParamsWithTimeout creates a new CloneIscsiLunFromSnapshotParams object with the ability to set a timeout on a request.
func (*CloneIscsiLunFromSnapshotParams) SetContentLanguage ¶
func (o *CloneIscsiLunFromSnapshotParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the clone iscsi lun from snapshot params
func (*CloneIscsiLunFromSnapshotParams) SetContext ¶
func (o *CloneIscsiLunFromSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the clone iscsi lun from snapshot params
func (*CloneIscsiLunFromSnapshotParams) SetDefaults ¶
func (o *CloneIscsiLunFromSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the clone iscsi lun from snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*CloneIscsiLunFromSnapshotParams) SetHTTPClient ¶
func (o *CloneIscsiLunFromSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the clone iscsi lun from snapshot params
func (*CloneIscsiLunFromSnapshotParams) SetRequestBody ¶
func (o *CloneIscsiLunFromSnapshotParams) SetRequestBody(requestBody []*models.IscsiLunCloneParams)
SetRequestBody adds the requestBody to the clone iscsi lun from snapshot params
func (*CloneIscsiLunFromSnapshotParams) SetTimeout ¶
func (o *CloneIscsiLunFromSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the clone iscsi lun from snapshot params
func (*CloneIscsiLunFromSnapshotParams) WithContentLanguage ¶
func (o *CloneIscsiLunFromSnapshotParams) WithContentLanguage(contentLanguage *string) *CloneIscsiLunFromSnapshotParams
WithContentLanguage adds the contentLanguage to the clone iscsi lun from snapshot params
func (*CloneIscsiLunFromSnapshotParams) WithContext ¶
func (o *CloneIscsiLunFromSnapshotParams) WithContext(ctx context.Context) *CloneIscsiLunFromSnapshotParams
WithContext adds the context to the clone iscsi lun from snapshot params
func (*CloneIscsiLunFromSnapshotParams) WithDefaults ¶
func (o *CloneIscsiLunFromSnapshotParams) WithDefaults() *CloneIscsiLunFromSnapshotParams
WithDefaults hydrates default values in the clone iscsi lun from snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*CloneIscsiLunFromSnapshotParams) WithHTTPClient ¶
func (o *CloneIscsiLunFromSnapshotParams) WithHTTPClient(client *http.Client) *CloneIscsiLunFromSnapshotParams
WithHTTPClient adds the HTTPClient to the clone iscsi lun from snapshot params
func (*CloneIscsiLunFromSnapshotParams) WithRequestBody ¶
func (o *CloneIscsiLunFromSnapshotParams) WithRequestBody(requestBody []*models.IscsiLunCloneParams) *CloneIscsiLunFromSnapshotParams
WithRequestBody adds the requestBody to the clone iscsi lun from snapshot params
func (*CloneIscsiLunFromSnapshotParams) WithTimeout ¶
func (o *CloneIscsiLunFromSnapshotParams) WithTimeout(timeout time.Duration) *CloneIscsiLunFromSnapshotParams
WithTimeout adds the timeout to the clone iscsi lun from snapshot params
func (*CloneIscsiLunFromSnapshotParams) WriteToRequest ¶
func (o *CloneIscsiLunFromSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CloneIscsiLunFromSnapshotReader ¶
type CloneIscsiLunFromSnapshotReader struct {
// contains filtered or unexported fields
}
CloneIscsiLunFromSnapshotReader is a Reader for the CloneIscsiLunFromSnapshot structure.
func (*CloneIscsiLunFromSnapshotReader) ReadResponse ¶
func (o *CloneIscsiLunFromSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CopyIscsiLunBadRequest ¶ added in v2.14.0
CopyIscsiLunBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCopyIscsiLunBadRequest ¶ added in v2.14.0
func NewCopyIscsiLunBadRequest() *CopyIscsiLunBadRequest
NewCopyIscsiLunBadRequest creates a CopyIscsiLunBadRequest with default headers values
func (*CopyIscsiLunBadRequest) Error ¶ added in v2.14.0
func (o *CopyIscsiLunBadRequest) Error() string
func (*CopyIscsiLunBadRequest) GetPayload ¶ added in v2.14.0
func (o *CopyIscsiLunBadRequest) GetPayload() *models.ErrorBody
type CopyIscsiLunInternalServerError ¶ added in v2.14.0
CopyIscsiLunInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCopyIscsiLunInternalServerError ¶ added in v2.14.0
func NewCopyIscsiLunInternalServerError() *CopyIscsiLunInternalServerError
NewCopyIscsiLunInternalServerError creates a CopyIscsiLunInternalServerError with default headers values
func (*CopyIscsiLunInternalServerError) Error ¶ added in v2.14.0
func (o *CopyIscsiLunInternalServerError) Error() string
func (*CopyIscsiLunInternalServerError) GetPayload ¶ added in v2.14.0
func (o *CopyIscsiLunInternalServerError) GetPayload() *models.ErrorBody
type CopyIscsiLunNotFound ¶ added in v2.14.0
CopyIscsiLunNotFound describes a response with status code 404, with default header values.
Not found
func NewCopyIscsiLunNotFound ¶ added in v2.14.0
func NewCopyIscsiLunNotFound() *CopyIscsiLunNotFound
NewCopyIscsiLunNotFound creates a CopyIscsiLunNotFound with default headers values
func (*CopyIscsiLunNotFound) Error ¶ added in v2.14.0
func (o *CopyIscsiLunNotFound) Error() string
func (*CopyIscsiLunNotFound) GetPayload ¶ added in v2.14.0
func (o *CopyIscsiLunNotFound) GetPayload() *models.ErrorBody
type CopyIscsiLunOK ¶ added in v2.14.0
type CopyIscsiLunOK struct { XTowerRequestID string Payload []*models.WithTaskIscsiLun }
CopyIscsiLunOK describes a response with status code 200, with default header values.
CopyIscsiLunOK copy iscsi lun o k
func NewCopyIscsiLunOK ¶ added in v2.14.0
func NewCopyIscsiLunOK() *CopyIscsiLunOK
NewCopyIscsiLunOK creates a CopyIscsiLunOK with default headers values
func (*CopyIscsiLunOK) Error ¶ added in v2.14.0
func (o *CopyIscsiLunOK) Error() string
func (*CopyIscsiLunOK) GetPayload ¶ added in v2.14.0
func (o *CopyIscsiLunOK) GetPayload() []*models.WithTaskIscsiLun
type CopyIscsiLunParams ¶ added in v2.14.0
type CopyIscsiLunParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.CopyIscsiLunParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CopyIscsiLunParams contains all the parameters to send to the API endpoint
for the copy iscsi lun operation. Typically these are written to a http.Request.
func NewCopyIscsiLunParams ¶ added in v2.14.0
func NewCopyIscsiLunParams() *CopyIscsiLunParams
NewCopyIscsiLunParams creates a new CopyIscsiLunParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCopyIscsiLunParamsWithContext ¶ added in v2.14.0
func NewCopyIscsiLunParamsWithContext(ctx context.Context) *CopyIscsiLunParams
NewCopyIscsiLunParamsWithContext creates a new CopyIscsiLunParams object with the ability to set a context for a request.
func NewCopyIscsiLunParamsWithHTTPClient ¶ added in v2.14.0
func NewCopyIscsiLunParamsWithHTTPClient(client *http.Client) *CopyIscsiLunParams
NewCopyIscsiLunParamsWithHTTPClient creates a new CopyIscsiLunParams object with the ability to set a custom HTTPClient for a request.
func NewCopyIscsiLunParamsWithTimeout ¶ added in v2.14.0
func NewCopyIscsiLunParamsWithTimeout(timeout time.Duration) *CopyIscsiLunParams
NewCopyIscsiLunParamsWithTimeout creates a new CopyIscsiLunParams object with the ability to set a timeout on a request.
func (*CopyIscsiLunParams) SetContentLanguage ¶ added in v2.14.0
func (o *CopyIscsiLunParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the copy iscsi lun params
func (*CopyIscsiLunParams) SetContext ¶ added in v2.14.0
func (o *CopyIscsiLunParams) SetContext(ctx context.Context)
SetContext adds the context to the copy iscsi lun params
func (*CopyIscsiLunParams) SetDefaults ¶ added in v2.14.0
func (o *CopyIscsiLunParams) SetDefaults()
SetDefaults hydrates default values in the copy iscsi lun params (not the query body).
All values with no default are reset to their zero value.
func (*CopyIscsiLunParams) SetHTTPClient ¶ added in v2.14.0
func (o *CopyIscsiLunParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the copy iscsi lun params
func (*CopyIscsiLunParams) SetRequestBody ¶ added in v2.14.0
func (o *CopyIscsiLunParams) SetRequestBody(requestBody []*models.CopyIscsiLunParams)
SetRequestBody adds the requestBody to the copy iscsi lun params
func (*CopyIscsiLunParams) SetTimeout ¶ added in v2.14.0
func (o *CopyIscsiLunParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the copy iscsi lun params
func (*CopyIscsiLunParams) WithContentLanguage ¶ added in v2.14.0
func (o *CopyIscsiLunParams) WithContentLanguage(contentLanguage *string) *CopyIscsiLunParams
WithContentLanguage adds the contentLanguage to the copy iscsi lun params
func (*CopyIscsiLunParams) WithContext ¶ added in v2.14.0
func (o *CopyIscsiLunParams) WithContext(ctx context.Context) *CopyIscsiLunParams
WithContext adds the context to the copy iscsi lun params
func (*CopyIscsiLunParams) WithDefaults ¶ added in v2.14.0
func (o *CopyIscsiLunParams) WithDefaults() *CopyIscsiLunParams
WithDefaults hydrates default values in the copy iscsi lun params (not the query body).
All values with no default are reset to their zero value.
func (*CopyIscsiLunParams) WithHTTPClient ¶ added in v2.14.0
func (o *CopyIscsiLunParams) WithHTTPClient(client *http.Client) *CopyIscsiLunParams
WithHTTPClient adds the HTTPClient to the copy iscsi lun params
func (*CopyIscsiLunParams) WithRequestBody ¶ added in v2.14.0
func (o *CopyIscsiLunParams) WithRequestBody(requestBody []*models.CopyIscsiLunParams) *CopyIscsiLunParams
WithRequestBody adds the requestBody to the copy iscsi lun params
func (*CopyIscsiLunParams) WithTimeout ¶ added in v2.14.0
func (o *CopyIscsiLunParams) WithTimeout(timeout time.Duration) *CopyIscsiLunParams
WithTimeout adds the timeout to the copy iscsi lun params
func (*CopyIscsiLunParams) WriteToRequest ¶ added in v2.14.0
func (o *CopyIscsiLunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CopyIscsiLunReader ¶ added in v2.14.0
type CopyIscsiLunReader struct {
// contains filtered or unexported fields
}
CopyIscsiLunReader is a Reader for the CopyIscsiLun structure.
func (*CopyIscsiLunReader) ReadResponse ¶ added in v2.14.0
func (o *CopyIscsiLunReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateIscsiLunBadRequest ¶
CreateIscsiLunBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateIscsiLunBadRequest ¶
func NewCreateIscsiLunBadRequest() *CreateIscsiLunBadRequest
NewCreateIscsiLunBadRequest creates a CreateIscsiLunBadRequest with default headers values
func (*CreateIscsiLunBadRequest) Error ¶
func (o *CreateIscsiLunBadRequest) Error() string
func (*CreateIscsiLunBadRequest) GetPayload ¶
func (o *CreateIscsiLunBadRequest) GetPayload() *models.ErrorBody
type CreateIscsiLunInternalServerError ¶
CreateIscsiLunInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateIscsiLunInternalServerError ¶
func NewCreateIscsiLunInternalServerError() *CreateIscsiLunInternalServerError
NewCreateIscsiLunInternalServerError creates a CreateIscsiLunInternalServerError with default headers values
func (*CreateIscsiLunInternalServerError) Error ¶
func (o *CreateIscsiLunInternalServerError) Error() string
func (*CreateIscsiLunInternalServerError) GetPayload ¶
func (o *CreateIscsiLunInternalServerError) GetPayload() *models.ErrorBody
type CreateIscsiLunNotFound ¶
CreateIscsiLunNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateIscsiLunNotFound ¶
func NewCreateIscsiLunNotFound() *CreateIscsiLunNotFound
NewCreateIscsiLunNotFound creates a CreateIscsiLunNotFound with default headers values
func (*CreateIscsiLunNotFound) Error ¶
func (o *CreateIscsiLunNotFound) Error() string
func (*CreateIscsiLunNotFound) GetPayload ¶
func (o *CreateIscsiLunNotFound) GetPayload() *models.ErrorBody
type CreateIscsiLunOK ¶
type CreateIscsiLunOK struct { XTowerRequestID string Payload []*models.WithTaskIscsiLun }
CreateIscsiLunOK describes a response with status code 200, with default header values.
CreateIscsiLunOK create iscsi lun o k
func NewCreateIscsiLunOK ¶
func NewCreateIscsiLunOK() *CreateIscsiLunOK
NewCreateIscsiLunOK creates a CreateIscsiLunOK with default headers values
func (*CreateIscsiLunOK) Error ¶
func (o *CreateIscsiLunOK) Error() string
func (*CreateIscsiLunOK) GetPayload ¶
func (o *CreateIscsiLunOK) GetPayload() []*models.WithTaskIscsiLun
type CreateIscsiLunParams ¶
type CreateIscsiLunParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.IscsiLunCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateIscsiLunParams contains all the parameters to send to the API endpoint
for the create iscsi lun operation. Typically these are written to a http.Request.
func NewCreateIscsiLunParams ¶
func NewCreateIscsiLunParams() *CreateIscsiLunParams
NewCreateIscsiLunParams creates a new CreateIscsiLunParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateIscsiLunParamsWithContext ¶
func NewCreateIscsiLunParamsWithContext(ctx context.Context) *CreateIscsiLunParams
NewCreateIscsiLunParamsWithContext creates a new CreateIscsiLunParams object with the ability to set a context for a request.
func NewCreateIscsiLunParamsWithHTTPClient ¶
func NewCreateIscsiLunParamsWithHTTPClient(client *http.Client) *CreateIscsiLunParams
NewCreateIscsiLunParamsWithHTTPClient creates a new CreateIscsiLunParams object with the ability to set a custom HTTPClient for a request.
func NewCreateIscsiLunParamsWithTimeout ¶
func NewCreateIscsiLunParamsWithTimeout(timeout time.Duration) *CreateIscsiLunParams
NewCreateIscsiLunParamsWithTimeout creates a new CreateIscsiLunParams object with the ability to set a timeout on a request.
func (*CreateIscsiLunParams) SetContentLanguage ¶
func (o *CreateIscsiLunParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create iscsi lun params
func (*CreateIscsiLunParams) SetContext ¶
func (o *CreateIscsiLunParams) SetContext(ctx context.Context)
SetContext adds the context to the create iscsi lun params
func (*CreateIscsiLunParams) SetDefaults ¶
func (o *CreateIscsiLunParams) SetDefaults()
SetDefaults hydrates default values in the create iscsi lun params (not the query body).
All values with no default are reset to their zero value.
func (*CreateIscsiLunParams) SetHTTPClient ¶
func (o *CreateIscsiLunParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create iscsi lun params
func (*CreateIscsiLunParams) SetRequestBody ¶
func (o *CreateIscsiLunParams) SetRequestBody(requestBody []*models.IscsiLunCreationParams)
SetRequestBody adds the requestBody to the create iscsi lun params
func (*CreateIscsiLunParams) SetTimeout ¶
func (o *CreateIscsiLunParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create iscsi lun params
func (*CreateIscsiLunParams) WithContentLanguage ¶
func (o *CreateIscsiLunParams) WithContentLanguage(contentLanguage *string) *CreateIscsiLunParams
WithContentLanguage adds the contentLanguage to the create iscsi lun params
func (*CreateIscsiLunParams) WithContext ¶
func (o *CreateIscsiLunParams) WithContext(ctx context.Context) *CreateIscsiLunParams
WithContext adds the context to the create iscsi lun params
func (*CreateIscsiLunParams) WithDefaults ¶
func (o *CreateIscsiLunParams) WithDefaults() *CreateIscsiLunParams
WithDefaults hydrates default values in the create iscsi lun params (not the query body).
All values with no default are reset to their zero value.
func (*CreateIscsiLunParams) WithHTTPClient ¶
func (o *CreateIscsiLunParams) WithHTTPClient(client *http.Client) *CreateIscsiLunParams
WithHTTPClient adds the HTTPClient to the create iscsi lun params
func (*CreateIscsiLunParams) WithRequestBody ¶
func (o *CreateIscsiLunParams) WithRequestBody(requestBody []*models.IscsiLunCreationParams) *CreateIscsiLunParams
WithRequestBody adds the requestBody to the create iscsi lun params
func (*CreateIscsiLunParams) WithTimeout ¶
func (o *CreateIscsiLunParams) WithTimeout(timeout time.Duration) *CreateIscsiLunParams
WithTimeout adds the timeout to the create iscsi lun params
func (*CreateIscsiLunParams) WriteToRequest ¶
func (o *CreateIscsiLunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateIscsiLunReader ¶
type CreateIscsiLunReader struct {
// contains filtered or unexported fields
}
CreateIscsiLunReader is a Reader for the CreateIscsiLun structure.
func (*CreateIscsiLunReader) ReadResponse ¶
func (o *CreateIscsiLunReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteIscsiLunBadRequest ¶
DeleteIscsiLunBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteIscsiLunBadRequest ¶
func NewDeleteIscsiLunBadRequest() *DeleteIscsiLunBadRequest
NewDeleteIscsiLunBadRequest creates a DeleteIscsiLunBadRequest with default headers values
func (*DeleteIscsiLunBadRequest) Error ¶
func (o *DeleteIscsiLunBadRequest) Error() string
func (*DeleteIscsiLunBadRequest) GetPayload ¶
func (o *DeleteIscsiLunBadRequest) GetPayload() *models.ErrorBody
type DeleteIscsiLunInternalServerError ¶
DeleteIscsiLunInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteIscsiLunInternalServerError ¶
func NewDeleteIscsiLunInternalServerError() *DeleteIscsiLunInternalServerError
NewDeleteIscsiLunInternalServerError creates a DeleteIscsiLunInternalServerError with default headers values
func (*DeleteIscsiLunInternalServerError) Error ¶
func (o *DeleteIscsiLunInternalServerError) Error() string
func (*DeleteIscsiLunInternalServerError) GetPayload ¶
func (o *DeleteIscsiLunInternalServerError) GetPayload() *models.ErrorBody
type DeleteIscsiLunNotFound ¶
DeleteIscsiLunNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteIscsiLunNotFound ¶
func NewDeleteIscsiLunNotFound() *DeleteIscsiLunNotFound
NewDeleteIscsiLunNotFound creates a DeleteIscsiLunNotFound with default headers values
func (*DeleteIscsiLunNotFound) Error ¶
func (o *DeleteIscsiLunNotFound) Error() string
func (*DeleteIscsiLunNotFound) GetPayload ¶
func (o *DeleteIscsiLunNotFound) GetPayload() *models.ErrorBody
type DeleteIscsiLunOK ¶
type DeleteIscsiLunOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteIscsiLun }
DeleteIscsiLunOK describes a response with status code 200, with default header values.
DeleteIscsiLunOK delete iscsi lun o k
func NewDeleteIscsiLunOK ¶
func NewDeleteIscsiLunOK() *DeleteIscsiLunOK
NewDeleteIscsiLunOK creates a DeleteIscsiLunOK with default headers values
func (*DeleteIscsiLunOK) Error ¶
func (o *DeleteIscsiLunOK) Error() string
func (*DeleteIscsiLunOK) GetPayload ¶
func (o *DeleteIscsiLunOK) GetPayload() []*models.WithTaskDeleteIscsiLun
type DeleteIscsiLunParams ¶
type DeleteIscsiLunParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.IscsiLunDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteIscsiLunParams contains all the parameters to send to the API endpoint
for the delete iscsi lun operation. Typically these are written to a http.Request.
func NewDeleteIscsiLunParams ¶
func NewDeleteIscsiLunParams() *DeleteIscsiLunParams
NewDeleteIscsiLunParams creates a new DeleteIscsiLunParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteIscsiLunParamsWithContext ¶
func NewDeleteIscsiLunParamsWithContext(ctx context.Context) *DeleteIscsiLunParams
NewDeleteIscsiLunParamsWithContext creates a new DeleteIscsiLunParams object with the ability to set a context for a request.
func NewDeleteIscsiLunParamsWithHTTPClient ¶
func NewDeleteIscsiLunParamsWithHTTPClient(client *http.Client) *DeleteIscsiLunParams
NewDeleteIscsiLunParamsWithHTTPClient creates a new DeleteIscsiLunParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteIscsiLunParamsWithTimeout ¶
func NewDeleteIscsiLunParamsWithTimeout(timeout time.Duration) *DeleteIscsiLunParams
NewDeleteIscsiLunParamsWithTimeout creates a new DeleteIscsiLunParams object with the ability to set a timeout on a request.
func (*DeleteIscsiLunParams) SetContentLanguage ¶
func (o *DeleteIscsiLunParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete iscsi lun params
func (*DeleteIscsiLunParams) SetContext ¶
func (o *DeleteIscsiLunParams) SetContext(ctx context.Context)
SetContext adds the context to the delete iscsi lun params
func (*DeleteIscsiLunParams) SetDefaults ¶
func (o *DeleteIscsiLunParams) SetDefaults()
SetDefaults hydrates default values in the delete iscsi lun params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteIscsiLunParams) SetHTTPClient ¶
func (o *DeleteIscsiLunParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete iscsi lun params
func (*DeleteIscsiLunParams) SetRequestBody ¶
func (o *DeleteIscsiLunParams) SetRequestBody(requestBody *models.IscsiLunDeletionParams)
SetRequestBody adds the requestBody to the delete iscsi lun params
func (*DeleteIscsiLunParams) SetTimeout ¶
func (o *DeleteIscsiLunParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete iscsi lun params
func (*DeleteIscsiLunParams) WithContentLanguage ¶
func (o *DeleteIscsiLunParams) WithContentLanguage(contentLanguage *string) *DeleteIscsiLunParams
WithContentLanguage adds the contentLanguage to the delete iscsi lun params
func (*DeleteIscsiLunParams) WithContext ¶
func (o *DeleteIscsiLunParams) WithContext(ctx context.Context) *DeleteIscsiLunParams
WithContext adds the context to the delete iscsi lun params
func (*DeleteIscsiLunParams) WithDefaults ¶
func (o *DeleteIscsiLunParams) WithDefaults() *DeleteIscsiLunParams
WithDefaults hydrates default values in the delete iscsi lun params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteIscsiLunParams) WithHTTPClient ¶
func (o *DeleteIscsiLunParams) WithHTTPClient(client *http.Client) *DeleteIscsiLunParams
WithHTTPClient adds the HTTPClient to the delete iscsi lun params
func (*DeleteIscsiLunParams) WithRequestBody ¶
func (o *DeleteIscsiLunParams) WithRequestBody(requestBody *models.IscsiLunDeletionParams) *DeleteIscsiLunParams
WithRequestBody adds the requestBody to the delete iscsi lun params
func (*DeleteIscsiLunParams) WithTimeout ¶
func (o *DeleteIscsiLunParams) WithTimeout(timeout time.Duration) *DeleteIscsiLunParams
WithTimeout adds the timeout to the delete iscsi lun params
func (*DeleteIscsiLunParams) WriteToRequest ¶
func (o *DeleteIscsiLunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteIscsiLunReader ¶
type DeleteIscsiLunReader struct {
// contains filtered or unexported fields
}
DeleteIscsiLunReader is a Reader for the DeleteIscsiLun structure.
func (*DeleteIscsiLunReader) ReadResponse ¶
func (o *DeleteIscsiLunReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetIscsiLunsBadRequest ¶
GetIscsiLunsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetIscsiLunsBadRequest ¶
func NewGetIscsiLunsBadRequest() *GetIscsiLunsBadRequest
NewGetIscsiLunsBadRequest creates a GetIscsiLunsBadRequest with default headers values
func (*GetIscsiLunsBadRequest) Error ¶
func (o *GetIscsiLunsBadRequest) Error() string
func (*GetIscsiLunsBadRequest) GetPayload ¶
func (o *GetIscsiLunsBadRequest) GetPayload() *models.ErrorBody
type GetIscsiLunsConnectionBadRequest ¶
GetIscsiLunsConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetIscsiLunsConnectionBadRequest ¶
func NewGetIscsiLunsConnectionBadRequest() *GetIscsiLunsConnectionBadRequest
NewGetIscsiLunsConnectionBadRequest creates a GetIscsiLunsConnectionBadRequest with default headers values
func (*GetIscsiLunsConnectionBadRequest) Error ¶
func (o *GetIscsiLunsConnectionBadRequest) Error() string
func (*GetIscsiLunsConnectionBadRequest) GetPayload ¶
func (o *GetIscsiLunsConnectionBadRequest) GetPayload() *models.ErrorBody
type GetIscsiLunsConnectionInternalServerError ¶
type GetIscsiLunsConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetIscsiLunsConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetIscsiLunsConnectionInternalServerError ¶
func NewGetIscsiLunsConnectionInternalServerError() *GetIscsiLunsConnectionInternalServerError
NewGetIscsiLunsConnectionInternalServerError creates a GetIscsiLunsConnectionInternalServerError with default headers values
func (*GetIscsiLunsConnectionInternalServerError) Error ¶
func (o *GetIscsiLunsConnectionInternalServerError) Error() string
func (*GetIscsiLunsConnectionInternalServerError) GetPayload ¶
func (o *GetIscsiLunsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetIscsiLunsConnectionNotFound ¶
GetIscsiLunsConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetIscsiLunsConnectionNotFound ¶
func NewGetIscsiLunsConnectionNotFound() *GetIscsiLunsConnectionNotFound
NewGetIscsiLunsConnectionNotFound creates a GetIscsiLunsConnectionNotFound with default headers values
func (*GetIscsiLunsConnectionNotFound) Error ¶
func (o *GetIscsiLunsConnectionNotFound) Error() string
func (*GetIscsiLunsConnectionNotFound) GetPayload ¶
func (o *GetIscsiLunsConnectionNotFound) GetPayload() *models.ErrorBody
type GetIscsiLunsConnectionOK ¶
type GetIscsiLunsConnectionOK struct { XTowerRequestID string Payload *models.IscsiLunConnection }
GetIscsiLunsConnectionOK describes a response with status code 200, with default header values.
GetIscsiLunsConnectionOK get iscsi luns connection o k
func NewGetIscsiLunsConnectionOK ¶
func NewGetIscsiLunsConnectionOK() *GetIscsiLunsConnectionOK
NewGetIscsiLunsConnectionOK creates a GetIscsiLunsConnectionOK with default headers values
func (*GetIscsiLunsConnectionOK) Error ¶
func (o *GetIscsiLunsConnectionOK) Error() string
func (*GetIscsiLunsConnectionOK) GetPayload ¶
func (o *GetIscsiLunsConnectionOK) GetPayload() *models.IscsiLunConnection
type GetIscsiLunsConnectionParams ¶
type GetIscsiLunsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetIscsiLunsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetIscsiLunsConnectionParams contains all the parameters to send to the API endpoint
for the get iscsi luns connection operation. Typically these are written to a http.Request.
func NewGetIscsiLunsConnectionParams ¶
func NewGetIscsiLunsConnectionParams() *GetIscsiLunsConnectionParams
NewGetIscsiLunsConnectionParams creates a new GetIscsiLunsConnectionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetIscsiLunsConnectionParamsWithContext ¶
func NewGetIscsiLunsConnectionParamsWithContext(ctx context.Context) *GetIscsiLunsConnectionParams
NewGetIscsiLunsConnectionParamsWithContext creates a new GetIscsiLunsConnectionParams object with the ability to set a context for a request.
func NewGetIscsiLunsConnectionParamsWithHTTPClient ¶
func NewGetIscsiLunsConnectionParamsWithHTTPClient(client *http.Client) *GetIscsiLunsConnectionParams
NewGetIscsiLunsConnectionParamsWithHTTPClient creates a new GetIscsiLunsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetIscsiLunsConnectionParamsWithTimeout ¶
func NewGetIscsiLunsConnectionParamsWithTimeout(timeout time.Duration) *GetIscsiLunsConnectionParams
NewGetIscsiLunsConnectionParamsWithTimeout creates a new GetIscsiLunsConnectionParams object with the ability to set a timeout on a request.
func (*GetIscsiLunsConnectionParams) SetContentLanguage ¶
func (o *GetIscsiLunsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get iscsi luns connection params
func (*GetIscsiLunsConnectionParams) SetContext ¶
func (o *GetIscsiLunsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get iscsi luns connection params
func (*GetIscsiLunsConnectionParams) SetDefaults ¶
func (o *GetIscsiLunsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get iscsi luns connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetIscsiLunsConnectionParams) SetHTTPClient ¶
func (o *GetIscsiLunsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get iscsi luns connection params
func (*GetIscsiLunsConnectionParams) SetRequestBody ¶
func (o *GetIscsiLunsConnectionParams) SetRequestBody(requestBody *models.GetIscsiLunsConnectionRequestBody)
SetRequestBody adds the requestBody to the get iscsi luns connection params
func (*GetIscsiLunsConnectionParams) SetTimeout ¶
func (o *GetIscsiLunsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get iscsi luns connection params
func (*GetIscsiLunsConnectionParams) WithContentLanguage ¶
func (o *GetIscsiLunsConnectionParams) WithContentLanguage(contentLanguage *string) *GetIscsiLunsConnectionParams
WithContentLanguage adds the contentLanguage to the get iscsi luns connection params
func (*GetIscsiLunsConnectionParams) WithContext ¶
func (o *GetIscsiLunsConnectionParams) WithContext(ctx context.Context) *GetIscsiLunsConnectionParams
WithContext adds the context to the get iscsi luns connection params
func (*GetIscsiLunsConnectionParams) WithDefaults ¶
func (o *GetIscsiLunsConnectionParams) WithDefaults() *GetIscsiLunsConnectionParams
WithDefaults hydrates default values in the get iscsi luns connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetIscsiLunsConnectionParams) WithHTTPClient ¶
func (o *GetIscsiLunsConnectionParams) WithHTTPClient(client *http.Client) *GetIscsiLunsConnectionParams
WithHTTPClient adds the HTTPClient to the get iscsi luns connection params
func (*GetIscsiLunsConnectionParams) WithRequestBody ¶
func (o *GetIscsiLunsConnectionParams) WithRequestBody(requestBody *models.GetIscsiLunsConnectionRequestBody) *GetIscsiLunsConnectionParams
WithRequestBody adds the requestBody to the get iscsi luns connection params
func (*GetIscsiLunsConnectionParams) WithTimeout ¶
func (o *GetIscsiLunsConnectionParams) WithTimeout(timeout time.Duration) *GetIscsiLunsConnectionParams
WithTimeout adds the timeout to the get iscsi luns connection params
func (*GetIscsiLunsConnectionParams) WriteToRequest ¶
func (o *GetIscsiLunsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetIscsiLunsConnectionReader ¶
type GetIscsiLunsConnectionReader struct {
// contains filtered or unexported fields
}
GetIscsiLunsConnectionReader is a Reader for the GetIscsiLunsConnection structure.
func (*GetIscsiLunsConnectionReader) ReadResponse ¶
func (o *GetIscsiLunsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetIscsiLunsInternalServerError ¶
GetIscsiLunsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetIscsiLunsInternalServerError ¶
func NewGetIscsiLunsInternalServerError() *GetIscsiLunsInternalServerError
NewGetIscsiLunsInternalServerError creates a GetIscsiLunsInternalServerError with default headers values
func (*GetIscsiLunsInternalServerError) Error ¶
func (o *GetIscsiLunsInternalServerError) Error() string
func (*GetIscsiLunsInternalServerError) GetPayload ¶
func (o *GetIscsiLunsInternalServerError) GetPayload() *models.ErrorBody
type GetIscsiLunsNotFound ¶
GetIscsiLunsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetIscsiLunsNotFound ¶
func NewGetIscsiLunsNotFound() *GetIscsiLunsNotFound
NewGetIscsiLunsNotFound creates a GetIscsiLunsNotFound with default headers values
func (*GetIscsiLunsNotFound) Error ¶
func (o *GetIscsiLunsNotFound) Error() string
func (*GetIscsiLunsNotFound) GetPayload ¶
func (o *GetIscsiLunsNotFound) GetPayload() *models.ErrorBody
type GetIscsiLunsOK ¶
GetIscsiLunsOK describes a response with status code 200, with default header values.
GetIscsiLunsOK get iscsi luns o k
func NewGetIscsiLunsOK ¶
func NewGetIscsiLunsOK() *GetIscsiLunsOK
NewGetIscsiLunsOK creates a GetIscsiLunsOK with default headers values
func (*GetIscsiLunsOK) Error ¶
func (o *GetIscsiLunsOK) Error() string
func (*GetIscsiLunsOK) GetPayload ¶
func (o *GetIscsiLunsOK) GetPayload() []*models.IscsiLun
type GetIscsiLunsParams ¶
type GetIscsiLunsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetIscsiLunsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetIscsiLunsParams contains all the parameters to send to the API endpoint
for the get iscsi luns operation. Typically these are written to a http.Request.
func NewGetIscsiLunsParams ¶
func NewGetIscsiLunsParams() *GetIscsiLunsParams
NewGetIscsiLunsParams creates a new GetIscsiLunsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetIscsiLunsParamsWithContext ¶
func NewGetIscsiLunsParamsWithContext(ctx context.Context) *GetIscsiLunsParams
NewGetIscsiLunsParamsWithContext creates a new GetIscsiLunsParams object with the ability to set a context for a request.
func NewGetIscsiLunsParamsWithHTTPClient ¶
func NewGetIscsiLunsParamsWithHTTPClient(client *http.Client) *GetIscsiLunsParams
NewGetIscsiLunsParamsWithHTTPClient creates a new GetIscsiLunsParams object with the ability to set a custom HTTPClient for a request.
func NewGetIscsiLunsParamsWithTimeout ¶
func NewGetIscsiLunsParamsWithTimeout(timeout time.Duration) *GetIscsiLunsParams
NewGetIscsiLunsParamsWithTimeout creates a new GetIscsiLunsParams object with the ability to set a timeout on a request.
func (*GetIscsiLunsParams) SetContentLanguage ¶
func (o *GetIscsiLunsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get iscsi luns params
func (*GetIscsiLunsParams) SetContext ¶
func (o *GetIscsiLunsParams) SetContext(ctx context.Context)
SetContext adds the context to the get iscsi luns params
func (*GetIscsiLunsParams) SetDefaults ¶
func (o *GetIscsiLunsParams) SetDefaults()
SetDefaults hydrates default values in the get iscsi luns params (not the query body).
All values with no default are reset to their zero value.
func (*GetIscsiLunsParams) SetHTTPClient ¶
func (o *GetIscsiLunsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get iscsi luns params
func (*GetIscsiLunsParams) SetRequestBody ¶
func (o *GetIscsiLunsParams) SetRequestBody(requestBody *models.GetIscsiLunsRequestBody)
SetRequestBody adds the requestBody to the get iscsi luns params
func (*GetIscsiLunsParams) SetTimeout ¶
func (o *GetIscsiLunsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get iscsi luns params
func (*GetIscsiLunsParams) WithContentLanguage ¶
func (o *GetIscsiLunsParams) WithContentLanguage(contentLanguage *string) *GetIscsiLunsParams
WithContentLanguage adds the contentLanguage to the get iscsi luns params
func (*GetIscsiLunsParams) WithContext ¶
func (o *GetIscsiLunsParams) WithContext(ctx context.Context) *GetIscsiLunsParams
WithContext adds the context to the get iscsi luns params
func (*GetIscsiLunsParams) WithDefaults ¶
func (o *GetIscsiLunsParams) WithDefaults() *GetIscsiLunsParams
WithDefaults hydrates default values in the get iscsi luns params (not the query body).
All values with no default are reset to their zero value.
func (*GetIscsiLunsParams) WithHTTPClient ¶
func (o *GetIscsiLunsParams) WithHTTPClient(client *http.Client) *GetIscsiLunsParams
WithHTTPClient adds the HTTPClient to the get iscsi luns params
func (*GetIscsiLunsParams) WithRequestBody ¶
func (o *GetIscsiLunsParams) WithRequestBody(requestBody *models.GetIscsiLunsRequestBody) *GetIscsiLunsParams
WithRequestBody adds the requestBody to the get iscsi luns params
func (*GetIscsiLunsParams) WithTimeout ¶
func (o *GetIscsiLunsParams) WithTimeout(timeout time.Duration) *GetIscsiLunsParams
WithTimeout adds the timeout to the get iscsi luns params
func (*GetIscsiLunsParams) WriteToRequest ¶
func (o *GetIscsiLunsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetIscsiLunsReader ¶
type GetIscsiLunsReader struct {
// contains filtered or unexported fields
}
GetIscsiLunsReader is a Reader for the GetIscsiLuns structure.
func (*GetIscsiLunsReader) ReadResponse ¶
func (o *GetIscsiLunsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RollbackIscsiLunFromSnapshotBadRequest ¶
type RollbackIscsiLunFromSnapshotBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
RollbackIscsiLunFromSnapshotBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRollbackIscsiLunFromSnapshotBadRequest ¶
func NewRollbackIscsiLunFromSnapshotBadRequest() *RollbackIscsiLunFromSnapshotBadRequest
NewRollbackIscsiLunFromSnapshotBadRequest creates a RollbackIscsiLunFromSnapshotBadRequest with default headers values
func (*RollbackIscsiLunFromSnapshotBadRequest) Error ¶
func (o *RollbackIscsiLunFromSnapshotBadRequest) Error() string
func (*RollbackIscsiLunFromSnapshotBadRequest) GetPayload ¶
func (o *RollbackIscsiLunFromSnapshotBadRequest) GetPayload() *models.ErrorBody
type RollbackIscsiLunFromSnapshotInternalServerError ¶
type RollbackIscsiLunFromSnapshotInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
RollbackIscsiLunFromSnapshotInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRollbackIscsiLunFromSnapshotInternalServerError ¶
func NewRollbackIscsiLunFromSnapshotInternalServerError() *RollbackIscsiLunFromSnapshotInternalServerError
NewRollbackIscsiLunFromSnapshotInternalServerError creates a RollbackIscsiLunFromSnapshotInternalServerError with default headers values
func (*RollbackIscsiLunFromSnapshotInternalServerError) Error ¶
func (o *RollbackIscsiLunFromSnapshotInternalServerError) Error() string
func (*RollbackIscsiLunFromSnapshotInternalServerError) GetPayload ¶
func (o *RollbackIscsiLunFromSnapshotInternalServerError) GetPayload() *models.ErrorBody
type RollbackIscsiLunFromSnapshotNotFound ¶
type RollbackIscsiLunFromSnapshotNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
RollbackIscsiLunFromSnapshotNotFound describes a response with status code 404, with default header values.
Not found
func NewRollbackIscsiLunFromSnapshotNotFound ¶
func NewRollbackIscsiLunFromSnapshotNotFound() *RollbackIscsiLunFromSnapshotNotFound
NewRollbackIscsiLunFromSnapshotNotFound creates a RollbackIscsiLunFromSnapshotNotFound with default headers values
func (*RollbackIscsiLunFromSnapshotNotFound) Error ¶
func (o *RollbackIscsiLunFromSnapshotNotFound) Error() string
func (*RollbackIscsiLunFromSnapshotNotFound) GetPayload ¶
func (o *RollbackIscsiLunFromSnapshotNotFound) GetPayload() *models.ErrorBody
type RollbackIscsiLunFromSnapshotOK ¶
type RollbackIscsiLunFromSnapshotOK struct { XTowerRequestID string Payload []*models.WithTaskIscsiLun }
RollbackIscsiLunFromSnapshotOK describes a response with status code 200, with default header values.
RollbackIscsiLunFromSnapshotOK rollback iscsi lun from snapshot o k
func NewRollbackIscsiLunFromSnapshotOK ¶
func NewRollbackIscsiLunFromSnapshotOK() *RollbackIscsiLunFromSnapshotOK
NewRollbackIscsiLunFromSnapshotOK creates a RollbackIscsiLunFromSnapshotOK with default headers values
func (*RollbackIscsiLunFromSnapshotOK) Error ¶
func (o *RollbackIscsiLunFromSnapshotOK) Error() string
func (*RollbackIscsiLunFromSnapshotOK) GetPayload ¶
func (o *RollbackIscsiLunFromSnapshotOK) GetPayload() []*models.WithTaskIscsiLun
type RollbackIscsiLunFromSnapshotParams ¶
type RollbackIscsiLunFromSnapshotParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.IscsiLunRollbackParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RollbackIscsiLunFromSnapshotParams contains all the parameters to send to the API endpoint
for the rollback iscsi lun from snapshot operation. Typically these are written to a http.Request.
func NewRollbackIscsiLunFromSnapshotParams ¶
func NewRollbackIscsiLunFromSnapshotParams() *RollbackIscsiLunFromSnapshotParams
NewRollbackIscsiLunFromSnapshotParams creates a new RollbackIscsiLunFromSnapshotParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRollbackIscsiLunFromSnapshotParamsWithContext ¶
func NewRollbackIscsiLunFromSnapshotParamsWithContext(ctx context.Context) *RollbackIscsiLunFromSnapshotParams
NewRollbackIscsiLunFromSnapshotParamsWithContext creates a new RollbackIscsiLunFromSnapshotParams object with the ability to set a context for a request.
func NewRollbackIscsiLunFromSnapshotParamsWithHTTPClient ¶
func NewRollbackIscsiLunFromSnapshotParamsWithHTTPClient(client *http.Client) *RollbackIscsiLunFromSnapshotParams
NewRollbackIscsiLunFromSnapshotParamsWithHTTPClient creates a new RollbackIscsiLunFromSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewRollbackIscsiLunFromSnapshotParamsWithTimeout ¶
func NewRollbackIscsiLunFromSnapshotParamsWithTimeout(timeout time.Duration) *RollbackIscsiLunFromSnapshotParams
NewRollbackIscsiLunFromSnapshotParamsWithTimeout creates a new RollbackIscsiLunFromSnapshotParams object with the ability to set a timeout on a request.
func (*RollbackIscsiLunFromSnapshotParams) SetContentLanguage ¶
func (o *RollbackIscsiLunFromSnapshotParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the rollback iscsi lun from snapshot params
func (*RollbackIscsiLunFromSnapshotParams) SetContext ¶
func (o *RollbackIscsiLunFromSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the rollback iscsi lun from snapshot params
func (*RollbackIscsiLunFromSnapshotParams) SetDefaults ¶
func (o *RollbackIscsiLunFromSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the rollback iscsi lun from snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*RollbackIscsiLunFromSnapshotParams) SetHTTPClient ¶
func (o *RollbackIscsiLunFromSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the rollback iscsi lun from snapshot params
func (*RollbackIscsiLunFromSnapshotParams) SetRequestBody ¶
func (o *RollbackIscsiLunFromSnapshotParams) SetRequestBody(requestBody []*models.IscsiLunRollbackParams)
SetRequestBody adds the requestBody to the rollback iscsi lun from snapshot params
func (*RollbackIscsiLunFromSnapshotParams) SetTimeout ¶
func (o *RollbackIscsiLunFromSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rollback iscsi lun from snapshot params
func (*RollbackIscsiLunFromSnapshotParams) WithContentLanguage ¶
func (o *RollbackIscsiLunFromSnapshotParams) WithContentLanguage(contentLanguage *string) *RollbackIscsiLunFromSnapshotParams
WithContentLanguage adds the contentLanguage to the rollback iscsi lun from snapshot params
func (*RollbackIscsiLunFromSnapshotParams) WithContext ¶
func (o *RollbackIscsiLunFromSnapshotParams) WithContext(ctx context.Context) *RollbackIscsiLunFromSnapshotParams
WithContext adds the context to the rollback iscsi lun from snapshot params
func (*RollbackIscsiLunFromSnapshotParams) WithDefaults ¶
func (o *RollbackIscsiLunFromSnapshotParams) WithDefaults() *RollbackIscsiLunFromSnapshotParams
WithDefaults hydrates default values in the rollback iscsi lun from snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*RollbackIscsiLunFromSnapshotParams) WithHTTPClient ¶
func (o *RollbackIscsiLunFromSnapshotParams) WithHTTPClient(client *http.Client) *RollbackIscsiLunFromSnapshotParams
WithHTTPClient adds the HTTPClient to the rollback iscsi lun from snapshot params
func (*RollbackIscsiLunFromSnapshotParams) WithRequestBody ¶
func (o *RollbackIscsiLunFromSnapshotParams) WithRequestBody(requestBody []*models.IscsiLunRollbackParams) *RollbackIscsiLunFromSnapshotParams
WithRequestBody adds the requestBody to the rollback iscsi lun from snapshot params
func (*RollbackIscsiLunFromSnapshotParams) WithTimeout ¶
func (o *RollbackIscsiLunFromSnapshotParams) WithTimeout(timeout time.Duration) *RollbackIscsiLunFromSnapshotParams
WithTimeout adds the timeout to the rollback iscsi lun from snapshot params
func (*RollbackIscsiLunFromSnapshotParams) WriteToRequest ¶
func (o *RollbackIscsiLunFromSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RollbackIscsiLunFromSnapshotReader ¶
type RollbackIscsiLunFromSnapshotReader struct {
// contains filtered or unexported fields
}
RollbackIscsiLunFromSnapshotReader is a Reader for the RollbackIscsiLunFromSnapshot structure.
func (*RollbackIscsiLunFromSnapshotReader) ReadResponse ¶
func (o *RollbackIscsiLunFromSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateIscsiLunBadRequest ¶
UpdateIscsiLunBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateIscsiLunBadRequest ¶
func NewUpdateIscsiLunBadRequest() *UpdateIscsiLunBadRequest
NewUpdateIscsiLunBadRequest creates a UpdateIscsiLunBadRequest with default headers values
func (*UpdateIscsiLunBadRequest) Error ¶
func (o *UpdateIscsiLunBadRequest) Error() string
func (*UpdateIscsiLunBadRequest) GetPayload ¶
func (o *UpdateIscsiLunBadRequest) GetPayload() *models.ErrorBody
type UpdateIscsiLunInternalServerError ¶
UpdateIscsiLunInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateIscsiLunInternalServerError ¶
func NewUpdateIscsiLunInternalServerError() *UpdateIscsiLunInternalServerError
NewUpdateIscsiLunInternalServerError creates a UpdateIscsiLunInternalServerError with default headers values
func (*UpdateIscsiLunInternalServerError) Error ¶
func (o *UpdateIscsiLunInternalServerError) Error() string
func (*UpdateIscsiLunInternalServerError) GetPayload ¶
func (o *UpdateIscsiLunInternalServerError) GetPayload() *models.ErrorBody
type UpdateIscsiLunNotFound ¶
UpdateIscsiLunNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateIscsiLunNotFound ¶
func NewUpdateIscsiLunNotFound() *UpdateIscsiLunNotFound
NewUpdateIscsiLunNotFound creates a UpdateIscsiLunNotFound with default headers values
func (*UpdateIscsiLunNotFound) Error ¶
func (o *UpdateIscsiLunNotFound) Error() string
func (*UpdateIscsiLunNotFound) GetPayload ¶
func (o *UpdateIscsiLunNotFound) GetPayload() *models.ErrorBody
type UpdateIscsiLunOK ¶
type UpdateIscsiLunOK struct { XTowerRequestID string Payload []*models.WithTaskIscsiLun }
UpdateIscsiLunOK describes a response with status code 200, with default header values.
UpdateIscsiLunOK update iscsi lun o k
func NewUpdateIscsiLunOK ¶
func NewUpdateIscsiLunOK() *UpdateIscsiLunOK
NewUpdateIscsiLunOK creates a UpdateIscsiLunOK with default headers values
func (*UpdateIscsiLunOK) Error ¶
func (o *UpdateIscsiLunOK) Error() string
func (*UpdateIscsiLunOK) GetPayload ¶
func (o *UpdateIscsiLunOK) GetPayload() []*models.WithTaskIscsiLun
type UpdateIscsiLunParams ¶
type UpdateIscsiLunParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.IscsiLunUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateIscsiLunParams contains all the parameters to send to the API endpoint
for the update iscsi lun operation. Typically these are written to a http.Request.
func NewUpdateIscsiLunParams ¶
func NewUpdateIscsiLunParams() *UpdateIscsiLunParams
NewUpdateIscsiLunParams creates a new UpdateIscsiLunParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateIscsiLunParamsWithContext ¶
func NewUpdateIscsiLunParamsWithContext(ctx context.Context) *UpdateIscsiLunParams
NewUpdateIscsiLunParamsWithContext creates a new UpdateIscsiLunParams object with the ability to set a context for a request.
func NewUpdateIscsiLunParamsWithHTTPClient ¶
func NewUpdateIscsiLunParamsWithHTTPClient(client *http.Client) *UpdateIscsiLunParams
NewUpdateIscsiLunParamsWithHTTPClient creates a new UpdateIscsiLunParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateIscsiLunParamsWithTimeout ¶
func NewUpdateIscsiLunParamsWithTimeout(timeout time.Duration) *UpdateIscsiLunParams
NewUpdateIscsiLunParamsWithTimeout creates a new UpdateIscsiLunParams object with the ability to set a timeout on a request.
func (*UpdateIscsiLunParams) SetContentLanguage ¶
func (o *UpdateIscsiLunParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update iscsi lun params
func (*UpdateIscsiLunParams) SetContext ¶
func (o *UpdateIscsiLunParams) SetContext(ctx context.Context)
SetContext adds the context to the update iscsi lun params
func (*UpdateIscsiLunParams) SetDefaults ¶
func (o *UpdateIscsiLunParams) SetDefaults()
SetDefaults hydrates default values in the update iscsi lun params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateIscsiLunParams) SetHTTPClient ¶
func (o *UpdateIscsiLunParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update iscsi lun params
func (*UpdateIscsiLunParams) SetRequestBody ¶
func (o *UpdateIscsiLunParams) SetRequestBody(requestBody *models.IscsiLunUpdationParams)
SetRequestBody adds the requestBody to the update iscsi lun params
func (*UpdateIscsiLunParams) SetTimeout ¶
func (o *UpdateIscsiLunParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update iscsi lun params
func (*UpdateIscsiLunParams) WithContentLanguage ¶
func (o *UpdateIscsiLunParams) WithContentLanguage(contentLanguage *string) *UpdateIscsiLunParams
WithContentLanguage adds the contentLanguage to the update iscsi lun params
func (*UpdateIscsiLunParams) WithContext ¶
func (o *UpdateIscsiLunParams) WithContext(ctx context.Context) *UpdateIscsiLunParams
WithContext adds the context to the update iscsi lun params
func (*UpdateIscsiLunParams) WithDefaults ¶
func (o *UpdateIscsiLunParams) WithDefaults() *UpdateIscsiLunParams
WithDefaults hydrates default values in the update iscsi lun params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateIscsiLunParams) WithHTTPClient ¶
func (o *UpdateIscsiLunParams) WithHTTPClient(client *http.Client) *UpdateIscsiLunParams
WithHTTPClient adds the HTTPClient to the update iscsi lun params
func (*UpdateIscsiLunParams) WithRequestBody ¶
func (o *UpdateIscsiLunParams) WithRequestBody(requestBody *models.IscsiLunUpdationParams) *UpdateIscsiLunParams
WithRequestBody adds the requestBody to the update iscsi lun params
func (*UpdateIscsiLunParams) WithTimeout ¶
func (o *UpdateIscsiLunParams) WithTimeout(timeout time.Duration) *UpdateIscsiLunParams
WithTimeout adds the timeout to the update iscsi lun params
func (*UpdateIscsiLunParams) WriteToRequest ¶
func (o *UpdateIscsiLunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateIscsiLunReader ¶
type UpdateIscsiLunReader struct {
// contains filtered or unexported fields
}
UpdateIscsiLunReader is a Reader for the UpdateIscsiLun structure.
func (*UpdateIscsiLunReader) ReadResponse ¶
func (o *UpdateIscsiLunReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- clone_iscsi_lun_from_snapshot_parameters.go
- clone_iscsi_lun_from_snapshot_responses.go
- copy_iscsi_lun_parameters.go
- copy_iscsi_lun_responses.go
- create_iscsi_lun_parameters.go
- create_iscsi_lun_responses.go
- delete_iscsi_lun_parameters.go
- delete_iscsi_lun_responses.go
- get_iscsi_luns_connection_parameters.go
- get_iscsi_luns_connection_responses.go
- get_iscsi_luns_parameters.go
- get_iscsi_luns_responses.go
- iscsi_lun_client.go
- rollback_iscsi_lun_from_snapshot_parameters.go
- rollback_iscsi_lun_from_snapshot_responses.go
- update_iscsi_lun_parameters.go
- update_iscsi_lun_responses.go