Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetIscsiConnectionsBadRequest
- 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) 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) 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 string
}
GetIscsiConnectionsBadRequest describes a response with status code 400, with default header values.
GetIscsiConnectionsBadRequest get iscsi connections 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() string
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.