iscsi_lun

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT 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) 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)

	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 {
	Payload string
}
CloneIscsiLunFromSnapshotBadRequest describes a response with status code 400, with default header values.

CloneIscsiLunFromSnapshotBadRequest clone iscsi lun from snapshot bad request

func NewCloneIscsiLunFromSnapshotBadRequest

func NewCloneIscsiLunFromSnapshotBadRequest() *CloneIscsiLunFromSnapshotBadRequest

NewCloneIscsiLunFromSnapshotBadRequest creates a CloneIscsiLunFromSnapshotBadRequest with default headers values

func (*CloneIscsiLunFromSnapshotBadRequest) Error

func (*CloneIscsiLunFromSnapshotBadRequest) GetPayload

type CloneIscsiLunFromSnapshotOK

type CloneIscsiLunFromSnapshotOK struct {
	Payload []*models.WithTaskIscsiLun
}
CloneIscsiLunFromSnapshotOK describes a response with status code 200, with default header values.

Ok

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 CreateIscsiLunBadRequest

type CreateIscsiLunBadRequest struct {
	Payload string
}
CreateIscsiLunBadRequest describes a response with status code 400, with default header values.

CreateIscsiLunBadRequest create iscsi lun 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() string

type CreateIscsiLunOK

type CreateIscsiLunOK struct {
	Payload []*models.WithTaskIscsiLun
}
CreateIscsiLunOK describes a response with status code 200, with default header values.

Ok

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 {
	Payload string
}
DeleteIscsiLunBadRequest describes a response with status code 400, with default header values.

DeleteIscsiLunBadRequest delete iscsi lun 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() string

type DeleteIscsiLunOK

type DeleteIscsiLunOK struct {
	Payload []*models.WithTaskDeleteIscsiLun
}
DeleteIscsiLunOK describes a response with status code 200, with default header values.

Ok

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 {
	Payload string
}
GetIscsiLunsBadRequest describes a response with status code 400, with default header values.

GetIscsiLunsBadRequest get iscsi luns 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() string

type GetIscsiLunsConnectionBadRequest

type GetIscsiLunsConnectionBadRequest struct {
	Payload string
}
GetIscsiLunsConnectionBadRequest describes a response with status code 400, with default header values.

GetIscsiLunsConnectionBadRequest get iscsi luns connection bad request

func NewGetIscsiLunsConnectionBadRequest

func NewGetIscsiLunsConnectionBadRequest() *GetIscsiLunsConnectionBadRequest

NewGetIscsiLunsConnectionBadRequest creates a GetIscsiLunsConnectionBadRequest with default headers values

func (*GetIscsiLunsConnectionBadRequest) Error

func (*GetIscsiLunsConnectionBadRequest) GetPayload

func (o *GetIscsiLunsConnectionBadRequest) GetPayload() string

type GetIscsiLunsConnectionOK

type GetIscsiLunsConnectionOK struct {
	Payload *models.IscsiLunConnection
}
GetIscsiLunsConnectionOK describes a response with status code 200, with default header values.

Ok

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 GetIscsiLunsOK

type GetIscsiLunsOK struct {
	Payload []*models.IscsiLun
}
GetIscsiLunsOK describes a response with status code 200, with default header values.

Ok

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 {
	Payload string
}
RollbackIscsiLunFromSnapshotBadRequest describes a response with status code 400, with default header values.

RollbackIscsiLunFromSnapshotBadRequest rollback iscsi lun from snapshot bad request

func NewRollbackIscsiLunFromSnapshotBadRequest

func NewRollbackIscsiLunFromSnapshotBadRequest() *RollbackIscsiLunFromSnapshotBadRequest

NewRollbackIscsiLunFromSnapshotBadRequest creates a RollbackIscsiLunFromSnapshotBadRequest with default headers values

func (*RollbackIscsiLunFromSnapshotBadRequest) Error

func (*RollbackIscsiLunFromSnapshotBadRequest) GetPayload

type RollbackIscsiLunFromSnapshotOK

type RollbackIscsiLunFromSnapshotOK struct {
	Payload []*models.WithTaskIscsiLun
}
RollbackIscsiLunFromSnapshotOK describes a response with status code 200, with default header values.

Ok

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 {
	Payload string
}
UpdateIscsiLunBadRequest describes a response with status code 400, with default header values.

UpdateIscsiLunBadRequest update iscsi lun 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() string

type UpdateIscsiLunOK

type UpdateIscsiLunOK struct {
	Payload []*models.WithTaskIscsiLun
}
UpdateIscsiLunOK describes a response with status code 200, with default header values.

Ok

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