iscsi_lun

package
v2.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2024 License: ISC Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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 (*CloneIscsiLunFromSnapshotBadRequest) GetPayload

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 (*CloneIscsiLunFromSnapshotInternalServerError) GetPayload

type CloneIscsiLunFromSnapshotNotFound

type CloneIscsiLunFromSnapshotNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*CloneIscsiLunFromSnapshotNotFound) GetPayload

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 (*CloneIscsiLunFromSnapshotOK) GetPayload

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

WithContext adds the context to the clone iscsi lun from snapshot params

func (*CloneIscsiLunFromSnapshotParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the clone iscsi lun from snapshot params

func (*CloneIscsiLunFromSnapshotParams) WithRequestBody

WithRequestBody adds the requestBody to the clone iscsi lun from snapshot params

func (*CloneIscsiLunFromSnapshotParams) WithTimeout

WithTimeout adds the timeout to the clone iscsi lun from snapshot params

func (*CloneIscsiLunFromSnapshotParams) WriteToRequest

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

type CopyIscsiLunBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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

type CopyIscsiLunInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*CopyIscsiLunInternalServerError) GetPayload added in v2.14.0

type CopyIscsiLunNotFound added in v2.14.0

type CopyIscsiLunNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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

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

type CreateIscsiLunBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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

type CreateIscsiLunInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*CreateIscsiLunInternalServerError) GetPayload

type CreateIscsiLunNotFound

type CreateIscsiLunNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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

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

type DeleteIscsiLunBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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

type DeleteIscsiLunInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*DeleteIscsiLunInternalServerError) GetPayload

type DeleteIscsiLunNotFound

type DeleteIscsiLunNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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

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

type GetIscsiLunsBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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

type GetIscsiLunsConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*GetIscsiLunsConnectionBadRequest) GetPayload

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 (*GetIscsiLunsConnectionInternalServerError) GetPayload

type GetIscsiLunsConnectionNotFound

type GetIscsiLunsConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*GetIscsiLunsConnectionNotFound) GetPayload

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

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

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

WithContext adds the context to the get iscsi luns connection params

func (*GetIscsiLunsConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get iscsi luns connection params

func (*GetIscsiLunsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get iscsi luns connection params

func (*GetIscsiLunsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get iscsi luns connection params

func (*GetIscsiLunsConnectionParams) WriteToRequest

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

type GetIscsiLunsInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*GetIscsiLunsInternalServerError) GetPayload

type GetIscsiLunsNotFound

type GetIscsiLunsNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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

type GetIscsiLunsOK struct {
	XTowerRequestID string

	Payload []*models.IscsiLun
}
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

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 (*RollbackIscsiLunFromSnapshotBadRequest) GetPayload

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 (*RollbackIscsiLunFromSnapshotInternalServerError) GetPayload

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 (*RollbackIscsiLunFromSnapshotNotFound) GetPayload

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 (*RollbackIscsiLunFromSnapshotOK) GetPayload

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

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

WithContext adds the context to the rollback iscsi lun from snapshot params

func (*RollbackIscsiLunFromSnapshotParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the rollback iscsi lun from snapshot params

func (*RollbackIscsiLunFromSnapshotParams) WithRequestBody

WithRequestBody adds the requestBody to the rollback iscsi lun from snapshot params

func (*RollbackIscsiLunFromSnapshotParams) WithTimeout

WithTimeout adds the timeout to the rollback iscsi lun from snapshot params

func (*RollbackIscsiLunFromSnapshotParams) WriteToRequest

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

type UpdateIscsiLunBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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

type UpdateIscsiLunInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*UpdateIscsiLunInternalServerError) GetPayload

type UpdateIscsiLunNotFound

type UpdateIscsiLunNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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

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.

Jump to

Keyboard shortcuts

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