iscsi

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 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 {
	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 API client.

type GetIscsiConnectionsConnectionBadRequest

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

GetIscsiConnectionsConnectionBadRequest get iscsi connections connection bad request

func NewGetIscsiConnectionsConnectionBadRequest

func NewGetIscsiConnectionsConnectionBadRequest() *GetIscsiConnectionsConnectionBadRequest

NewGetIscsiConnectionsConnectionBadRequest creates a GetIscsiConnectionsConnectionBadRequest with default headers values

func (*GetIscsiConnectionsConnectionBadRequest) Error

func (*GetIscsiConnectionsConnectionBadRequest) GetPayload

type GetIscsiConnectionsConnectionOK

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

Ok

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.

Jump to

Keyboard shortcuts

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