Documentation
¶
Index ¶
- type Client
- func (a *Client) GetNvmfSubsystems(params *GetNvmfSubsystemsParams, opts ...ClientOption) (*GetNvmfSubsystemsOK, error)
- func (a *Client) GetNvmfSubsystemsConnection(params *GetNvmfSubsystemsConnectionParams, opts ...ClientOption) (*GetNvmfSubsystemsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetNvmfSubsystemsBadRequest
- type GetNvmfSubsystemsConnectionBadRequest
- type GetNvmfSubsystemsConnectionOK
- type GetNvmfSubsystemsConnectionParams
- func NewGetNvmfSubsystemsConnectionParams() *GetNvmfSubsystemsConnectionParams
- func NewGetNvmfSubsystemsConnectionParamsWithContext(ctx context.Context) *GetNvmfSubsystemsConnectionParams
- func NewGetNvmfSubsystemsConnectionParamsWithHTTPClient(client *http.Client) *GetNvmfSubsystemsConnectionParams
- func NewGetNvmfSubsystemsConnectionParamsWithTimeout(timeout time.Duration) *GetNvmfSubsystemsConnectionParams
- func (o *GetNvmfSubsystemsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetNvmfSubsystemsConnectionParams) SetContext(ctx context.Context)
- func (o *GetNvmfSubsystemsConnectionParams) SetDefaults()
- func (o *GetNvmfSubsystemsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetNvmfSubsystemsConnectionParams) SetRequestBody(requestBody *models.GetNvmfSubsystemsConnectionRequestBody)
- func (o *GetNvmfSubsystemsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetNvmfSubsystemsConnectionParams) WithContentLanguage(contentLanguage *string) *GetNvmfSubsystemsConnectionParams
- func (o *GetNvmfSubsystemsConnectionParams) WithContext(ctx context.Context) *GetNvmfSubsystemsConnectionParams
- func (o *GetNvmfSubsystemsConnectionParams) WithDefaults() *GetNvmfSubsystemsConnectionParams
- func (o *GetNvmfSubsystemsConnectionParams) WithHTTPClient(client *http.Client) *GetNvmfSubsystemsConnectionParams
- func (o *GetNvmfSubsystemsConnectionParams) WithRequestBody(requestBody *models.GetNvmfSubsystemsConnectionRequestBody) *GetNvmfSubsystemsConnectionParams
- func (o *GetNvmfSubsystemsConnectionParams) WithTimeout(timeout time.Duration) *GetNvmfSubsystemsConnectionParams
- func (o *GetNvmfSubsystemsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNvmfSubsystemsConnectionReader
- type GetNvmfSubsystemsOK
- type GetNvmfSubsystemsParams
- func NewGetNvmfSubsystemsParams() *GetNvmfSubsystemsParams
- func NewGetNvmfSubsystemsParamsWithContext(ctx context.Context) *GetNvmfSubsystemsParams
- func NewGetNvmfSubsystemsParamsWithHTTPClient(client *http.Client) *GetNvmfSubsystemsParams
- func NewGetNvmfSubsystemsParamsWithTimeout(timeout time.Duration) *GetNvmfSubsystemsParams
- func (o *GetNvmfSubsystemsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetNvmfSubsystemsParams) SetContext(ctx context.Context)
- func (o *GetNvmfSubsystemsParams) SetDefaults()
- func (o *GetNvmfSubsystemsParams) SetHTTPClient(client *http.Client)
- func (o *GetNvmfSubsystemsParams) SetRequestBody(requestBody *models.GetNvmfSubsystemsRequestBody)
- func (o *GetNvmfSubsystemsParams) SetTimeout(timeout time.Duration)
- func (o *GetNvmfSubsystemsParams) WithContentLanguage(contentLanguage *string) *GetNvmfSubsystemsParams
- func (o *GetNvmfSubsystemsParams) WithContext(ctx context.Context) *GetNvmfSubsystemsParams
- func (o *GetNvmfSubsystemsParams) WithDefaults() *GetNvmfSubsystemsParams
- func (o *GetNvmfSubsystemsParams) WithHTTPClient(client *http.Client) *GetNvmfSubsystemsParams
- func (o *GetNvmfSubsystemsParams) WithRequestBody(requestBody *models.GetNvmfSubsystemsRequestBody) *GetNvmfSubsystemsParams
- func (o *GetNvmfSubsystemsParams) WithTimeout(timeout time.Duration) *GetNvmfSubsystemsParams
- func (o *GetNvmfSubsystemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNvmfSubsystemsReader
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 nvmf subsystem API
func (*Client) GetNvmfSubsystems ¶
func (a *Client) GetNvmfSubsystems(params *GetNvmfSubsystemsParams, opts ...ClientOption) (*GetNvmfSubsystemsOK, error)
GetNvmfSubsystems get nvmf subsystems API
func (*Client) GetNvmfSubsystemsConnection ¶
func (a *Client) GetNvmfSubsystemsConnection(params *GetNvmfSubsystemsConnectionParams, opts ...ClientOption) (*GetNvmfSubsystemsConnectionOK, error)
GetNvmfSubsystemsConnection get nvmf subsystems 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 { GetNvmfSubsystems(params *GetNvmfSubsystemsParams, opts ...ClientOption) (*GetNvmfSubsystemsOK, error) GetNvmfSubsystemsConnection(params *GetNvmfSubsystemsConnectionParams, opts ...ClientOption) (*GetNvmfSubsystemsConnectionOK, 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 nvmf subsystem API client.
type GetNvmfSubsystemsBadRequest ¶
type GetNvmfSubsystemsBadRequest struct {
Payload string
}
GetNvmfSubsystemsBadRequest describes a response with status code 400, with default header values.
GetNvmfSubsystemsBadRequest get nvmf subsystems bad request
func NewGetNvmfSubsystemsBadRequest ¶
func NewGetNvmfSubsystemsBadRequest() *GetNvmfSubsystemsBadRequest
NewGetNvmfSubsystemsBadRequest creates a GetNvmfSubsystemsBadRequest with default headers values
func (*GetNvmfSubsystemsBadRequest) Error ¶
func (o *GetNvmfSubsystemsBadRequest) Error() string
func (*GetNvmfSubsystemsBadRequest) GetPayload ¶
func (o *GetNvmfSubsystemsBadRequest) GetPayload() string
type GetNvmfSubsystemsConnectionBadRequest ¶
type GetNvmfSubsystemsConnectionBadRequest struct {
Payload string
}
GetNvmfSubsystemsConnectionBadRequest describes a response with status code 400, with default header values.
GetNvmfSubsystemsConnectionBadRequest get nvmf subsystems connection bad request
func NewGetNvmfSubsystemsConnectionBadRequest ¶
func NewGetNvmfSubsystemsConnectionBadRequest() *GetNvmfSubsystemsConnectionBadRequest
NewGetNvmfSubsystemsConnectionBadRequest creates a GetNvmfSubsystemsConnectionBadRequest with default headers values
func (*GetNvmfSubsystemsConnectionBadRequest) Error ¶
func (o *GetNvmfSubsystemsConnectionBadRequest) Error() string
func (*GetNvmfSubsystemsConnectionBadRequest) GetPayload ¶
func (o *GetNvmfSubsystemsConnectionBadRequest) GetPayload() string
type GetNvmfSubsystemsConnectionOK ¶
type GetNvmfSubsystemsConnectionOK struct {
Payload *models.NvmfSubsystemConnection
}
GetNvmfSubsystemsConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetNvmfSubsystemsConnectionOK ¶
func NewGetNvmfSubsystemsConnectionOK() *GetNvmfSubsystemsConnectionOK
NewGetNvmfSubsystemsConnectionOK creates a GetNvmfSubsystemsConnectionOK with default headers values
func (*GetNvmfSubsystemsConnectionOK) Error ¶
func (o *GetNvmfSubsystemsConnectionOK) Error() string
func (*GetNvmfSubsystemsConnectionOK) GetPayload ¶
func (o *GetNvmfSubsystemsConnectionOK) GetPayload() *models.NvmfSubsystemConnection
type GetNvmfSubsystemsConnectionParams ¶
type GetNvmfSubsystemsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetNvmfSubsystemsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNvmfSubsystemsConnectionParams contains all the parameters to send to the API endpoint
for the get nvmf subsystems connection operation. Typically these are written to a http.Request.
func NewGetNvmfSubsystemsConnectionParams ¶
func NewGetNvmfSubsystemsConnectionParams() *GetNvmfSubsystemsConnectionParams
NewGetNvmfSubsystemsConnectionParams creates a new GetNvmfSubsystemsConnectionParams 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 NewGetNvmfSubsystemsConnectionParamsWithContext ¶
func NewGetNvmfSubsystemsConnectionParamsWithContext(ctx context.Context) *GetNvmfSubsystemsConnectionParams
NewGetNvmfSubsystemsConnectionParamsWithContext creates a new GetNvmfSubsystemsConnectionParams object with the ability to set a context for a request.
func NewGetNvmfSubsystemsConnectionParamsWithHTTPClient ¶
func NewGetNvmfSubsystemsConnectionParamsWithHTTPClient(client *http.Client) *GetNvmfSubsystemsConnectionParams
NewGetNvmfSubsystemsConnectionParamsWithHTTPClient creates a new GetNvmfSubsystemsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetNvmfSubsystemsConnectionParamsWithTimeout ¶
func NewGetNvmfSubsystemsConnectionParamsWithTimeout(timeout time.Duration) *GetNvmfSubsystemsConnectionParams
NewGetNvmfSubsystemsConnectionParamsWithTimeout creates a new GetNvmfSubsystemsConnectionParams object with the ability to set a timeout on a request.
func (*GetNvmfSubsystemsConnectionParams) SetContentLanguage ¶
func (o *GetNvmfSubsystemsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get nvmf subsystems connection params
func (*GetNvmfSubsystemsConnectionParams) SetContext ¶
func (o *GetNvmfSubsystemsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get nvmf subsystems connection params
func (*GetNvmfSubsystemsConnectionParams) SetDefaults ¶
func (o *GetNvmfSubsystemsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get nvmf subsystems connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetNvmfSubsystemsConnectionParams) SetHTTPClient ¶
func (o *GetNvmfSubsystemsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get nvmf subsystems connection params
func (*GetNvmfSubsystemsConnectionParams) SetRequestBody ¶
func (o *GetNvmfSubsystemsConnectionParams) SetRequestBody(requestBody *models.GetNvmfSubsystemsConnectionRequestBody)
SetRequestBody adds the requestBody to the get nvmf subsystems connection params
func (*GetNvmfSubsystemsConnectionParams) SetTimeout ¶
func (o *GetNvmfSubsystemsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get nvmf subsystems connection params
func (*GetNvmfSubsystemsConnectionParams) WithContentLanguage ¶
func (o *GetNvmfSubsystemsConnectionParams) WithContentLanguage(contentLanguage *string) *GetNvmfSubsystemsConnectionParams
WithContentLanguage adds the contentLanguage to the get nvmf subsystems connection params
func (*GetNvmfSubsystemsConnectionParams) WithContext ¶
func (o *GetNvmfSubsystemsConnectionParams) WithContext(ctx context.Context) *GetNvmfSubsystemsConnectionParams
WithContext adds the context to the get nvmf subsystems connection params
func (*GetNvmfSubsystemsConnectionParams) WithDefaults ¶
func (o *GetNvmfSubsystemsConnectionParams) WithDefaults() *GetNvmfSubsystemsConnectionParams
WithDefaults hydrates default values in the get nvmf subsystems connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetNvmfSubsystemsConnectionParams) WithHTTPClient ¶
func (o *GetNvmfSubsystemsConnectionParams) WithHTTPClient(client *http.Client) *GetNvmfSubsystemsConnectionParams
WithHTTPClient adds the HTTPClient to the get nvmf subsystems connection params
func (*GetNvmfSubsystemsConnectionParams) WithRequestBody ¶
func (o *GetNvmfSubsystemsConnectionParams) WithRequestBody(requestBody *models.GetNvmfSubsystemsConnectionRequestBody) *GetNvmfSubsystemsConnectionParams
WithRequestBody adds the requestBody to the get nvmf subsystems connection params
func (*GetNvmfSubsystemsConnectionParams) WithTimeout ¶
func (o *GetNvmfSubsystemsConnectionParams) WithTimeout(timeout time.Duration) *GetNvmfSubsystemsConnectionParams
WithTimeout adds the timeout to the get nvmf subsystems connection params
func (*GetNvmfSubsystemsConnectionParams) WriteToRequest ¶
func (o *GetNvmfSubsystemsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNvmfSubsystemsConnectionReader ¶
type GetNvmfSubsystemsConnectionReader struct {
// contains filtered or unexported fields
}
GetNvmfSubsystemsConnectionReader is a Reader for the GetNvmfSubsystemsConnection structure.
func (*GetNvmfSubsystemsConnectionReader) ReadResponse ¶
func (o *GetNvmfSubsystemsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNvmfSubsystemsOK ¶
type GetNvmfSubsystemsOK struct {
Payload []*models.NvmfSubsystem
}
GetNvmfSubsystemsOK describes a response with status code 200, with default header values.
Ok
func NewGetNvmfSubsystemsOK ¶
func NewGetNvmfSubsystemsOK() *GetNvmfSubsystemsOK
NewGetNvmfSubsystemsOK creates a GetNvmfSubsystemsOK with default headers values
func (*GetNvmfSubsystemsOK) Error ¶
func (o *GetNvmfSubsystemsOK) Error() string
func (*GetNvmfSubsystemsOK) GetPayload ¶
func (o *GetNvmfSubsystemsOK) GetPayload() []*models.NvmfSubsystem
type GetNvmfSubsystemsParams ¶
type GetNvmfSubsystemsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetNvmfSubsystemsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNvmfSubsystemsParams contains all the parameters to send to the API endpoint
for the get nvmf subsystems operation. Typically these are written to a http.Request.
func NewGetNvmfSubsystemsParams ¶
func NewGetNvmfSubsystemsParams() *GetNvmfSubsystemsParams
NewGetNvmfSubsystemsParams creates a new GetNvmfSubsystemsParams 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 NewGetNvmfSubsystemsParamsWithContext ¶
func NewGetNvmfSubsystemsParamsWithContext(ctx context.Context) *GetNvmfSubsystemsParams
NewGetNvmfSubsystemsParamsWithContext creates a new GetNvmfSubsystemsParams object with the ability to set a context for a request.
func NewGetNvmfSubsystemsParamsWithHTTPClient ¶
func NewGetNvmfSubsystemsParamsWithHTTPClient(client *http.Client) *GetNvmfSubsystemsParams
NewGetNvmfSubsystemsParamsWithHTTPClient creates a new GetNvmfSubsystemsParams object with the ability to set a custom HTTPClient for a request.
func NewGetNvmfSubsystemsParamsWithTimeout ¶
func NewGetNvmfSubsystemsParamsWithTimeout(timeout time.Duration) *GetNvmfSubsystemsParams
NewGetNvmfSubsystemsParamsWithTimeout creates a new GetNvmfSubsystemsParams object with the ability to set a timeout on a request.
func (*GetNvmfSubsystemsParams) SetContentLanguage ¶
func (o *GetNvmfSubsystemsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get nvmf subsystems params
func (*GetNvmfSubsystemsParams) SetContext ¶
func (o *GetNvmfSubsystemsParams) SetContext(ctx context.Context)
SetContext adds the context to the get nvmf subsystems params
func (*GetNvmfSubsystemsParams) SetDefaults ¶
func (o *GetNvmfSubsystemsParams) SetDefaults()
SetDefaults hydrates default values in the get nvmf subsystems params (not the query body).
All values with no default are reset to their zero value.
func (*GetNvmfSubsystemsParams) SetHTTPClient ¶
func (o *GetNvmfSubsystemsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get nvmf subsystems params
func (*GetNvmfSubsystemsParams) SetRequestBody ¶
func (o *GetNvmfSubsystemsParams) SetRequestBody(requestBody *models.GetNvmfSubsystemsRequestBody)
SetRequestBody adds the requestBody to the get nvmf subsystems params
func (*GetNvmfSubsystemsParams) SetTimeout ¶
func (o *GetNvmfSubsystemsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get nvmf subsystems params
func (*GetNvmfSubsystemsParams) WithContentLanguage ¶
func (o *GetNvmfSubsystemsParams) WithContentLanguage(contentLanguage *string) *GetNvmfSubsystemsParams
WithContentLanguage adds the contentLanguage to the get nvmf subsystems params
func (*GetNvmfSubsystemsParams) WithContext ¶
func (o *GetNvmfSubsystemsParams) WithContext(ctx context.Context) *GetNvmfSubsystemsParams
WithContext adds the context to the get nvmf subsystems params
func (*GetNvmfSubsystemsParams) WithDefaults ¶
func (o *GetNvmfSubsystemsParams) WithDefaults() *GetNvmfSubsystemsParams
WithDefaults hydrates default values in the get nvmf subsystems params (not the query body).
All values with no default are reset to their zero value.
func (*GetNvmfSubsystemsParams) WithHTTPClient ¶
func (o *GetNvmfSubsystemsParams) WithHTTPClient(client *http.Client) *GetNvmfSubsystemsParams
WithHTTPClient adds the HTTPClient to the get nvmf subsystems params
func (*GetNvmfSubsystemsParams) WithRequestBody ¶
func (o *GetNvmfSubsystemsParams) WithRequestBody(requestBody *models.GetNvmfSubsystemsRequestBody) *GetNvmfSubsystemsParams
WithRequestBody adds the requestBody to the get nvmf subsystems params
func (*GetNvmfSubsystemsParams) WithTimeout ¶
func (o *GetNvmfSubsystemsParams) WithTimeout(timeout time.Duration) *GetNvmfSubsystemsParams
WithTimeout adds the timeout to the get nvmf subsystems params
func (*GetNvmfSubsystemsParams) WriteToRequest ¶
func (o *GetNvmfSubsystemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNvmfSubsystemsReader ¶
type GetNvmfSubsystemsReader struct {
// contains filtered or unexported fields
}
GetNvmfSubsystemsReader is a Reader for the GetNvmfSubsystems structure.
func (*GetNvmfSubsystemsReader) ReadResponse ¶
func (o *GetNvmfSubsystemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.