iscsi_connection

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 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 added in v1.10.0

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 {
	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 added in v1.10.0

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

Bad request

func NewGetIscsiConnectionsConnectionBadRequest added in v1.10.0

func NewGetIscsiConnectionsConnectionBadRequest() *GetIscsiConnectionsConnectionBadRequest

NewGetIscsiConnectionsConnectionBadRequest creates a GetIscsiConnectionsConnectionBadRequest with default headers values

func (*GetIscsiConnectionsConnectionBadRequest) Error added in v1.10.0

func (*GetIscsiConnectionsConnectionBadRequest) GetPayload added in v1.10.0

type GetIscsiConnectionsConnectionInternalServerError added in v1.10.0

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

Server error

func NewGetIscsiConnectionsConnectionInternalServerError added in v1.10.0

func NewGetIscsiConnectionsConnectionInternalServerError() *GetIscsiConnectionsConnectionInternalServerError

NewGetIscsiConnectionsConnectionInternalServerError creates a GetIscsiConnectionsConnectionInternalServerError with default headers values

func (*GetIscsiConnectionsConnectionInternalServerError) Error added in v1.10.0

func (*GetIscsiConnectionsConnectionInternalServerError) GetPayload added in v1.10.0

type GetIscsiConnectionsConnectionNotFound added in v1.10.0

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

Not found

func NewGetIscsiConnectionsConnectionNotFound added in v1.10.0

func NewGetIscsiConnectionsConnectionNotFound() *GetIscsiConnectionsConnectionNotFound

NewGetIscsiConnectionsConnectionNotFound creates a GetIscsiConnectionsConnectionNotFound with default headers values

func (*GetIscsiConnectionsConnectionNotFound) Error added in v1.10.0

func (*GetIscsiConnectionsConnectionNotFound) GetPayload added in v1.10.0

type GetIscsiConnectionsConnectionOK added in v1.10.0

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

Ok

func NewGetIscsiConnectionsConnectionOK added in v1.10.0

func NewGetIscsiConnectionsConnectionOK() *GetIscsiConnectionsConnectionOK

NewGetIscsiConnectionsConnectionOK creates a GetIscsiConnectionsConnectionOK with default headers values

func (*GetIscsiConnectionsConnectionOK) Error added in v1.10.0

func (*GetIscsiConnectionsConnectionOK) GetPayload added in v1.10.0

type GetIscsiConnectionsConnectionParams added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func NewGetIscsiConnectionsConnectionParamsWithContext(ctx context.Context) *GetIscsiConnectionsConnectionParams

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

func NewGetIscsiConnectionsConnectionParamsWithHTTPClient added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

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

SetContentLanguage adds the contentLanguage to the get iscsi connections connection params

func (*GetIscsiConnectionsConnectionParams) SetContext added in v1.10.0

SetContext adds the context to the get iscsi connections connection params

func (*GetIscsiConnectionsConnectionParams) SetDefaults added in v1.10.0

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 added in v1.10.0

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

SetHTTPClient adds the HTTPClient to the get iscsi connections connection params

func (*GetIscsiConnectionsConnectionParams) SetRequestBody added in v1.10.0

SetRequestBody adds the requestBody to the get iscsi connections connection params

func (*GetIscsiConnectionsConnectionParams) SetTimeout added in v1.10.0

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

SetTimeout adds the timeout to the get iscsi connections connection params

func (*GetIscsiConnectionsConnectionParams) WithContentLanguage added in v1.10.0

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

WithContentLanguage adds the contentLanguage to the get iscsi connections connection params

func (*GetIscsiConnectionsConnectionParams) WithContext added in v1.10.0

WithContext adds the context to the get iscsi connections connection params

func (*GetIscsiConnectionsConnectionParams) WithDefaults added in v1.10.0

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 added in v1.10.0

WithHTTPClient adds the HTTPClient to the get iscsi connections connection params

func (*GetIscsiConnectionsConnectionParams) WithRequestBody added in v1.10.0

WithRequestBody adds the requestBody to the get iscsi connections connection params

func (*GetIscsiConnectionsConnectionParams) WithTimeout added in v1.10.0

WithTimeout adds the timeout to the get iscsi connections connection params

func (*GetIscsiConnectionsConnectionParams) WriteToRequest added in v1.10.0

WriteToRequest writes these params to a swagger request

type GetIscsiConnectionsConnectionReader added in v1.10.0

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

GetIscsiConnectionsConnectionReader is a Reader for the GetIscsiConnectionsConnection structure.

func (*GetIscsiConnectionsConnectionReader) ReadResponse added in v1.10.0

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

ReadResponse reads a server response into the received o.

type GetIscsiConnectionsInternalServerError added in v1.10.0

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

Server error

func NewGetIscsiConnectionsInternalServerError added in v1.10.0

func NewGetIscsiConnectionsInternalServerError() *GetIscsiConnectionsInternalServerError

NewGetIscsiConnectionsInternalServerError creates a GetIscsiConnectionsInternalServerError with default headers values

func (*GetIscsiConnectionsInternalServerError) Error added in v1.10.0

func (*GetIscsiConnectionsInternalServerError) GetPayload added in v1.10.0

type GetIscsiConnectionsNotFound added in v1.10.0

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

Not found

func NewGetIscsiConnectionsNotFound added in v1.10.0

func NewGetIscsiConnectionsNotFound() *GetIscsiConnectionsNotFound

NewGetIscsiConnectionsNotFound creates a GetIscsiConnectionsNotFound with default headers values

func (*GetIscsiConnectionsNotFound) Error added in v1.10.0

func (*GetIscsiConnectionsNotFound) GetPayload added in v1.10.0

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

type GetIscsiConnectionsOK

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

Ok

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