Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetIscsiConnectionsConnectionBadRequest
- 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
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 (o *GetIscsiConnectionsConnectionBadRequest) Error() string
func (*GetIscsiConnectionsConnectionBadRequest) GetPayload ¶
func (o *GetIscsiConnectionsConnectionBadRequest) GetPayload() string
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 (o *GetIscsiConnectionsConnectionOK) Error() string
func (*GetIscsiConnectionsConnectionOK) GetPayload ¶
func (o *GetIscsiConnectionsConnectionOK) GetPayload() *models.IscsiConnectionConnection
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 ¶
func (o *GetIscsiConnectionsConnectionParams) SetContext(ctx context.Context)
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 ¶
func (o *GetIscsiConnectionsConnectionParams) SetRequestBody(requestBody *models.GetIscsiConnectionsConnectionRequestBody)
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 ¶
func (o *GetIscsiConnectionsConnectionParams) WithContext(ctx context.Context) *GetIscsiConnectionsConnectionParams
WithContext adds the context to the get iscsi connections connection params
func (*GetIscsiConnectionsConnectionParams) WithDefaults ¶
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 ¶
func (o *GetIscsiConnectionsConnectionParams) WithHTTPClient(client *http.Client) *GetIscsiConnectionsConnectionParams
WithHTTPClient adds the HTTPClient to the get iscsi connections connection params
func (*GetIscsiConnectionsConnectionParams) WithRequestBody ¶
func (o *GetIscsiConnectionsConnectionParams) WithRequestBody(requestBody *models.GetIscsiConnectionsConnectionRequestBody) *GetIscsiConnectionsConnectionParams
WithRequestBody adds the requestBody to the get iscsi connections connection params
func (*GetIscsiConnectionsConnectionParams) WithTimeout ¶
func (o *GetIscsiConnectionsConnectionParams) WithTimeout(timeout time.Duration) *GetIscsiConnectionsConnectionParams
WithTimeout adds the timeout to the get iscsi connections connection params
func (*GetIscsiConnectionsConnectionParams) WriteToRequest ¶
func (o *GetIscsiConnectionsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.