iscsi_lun

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 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) 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) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	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)

	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 CreateIscsiLunBadRequest

type CreateIscsiLunBadRequest struct {
	XAocRequestID 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 {
	XAocRequestID 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 {
	XAocRequestID 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 {
	XAocRequestID 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 {
	XAocRequestID 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 {
	XAocRequestID 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 {
	XAocRequestID 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 {
	XAocRequestID 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 {
	XAocRequestID 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 {
	XAocRequestID 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 {
	XAocRequestID 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 {
	XAocRequestID 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 {
	XAocRequestID 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 {
	XAocRequestID 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 {
	XAocRequestID 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 {
	XAocRequestID 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.

Jump to

Keyboard shortcuts

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