iscsi_connection

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 connection API

func (*Client) GetIscsiConnections

func (a *Client) GetIscsiConnections(params *GetIscsiConnectionsParams, opts ...ClientOption) (*GetIscsiConnectionsOK, error)

GetIscsiConnections get iscsi connections API

func (*Client) GetIscsiConnectionsConnection

func (a *Client) GetIscsiConnectionsConnection(params *GetIscsiConnectionsConnectionParams, opts ...ClientOption) (*GetIscsiConnectionsConnectionOK, error)

GetIscsiConnectionsConnection get iscsi connections 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 {
	GetIscsiConnections(params *GetIscsiConnectionsParams, opts ...ClientOption) (*GetIscsiConnectionsOK, error)

	GetIscsiConnectionsConnection(params *GetIscsiConnectionsConnectionParams, opts ...ClientOption) (*GetIscsiConnectionsConnectionOK, 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 connection API client.

type GetIscsiConnectionsBadRequest

type GetIscsiConnectionsBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetIscsiConnectionsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetIscsiConnectionsBadRequest

func NewGetIscsiConnectionsBadRequest() *GetIscsiConnectionsBadRequest

NewGetIscsiConnectionsBadRequest creates a GetIscsiConnectionsBadRequest with default headers values

func (*GetIscsiConnectionsBadRequest) Error

func (*GetIscsiConnectionsBadRequest) GetPayload

type GetIscsiConnectionsConnectionBadRequest

type GetIscsiConnectionsConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetIscsiConnectionsConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetIscsiConnectionsConnectionBadRequest

func NewGetIscsiConnectionsConnectionBadRequest() *GetIscsiConnectionsConnectionBadRequest

NewGetIscsiConnectionsConnectionBadRequest creates a GetIscsiConnectionsConnectionBadRequest with default headers values

func (*GetIscsiConnectionsConnectionBadRequest) Error

func (*GetIscsiConnectionsConnectionBadRequest) GetPayload

type GetIscsiConnectionsConnectionInternalServerError

type GetIscsiConnectionsConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetIscsiConnectionsConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetIscsiConnectionsConnectionInternalServerError

func NewGetIscsiConnectionsConnectionInternalServerError() *GetIscsiConnectionsConnectionInternalServerError

NewGetIscsiConnectionsConnectionInternalServerError creates a GetIscsiConnectionsConnectionInternalServerError with default headers values

func (*GetIscsiConnectionsConnectionInternalServerError) Error

func (*GetIscsiConnectionsConnectionInternalServerError) GetPayload

type GetIscsiConnectionsConnectionNotFound

type GetIscsiConnectionsConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetIscsiConnectionsConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetIscsiConnectionsConnectionNotFound

func NewGetIscsiConnectionsConnectionNotFound() *GetIscsiConnectionsConnectionNotFound

NewGetIscsiConnectionsConnectionNotFound creates a GetIscsiConnectionsConnectionNotFound with default headers values

func (*GetIscsiConnectionsConnectionNotFound) Error

func (*GetIscsiConnectionsConnectionNotFound) GetPayload

type GetIscsiConnectionsConnectionOK

type GetIscsiConnectionsConnectionOK struct {
	XTowerRequestID string

	Payload *models.IscsiConnectionConnection
}
GetIscsiConnectionsConnectionOK describes a response with status code 200, with default header values.

GetIscsiConnectionsConnectionOK get iscsi connections connection o k

func NewGetIscsiConnectionsConnectionOK

func NewGetIscsiConnectionsConnectionOK() *GetIscsiConnectionsConnectionOK

NewGetIscsiConnectionsConnectionOK creates a GetIscsiConnectionsConnectionOK with default headers values

func (*GetIscsiConnectionsConnectionOK) Error

func (*GetIscsiConnectionsConnectionOK) GetPayload

type GetIscsiConnectionsConnectionParams

type GetIscsiConnectionsConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetIscsiConnectionsConnectionRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetIscsiConnectionsConnectionParams contains all the parameters to send to the API endpoint

for the get iscsi connections connection operation.

Typically these are written to a http.Request.

func NewGetIscsiConnectionsConnectionParams

func NewGetIscsiConnectionsConnectionParams() *GetIscsiConnectionsConnectionParams

NewGetIscsiConnectionsConnectionParams creates a new GetIscsiConnectionsConnectionParams 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 NewGetIscsiConnectionsConnectionParamsWithContext

func NewGetIscsiConnectionsConnectionParamsWithContext(ctx context.Context) *GetIscsiConnectionsConnectionParams

NewGetIscsiConnectionsConnectionParamsWithContext creates a new GetIscsiConnectionsConnectionParams object with the ability to set a context for a request.

func NewGetIscsiConnectionsConnectionParamsWithHTTPClient

func NewGetIscsiConnectionsConnectionParamsWithHTTPClient(client *http.Client) *GetIscsiConnectionsConnectionParams

NewGetIscsiConnectionsConnectionParamsWithHTTPClient creates a new GetIscsiConnectionsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetIscsiConnectionsConnectionParamsWithTimeout

func NewGetIscsiConnectionsConnectionParamsWithTimeout(timeout time.Duration) *GetIscsiConnectionsConnectionParams

NewGetIscsiConnectionsConnectionParamsWithTimeout creates a new GetIscsiConnectionsConnectionParams object with the ability to set a timeout on a request.

func (*GetIscsiConnectionsConnectionParams) SetContentLanguage

func (o *GetIscsiConnectionsConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get iscsi connections connection params

func (*GetIscsiConnectionsConnectionParams) SetContext

SetContext adds the context to the get iscsi connections connection params

func (*GetIscsiConnectionsConnectionParams) SetDefaults

func (o *GetIscsiConnectionsConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get iscsi connections connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetIscsiConnectionsConnectionParams) SetHTTPClient

func (o *GetIscsiConnectionsConnectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get iscsi connections connection params

func (*GetIscsiConnectionsConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get iscsi connections connection params

func (*GetIscsiConnectionsConnectionParams) SetTimeout

func (o *GetIscsiConnectionsConnectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get iscsi connections connection params

func (*GetIscsiConnectionsConnectionParams) WithContentLanguage

func (o *GetIscsiConnectionsConnectionParams) WithContentLanguage(contentLanguage *string) *GetIscsiConnectionsConnectionParams

WithContentLanguage adds the contentLanguage to the get iscsi connections connection params

func (*GetIscsiConnectionsConnectionParams) WithContext

WithContext adds the context to the get iscsi connections connection params

func (*GetIscsiConnectionsConnectionParams) WithDefaults

WithDefaults hydrates default values in the get iscsi connections connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetIscsiConnectionsConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get iscsi connections connection params

func (*GetIscsiConnectionsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get iscsi connections connection params

func (*GetIscsiConnectionsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get iscsi connections connection params

func (*GetIscsiConnectionsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetIscsiConnectionsConnectionReader

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

GetIscsiConnectionsConnectionReader is a Reader for the GetIscsiConnectionsConnection structure.

func (*GetIscsiConnectionsConnectionReader) ReadResponse

func (o *GetIscsiConnectionsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetIscsiConnectionsInternalServerError

type GetIscsiConnectionsInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetIscsiConnectionsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetIscsiConnectionsInternalServerError

func NewGetIscsiConnectionsInternalServerError() *GetIscsiConnectionsInternalServerError

NewGetIscsiConnectionsInternalServerError creates a GetIscsiConnectionsInternalServerError with default headers values

func (*GetIscsiConnectionsInternalServerError) Error

func (*GetIscsiConnectionsInternalServerError) GetPayload

type GetIscsiConnectionsNotFound

type GetIscsiConnectionsNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetIscsiConnectionsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetIscsiConnectionsNotFound

func NewGetIscsiConnectionsNotFound() *GetIscsiConnectionsNotFound

NewGetIscsiConnectionsNotFound creates a GetIscsiConnectionsNotFound with default headers values

func (*GetIscsiConnectionsNotFound) Error

func (*GetIscsiConnectionsNotFound) GetPayload

func (o *GetIscsiConnectionsNotFound) GetPayload() *models.ErrorBody

type GetIscsiConnectionsOK

type GetIscsiConnectionsOK struct {
	XTowerRequestID string

	Payload []*models.IscsiConnection
}
GetIscsiConnectionsOK describes a response with status code 200, with default header values.

GetIscsiConnectionsOK get iscsi connections o k

func NewGetIscsiConnectionsOK

func NewGetIscsiConnectionsOK() *GetIscsiConnectionsOK

NewGetIscsiConnectionsOK creates a GetIscsiConnectionsOK with default headers values

func (*GetIscsiConnectionsOK) Error

func (o *GetIscsiConnectionsOK) Error() string

func (*GetIscsiConnectionsOK) GetPayload

func (o *GetIscsiConnectionsOK) GetPayload() []*models.IscsiConnection

type GetIscsiConnectionsParams

type GetIscsiConnectionsParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetIscsiConnectionsRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetIscsiConnectionsParams contains all the parameters to send to the API endpoint

for the get iscsi connections operation.

Typically these are written to a http.Request.

func NewGetIscsiConnectionsParams

func NewGetIscsiConnectionsParams() *GetIscsiConnectionsParams

NewGetIscsiConnectionsParams creates a new GetIscsiConnectionsParams 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 NewGetIscsiConnectionsParamsWithContext

func NewGetIscsiConnectionsParamsWithContext(ctx context.Context) *GetIscsiConnectionsParams

NewGetIscsiConnectionsParamsWithContext creates a new GetIscsiConnectionsParams object with the ability to set a context for a request.

func NewGetIscsiConnectionsParamsWithHTTPClient

func NewGetIscsiConnectionsParamsWithHTTPClient(client *http.Client) *GetIscsiConnectionsParams

NewGetIscsiConnectionsParamsWithHTTPClient creates a new GetIscsiConnectionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetIscsiConnectionsParamsWithTimeout

func NewGetIscsiConnectionsParamsWithTimeout(timeout time.Duration) *GetIscsiConnectionsParams

NewGetIscsiConnectionsParamsWithTimeout creates a new GetIscsiConnectionsParams object with the ability to set a timeout on a request.

func (*GetIscsiConnectionsParams) SetContentLanguage

func (o *GetIscsiConnectionsParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get iscsi connections params

func (*GetIscsiConnectionsParams) SetContext

func (o *GetIscsiConnectionsParams) SetContext(ctx context.Context)

SetContext adds the context to the get iscsi connections params

func (*GetIscsiConnectionsParams) SetDefaults

func (o *GetIscsiConnectionsParams) SetDefaults()

SetDefaults hydrates default values in the get iscsi connections params (not the query body).

All values with no default are reset to their zero value.

func (*GetIscsiConnectionsParams) SetHTTPClient

func (o *GetIscsiConnectionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get iscsi connections params

func (*GetIscsiConnectionsParams) SetRequestBody

func (o *GetIscsiConnectionsParams) SetRequestBody(requestBody *models.GetIscsiConnectionsRequestBody)

SetRequestBody adds the requestBody to the get iscsi connections params

func (*GetIscsiConnectionsParams) SetTimeout

func (o *GetIscsiConnectionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get iscsi connections params

func (*GetIscsiConnectionsParams) WithContentLanguage

func (o *GetIscsiConnectionsParams) WithContentLanguage(contentLanguage *string) *GetIscsiConnectionsParams

WithContentLanguage adds the contentLanguage to the get iscsi connections params

func (*GetIscsiConnectionsParams) WithContext

WithContext adds the context to the get iscsi connections params

func (*GetIscsiConnectionsParams) WithDefaults

WithDefaults hydrates default values in the get iscsi connections params (not the query body).

All values with no default are reset to their zero value.

func (*GetIscsiConnectionsParams) WithHTTPClient

func (o *GetIscsiConnectionsParams) WithHTTPClient(client *http.Client) *GetIscsiConnectionsParams

WithHTTPClient adds the HTTPClient to the get iscsi connections params

func (*GetIscsiConnectionsParams) WithRequestBody

WithRequestBody adds the requestBody to the get iscsi connections params

func (*GetIscsiConnectionsParams) WithTimeout

WithTimeout adds the timeout to the get iscsi connections params

func (*GetIscsiConnectionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetIscsiConnectionsReader

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

GetIscsiConnectionsReader is a Reader for the GetIscsiConnections structure.

func (*GetIscsiConnectionsReader) ReadResponse

func (o *GetIscsiConnectionsReader) 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