Documentation ¶
Index ¶
- type Client
- func (a *Client) GetIscsiConnections(params *GetIscsiConnectionsParams, opts ...ClientOption) (*GetIscsiConnectionsOK, error)
- func (a *Client) GetIscsiConnectionsConnection(params *GetIscsiConnectionsConnectionParams, opts ...ClientOption) (*GetIscsiConnectionsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetIscsiConnectionsBadRequest
- type GetIscsiConnectionsConnectionBadRequest
- type GetIscsiConnectionsConnectionInternalServerError
- type GetIscsiConnectionsConnectionNotFound
- type GetIscsiConnectionsConnectionOK
- type GetIscsiConnectionsConnectionParams
- func NewGetIscsiConnectionsConnectionParams() *GetIscsiConnectionsConnectionParams
- func NewGetIscsiConnectionsConnectionParamsWithContext(ctx context.Context) *GetIscsiConnectionsConnectionParams
- func NewGetIscsiConnectionsConnectionParamsWithHTTPClient(client *http.Client) *GetIscsiConnectionsConnectionParams
- func NewGetIscsiConnectionsConnectionParamsWithTimeout(timeout time.Duration) *GetIscsiConnectionsConnectionParams
- func (o *GetIscsiConnectionsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetIscsiConnectionsConnectionParams) SetContext(ctx context.Context)
- func (o *GetIscsiConnectionsConnectionParams) SetDefaults()
- func (o *GetIscsiConnectionsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetIscsiConnectionsConnectionParams) SetRequestBody(requestBody *models.GetIscsiConnectionsConnectionRequestBody)
- func (o *GetIscsiConnectionsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetIscsiConnectionsConnectionParams) WithContentLanguage(contentLanguage *string) *GetIscsiConnectionsConnectionParams
- func (o *GetIscsiConnectionsConnectionParams) WithContext(ctx context.Context) *GetIscsiConnectionsConnectionParams
- func (o *GetIscsiConnectionsConnectionParams) WithDefaults() *GetIscsiConnectionsConnectionParams
- func (o *GetIscsiConnectionsConnectionParams) WithHTTPClient(client *http.Client) *GetIscsiConnectionsConnectionParams
- func (o *GetIscsiConnectionsConnectionParams) WithRequestBody(requestBody *models.GetIscsiConnectionsConnectionRequestBody) *GetIscsiConnectionsConnectionParams
- func (o *GetIscsiConnectionsConnectionParams) WithTimeout(timeout time.Duration) *GetIscsiConnectionsConnectionParams
- func (o *GetIscsiConnectionsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIscsiConnectionsConnectionReader
- type GetIscsiConnectionsInternalServerError
- type GetIscsiConnectionsNotFound
- type GetIscsiConnectionsOK
- type GetIscsiConnectionsParams
- func NewGetIscsiConnectionsParams() *GetIscsiConnectionsParams
- func NewGetIscsiConnectionsParamsWithContext(ctx context.Context) *GetIscsiConnectionsParams
- func NewGetIscsiConnectionsParamsWithHTTPClient(client *http.Client) *GetIscsiConnectionsParams
- func NewGetIscsiConnectionsParamsWithTimeout(timeout time.Duration) *GetIscsiConnectionsParams
- func (o *GetIscsiConnectionsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetIscsiConnectionsParams) SetContext(ctx context.Context)
- func (o *GetIscsiConnectionsParams) SetDefaults()
- func (o *GetIscsiConnectionsParams) SetHTTPClient(client *http.Client)
- func (o *GetIscsiConnectionsParams) SetRequestBody(requestBody *models.GetIscsiConnectionsRequestBody)
- func (o *GetIscsiConnectionsParams) SetTimeout(timeout time.Duration)
- func (o *GetIscsiConnectionsParams) WithContentLanguage(contentLanguage *string) *GetIscsiConnectionsParams
- func (o *GetIscsiConnectionsParams) WithContext(ctx context.Context) *GetIscsiConnectionsParams
- func (o *GetIscsiConnectionsParams) WithDefaults() *GetIscsiConnectionsParams
- func (o *GetIscsiConnectionsParams) WithHTTPClient(client *http.Client) *GetIscsiConnectionsParams
- func (o *GetIscsiConnectionsParams) WithRequestBody(requestBody *models.GetIscsiConnectionsRequestBody) *GetIscsiConnectionsParams
- func (o *GetIscsiConnectionsParams) WithTimeout(timeout time.Duration) *GetIscsiConnectionsParams
- func (o *GetIscsiConnectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIscsiConnectionsReader
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 ¶
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 (o *GetIscsiConnectionsBadRequest) Error() string
func (*GetIscsiConnectionsBadRequest) GetPayload ¶
func (o *GetIscsiConnectionsBadRequest) GetPayload() *models.ErrorBody
type GetIscsiConnectionsConnectionBadRequest ¶ added in v1.10.0
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 (o *GetIscsiConnectionsConnectionBadRequest) Error() string
func (*GetIscsiConnectionsConnectionBadRequest) GetPayload ¶ added in v1.10.0
func (o *GetIscsiConnectionsConnectionBadRequest) GetPayload() *models.ErrorBody
type GetIscsiConnectionsConnectionInternalServerError ¶ added in v1.10.0
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 (o *GetIscsiConnectionsConnectionInternalServerError) Error() string
func (*GetIscsiConnectionsConnectionInternalServerError) GetPayload ¶ added in v1.10.0
func (o *GetIscsiConnectionsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetIscsiConnectionsConnectionNotFound ¶ added in v1.10.0
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 (o *GetIscsiConnectionsConnectionNotFound) Error() string
func (*GetIscsiConnectionsConnectionNotFound) GetPayload ¶ added in v1.10.0
func (o *GetIscsiConnectionsConnectionNotFound) GetPayload() *models.ErrorBody
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 (o *GetIscsiConnectionsConnectionOK) Error() string
func (*GetIscsiConnectionsConnectionOK) GetPayload ¶ added in v1.10.0
func (o *GetIscsiConnectionsConnectionOK) GetPayload() *models.IscsiConnectionConnection
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
func (o *GetIscsiConnectionsConnectionParams) SetContext(ctx context.Context)
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
func (o *GetIscsiConnectionsConnectionParams) SetRequestBody(requestBody *models.GetIscsiConnectionsConnectionRequestBody)
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
func (o *GetIscsiConnectionsConnectionParams) WithContext(ctx context.Context) *GetIscsiConnectionsConnectionParams
WithContext adds the context to the get iscsi connections connection params
func (*GetIscsiConnectionsConnectionParams) WithDefaults ¶ added in v1.10.0
func (o *GetIscsiConnectionsConnectionParams) WithDefaults() *GetIscsiConnectionsConnectionParams
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
func (o *GetIscsiConnectionsConnectionParams) WithHTTPClient(client *http.Client) *GetIscsiConnectionsConnectionParams
WithHTTPClient adds the HTTPClient to the get iscsi connections connection params
func (*GetIscsiConnectionsConnectionParams) WithRequestBody ¶ added in v1.10.0
func (o *GetIscsiConnectionsConnectionParams) WithRequestBody(requestBody *models.GetIscsiConnectionsConnectionRequestBody) *GetIscsiConnectionsConnectionParams
WithRequestBody adds the requestBody to the get iscsi connections connection params
func (*GetIscsiConnectionsConnectionParams) WithTimeout ¶ added in v1.10.0
func (o *GetIscsiConnectionsConnectionParams) WithTimeout(timeout time.Duration) *GetIscsiConnectionsConnectionParams
WithTimeout adds the timeout to the get iscsi connections connection params
func (*GetIscsiConnectionsConnectionParams) WriteToRequest ¶ added in v1.10.0
func (o *GetIscsiConnectionsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 (o *GetIscsiConnectionsInternalServerError) Error() string
func (*GetIscsiConnectionsInternalServerError) GetPayload ¶ added in v1.10.0
func (o *GetIscsiConnectionsInternalServerError) GetPayload() *models.ErrorBody
type GetIscsiConnectionsNotFound ¶ added in v1.10.0
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 (o *GetIscsiConnectionsNotFound) Error() string
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 ¶
func (o *GetIscsiConnectionsParams) WithContext(ctx context.Context) *GetIscsiConnectionsParams
WithContext adds the context to the get iscsi connections params
func (*GetIscsiConnectionsParams) WithDefaults ¶
func (o *GetIscsiConnectionsParams) WithDefaults() *GetIscsiConnectionsParams
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 ¶
func (o *GetIscsiConnectionsParams) WithRequestBody(requestBody *models.GetIscsiConnectionsRequestBody) *GetIscsiConnectionsParams
WithRequestBody adds the requestBody to the get iscsi connections params
func (*GetIscsiConnectionsParams) WithTimeout ¶
func (o *GetIscsiConnectionsParams) WithTimeout(timeout time.Duration) *GetIscsiConnectionsParams
WithTimeout adds the timeout to the get iscsi connections params
func (*GetIscsiConnectionsParams) WriteToRequest ¶
func (o *GetIscsiConnectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.