Documentation ¶
Index ¶
- type Client
- func (a *Client) GetPmemDimms(params *GetPmemDimmsParams, opts ...ClientOption) (*GetPmemDimmsOK, error)
- func (a *Client) GetPmemDimmsConnection(params *GetPmemDimmsConnectionParams, opts ...ClientOption) (*GetPmemDimmsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetPmemDimmsBadRequest
- type GetPmemDimmsConnectionBadRequest
- type GetPmemDimmsConnectionInternalServerError
- type GetPmemDimmsConnectionNotFound
- type GetPmemDimmsConnectionOK
- type GetPmemDimmsConnectionParams
- func NewGetPmemDimmsConnectionParams() *GetPmemDimmsConnectionParams
- func NewGetPmemDimmsConnectionParamsWithContext(ctx context.Context) *GetPmemDimmsConnectionParams
- func NewGetPmemDimmsConnectionParamsWithHTTPClient(client *http.Client) *GetPmemDimmsConnectionParams
- func NewGetPmemDimmsConnectionParamsWithTimeout(timeout time.Duration) *GetPmemDimmsConnectionParams
- func (o *GetPmemDimmsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetPmemDimmsConnectionParams) SetContext(ctx context.Context)
- func (o *GetPmemDimmsConnectionParams) SetDefaults()
- func (o *GetPmemDimmsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetPmemDimmsConnectionParams) SetRequestBody(requestBody *models.GetPmemDimmsConnectionRequestBody)
- func (o *GetPmemDimmsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetPmemDimmsConnectionParams) WithContentLanguage(contentLanguage *string) *GetPmemDimmsConnectionParams
- func (o *GetPmemDimmsConnectionParams) WithContext(ctx context.Context) *GetPmemDimmsConnectionParams
- func (o *GetPmemDimmsConnectionParams) WithDefaults() *GetPmemDimmsConnectionParams
- func (o *GetPmemDimmsConnectionParams) WithHTTPClient(client *http.Client) *GetPmemDimmsConnectionParams
- func (o *GetPmemDimmsConnectionParams) WithRequestBody(requestBody *models.GetPmemDimmsConnectionRequestBody) *GetPmemDimmsConnectionParams
- func (o *GetPmemDimmsConnectionParams) WithTimeout(timeout time.Duration) *GetPmemDimmsConnectionParams
- func (o *GetPmemDimmsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPmemDimmsConnectionReader
- type GetPmemDimmsInternalServerError
- type GetPmemDimmsNotFound
- type GetPmemDimmsOK
- type GetPmemDimmsParams
- func (o *GetPmemDimmsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetPmemDimmsParams) SetContext(ctx context.Context)
- func (o *GetPmemDimmsParams) SetDefaults()
- func (o *GetPmemDimmsParams) SetHTTPClient(client *http.Client)
- func (o *GetPmemDimmsParams) SetRequestBody(requestBody *models.GetPmemDimmsRequestBody)
- func (o *GetPmemDimmsParams) SetTimeout(timeout time.Duration)
- func (o *GetPmemDimmsParams) WithContentLanguage(contentLanguage *string) *GetPmemDimmsParams
- func (o *GetPmemDimmsParams) WithContext(ctx context.Context) *GetPmemDimmsParams
- func (o *GetPmemDimmsParams) WithDefaults() *GetPmemDimmsParams
- func (o *GetPmemDimmsParams) WithHTTPClient(client *http.Client) *GetPmemDimmsParams
- func (o *GetPmemDimmsParams) WithRequestBody(requestBody *models.GetPmemDimmsRequestBody) *GetPmemDimmsParams
- func (o *GetPmemDimmsParams) WithTimeout(timeout time.Duration) *GetPmemDimmsParams
- func (o *GetPmemDimmsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPmemDimmsReader
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 pmem dimm API
func (*Client) GetPmemDimms ¶
func (a *Client) GetPmemDimms(params *GetPmemDimmsParams, opts ...ClientOption) (*GetPmemDimmsOK, error)
GetPmemDimms get pmem dimms API
func (*Client) GetPmemDimmsConnection ¶
func (a *Client) GetPmemDimmsConnection(params *GetPmemDimmsConnectionParams, opts ...ClientOption) (*GetPmemDimmsConnectionOK, error)
GetPmemDimmsConnection get pmem dimms 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 { GetPmemDimms(params *GetPmemDimmsParams, opts ...ClientOption) (*GetPmemDimmsOK, error) GetPmemDimmsConnection(params *GetPmemDimmsConnectionParams, opts ...ClientOption) (*GetPmemDimmsConnectionOK, 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 pmem dimm API client.
type GetPmemDimmsBadRequest ¶
GetPmemDimmsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetPmemDimmsBadRequest ¶
func NewGetPmemDimmsBadRequest() *GetPmemDimmsBadRequest
NewGetPmemDimmsBadRequest creates a GetPmemDimmsBadRequest with default headers values
func (*GetPmemDimmsBadRequest) Error ¶
func (o *GetPmemDimmsBadRequest) Error() string
func (*GetPmemDimmsBadRequest) GetPayload ¶
func (o *GetPmemDimmsBadRequest) GetPayload() *models.ErrorBody
type GetPmemDimmsConnectionBadRequest ¶
GetPmemDimmsConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetPmemDimmsConnectionBadRequest ¶
func NewGetPmemDimmsConnectionBadRequest() *GetPmemDimmsConnectionBadRequest
NewGetPmemDimmsConnectionBadRequest creates a GetPmemDimmsConnectionBadRequest with default headers values
func (*GetPmemDimmsConnectionBadRequest) Error ¶
func (o *GetPmemDimmsConnectionBadRequest) Error() string
func (*GetPmemDimmsConnectionBadRequest) GetPayload ¶
func (o *GetPmemDimmsConnectionBadRequest) GetPayload() *models.ErrorBody
type GetPmemDimmsConnectionInternalServerError ¶
GetPmemDimmsConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetPmemDimmsConnectionInternalServerError ¶
func NewGetPmemDimmsConnectionInternalServerError() *GetPmemDimmsConnectionInternalServerError
NewGetPmemDimmsConnectionInternalServerError creates a GetPmemDimmsConnectionInternalServerError with default headers values
func (*GetPmemDimmsConnectionInternalServerError) Error ¶
func (o *GetPmemDimmsConnectionInternalServerError) Error() string
func (*GetPmemDimmsConnectionInternalServerError) GetPayload ¶
func (o *GetPmemDimmsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetPmemDimmsConnectionNotFound ¶
GetPmemDimmsConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetPmemDimmsConnectionNotFound ¶
func NewGetPmemDimmsConnectionNotFound() *GetPmemDimmsConnectionNotFound
NewGetPmemDimmsConnectionNotFound creates a GetPmemDimmsConnectionNotFound with default headers values
func (*GetPmemDimmsConnectionNotFound) Error ¶
func (o *GetPmemDimmsConnectionNotFound) Error() string
func (*GetPmemDimmsConnectionNotFound) GetPayload ¶
func (o *GetPmemDimmsConnectionNotFound) GetPayload() *models.ErrorBody
type GetPmemDimmsConnectionOK ¶
type GetPmemDimmsConnectionOK struct {
Payload *models.PmemDimmConnection
}
GetPmemDimmsConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetPmemDimmsConnectionOK ¶
func NewGetPmemDimmsConnectionOK() *GetPmemDimmsConnectionOK
NewGetPmemDimmsConnectionOK creates a GetPmemDimmsConnectionOK with default headers values
func (*GetPmemDimmsConnectionOK) Error ¶
func (o *GetPmemDimmsConnectionOK) Error() string
func (*GetPmemDimmsConnectionOK) GetPayload ¶
func (o *GetPmemDimmsConnectionOK) GetPayload() *models.PmemDimmConnection
type GetPmemDimmsConnectionParams ¶
type GetPmemDimmsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetPmemDimmsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPmemDimmsConnectionParams contains all the parameters to send to the API endpoint
for the get pmem dimms connection operation. Typically these are written to a http.Request.
func NewGetPmemDimmsConnectionParams ¶
func NewGetPmemDimmsConnectionParams() *GetPmemDimmsConnectionParams
NewGetPmemDimmsConnectionParams creates a new GetPmemDimmsConnectionParams 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 NewGetPmemDimmsConnectionParamsWithContext ¶
func NewGetPmemDimmsConnectionParamsWithContext(ctx context.Context) *GetPmemDimmsConnectionParams
NewGetPmemDimmsConnectionParamsWithContext creates a new GetPmemDimmsConnectionParams object with the ability to set a context for a request.
func NewGetPmemDimmsConnectionParamsWithHTTPClient ¶
func NewGetPmemDimmsConnectionParamsWithHTTPClient(client *http.Client) *GetPmemDimmsConnectionParams
NewGetPmemDimmsConnectionParamsWithHTTPClient creates a new GetPmemDimmsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetPmemDimmsConnectionParamsWithTimeout ¶
func NewGetPmemDimmsConnectionParamsWithTimeout(timeout time.Duration) *GetPmemDimmsConnectionParams
NewGetPmemDimmsConnectionParamsWithTimeout creates a new GetPmemDimmsConnectionParams object with the ability to set a timeout on a request.
func (*GetPmemDimmsConnectionParams) SetContentLanguage ¶
func (o *GetPmemDimmsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get pmem dimms connection params
func (*GetPmemDimmsConnectionParams) SetContext ¶
func (o *GetPmemDimmsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get pmem dimms connection params
func (*GetPmemDimmsConnectionParams) SetDefaults ¶
func (o *GetPmemDimmsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get pmem dimms connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetPmemDimmsConnectionParams) SetHTTPClient ¶
func (o *GetPmemDimmsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get pmem dimms connection params
func (*GetPmemDimmsConnectionParams) SetRequestBody ¶
func (o *GetPmemDimmsConnectionParams) SetRequestBody(requestBody *models.GetPmemDimmsConnectionRequestBody)
SetRequestBody adds the requestBody to the get pmem dimms connection params
func (*GetPmemDimmsConnectionParams) SetTimeout ¶
func (o *GetPmemDimmsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get pmem dimms connection params
func (*GetPmemDimmsConnectionParams) WithContentLanguage ¶
func (o *GetPmemDimmsConnectionParams) WithContentLanguage(contentLanguage *string) *GetPmemDimmsConnectionParams
WithContentLanguage adds the contentLanguage to the get pmem dimms connection params
func (*GetPmemDimmsConnectionParams) WithContext ¶
func (o *GetPmemDimmsConnectionParams) WithContext(ctx context.Context) *GetPmemDimmsConnectionParams
WithContext adds the context to the get pmem dimms connection params
func (*GetPmemDimmsConnectionParams) WithDefaults ¶
func (o *GetPmemDimmsConnectionParams) WithDefaults() *GetPmemDimmsConnectionParams
WithDefaults hydrates default values in the get pmem dimms connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetPmemDimmsConnectionParams) WithHTTPClient ¶
func (o *GetPmemDimmsConnectionParams) WithHTTPClient(client *http.Client) *GetPmemDimmsConnectionParams
WithHTTPClient adds the HTTPClient to the get pmem dimms connection params
func (*GetPmemDimmsConnectionParams) WithRequestBody ¶
func (o *GetPmemDimmsConnectionParams) WithRequestBody(requestBody *models.GetPmemDimmsConnectionRequestBody) *GetPmemDimmsConnectionParams
WithRequestBody adds the requestBody to the get pmem dimms connection params
func (*GetPmemDimmsConnectionParams) WithTimeout ¶
func (o *GetPmemDimmsConnectionParams) WithTimeout(timeout time.Duration) *GetPmemDimmsConnectionParams
WithTimeout adds the timeout to the get pmem dimms connection params
func (*GetPmemDimmsConnectionParams) WriteToRequest ¶
func (o *GetPmemDimmsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPmemDimmsConnectionReader ¶
type GetPmemDimmsConnectionReader struct {
// contains filtered or unexported fields
}
GetPmemDimmsConnectionReader is a Reader for the GetPmemDimmsConnection structure.
func (*GetPmemDimmsConnectionReader) ReadResponse ¶
func (o *GetPmemDimmsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPmemDimmsInternalServerError ¶
GetPmemDimmsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetPmemDimmsInternalServerError ¶
func NewGetPmemDimmsInternalServerError() *GetPmemDimmsInternalServerError
NewGetPmemDimmsInternalServerError creates a GetPmemDimmsInternalServerError with default headers values
func (*GetPmemDimmsInternalServerError) Error ¶
func (o *GetPmemDimmsInternalServerError) Error() string
func (*GetPmemDimmsInternalServerError) GetPayload ¶
func (o *GetPmemDimmsInternalServerError) GetPayload() *models.ErrorBody
type GetPmemDimmsNotFound ¶
GetPmemDimmsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetPmemDimmsNotFound ¶
func NewGetPmemDimmsNotFound() *GetPmemDimmsNotFound
NewGetPmemDimmsNotFound creates a GetPmemDimmsNotFound with default headers values
func (*GetPmemDimmsNotFound) Error ¶
func (o *GetPmemDimmsNotFound) Error() string
func (*GetPmemDimmsNotFound) GetPayload ¶
func (o *GetPmemDimmsNotFound) GetPayload() *models.ErrorBody
type GetPmemDimmsOK ¶
GetPmemDimmsOK describes a response with status code 200, with default header values.
Ok
func NewGetPmemDimmsOK ¶
func NewGetPmemDimmsOK() *GetPmemDimmsOK
NewGetPmemDimmsOK creates a GetPmemDimmsOK with default headers values
func (*GetPmemDimmsOK) Error ¶
func (o *GetPmemDimmsOK) Error() string
func (*GetPmemDimmsOK) GetPayload ¶
func (o *GetPmemDimmsOK) GetPayload() []*models.PmemDimm
type GetPmemDimmsParams ¶
type GetPmemDimmsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetPmemDimmsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPmemDimmsParams contains all the parameters to send to the API endpoint
for the get pmem dimms operation. Typically these are written to a http.Request.
func NewGetPmemDimmsParams ¶
func NewGetPmemDimmsParams() *GetPmemDimmsParams
NewGetPmemDimmsParams creates a new GetPmemDimmsParams 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 NewGetPmemDimmsParamsWithContext ¶
func NewGetPmemDimmsParamsWithContext(ctx context.Context) *GetPmemDimmsParams
NewGetPmemDimmsParamsWithContext creates a new GetPmemDimmsParams object with the ability to set a context for a request.
func NewGetPmemDimmsParamsWithHTTPClient ¶
func NewGetPmemDimmsParamsWithHTTPClient(client *http.Client) *GetPmemDimmsParams
NewGetPmemDimmsParamsWithHTTPClient creates a new GetPmemDimmsParams object with the ability to set a custom HTTPClient for a request.
func NewGetPmemDimmsParamsWithTimeout ¶
func NewGetPmemDimmsParamsWithTimeout(timeout time.Duration) *GetPmemDimmsParams
NewGetPmemDimmsParamsWithTimeout creates a new GetPmemDimmsParams object with the ability to set a timeout on a request.
func (*GetPmemDimmsParams) SetContentLanguage ¶
func (o *GetPmemDimmsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get pmem dimms params
func (*GetPmemDimmsParams) SetContext ¶
func (o *GetPmemDimmsParams) SetContext(ctx context.Context)
SetContext adds the context to the get pmem dimms params
func (*GetPmemDimmsParams) SetDefaults ¶
func (o *GetPmemDimmsParams) SetDefaults()
SetDefaults hydrates default values in the get pmem dimms params (not the query body).
All values with no default are reset to their zero value.
func (*GetPmemDimmsParams) SetHTTPClient ¶
func (o *GetPmemDimmsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get pmem dimms params
func (*GetPmemDimmsParams) SetRequestBody ¶
func (o *GetPmemDimmsParams) SetRequestBody(requestBody *models.GetPmemDimmsRequestBody)
SetRequestBody adds the requestBody to the get pmem dimms params
func (*GetPmemDimmsParams) SetTimeout ¶
func (o *GetPmemDimmsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get pmem dimms params
func (*GetPmemDimmsParams) WithContentLanguage ¶
func (o *GetPmemDimmsParams) WithContentLanguage(contentLanguage *string) *GetPmemDimmsParams
WithContentLanguage adds the contentLanguage to the get pmem dimms params
func (*GetPmemDimmsParams) WithContext ¶
func (o *GetPmemDimmsParams) WithContext(ctx context.Context) *GetPmemDimmsParams
WithContext adds the context to the get pmem dimms params
func (*GetPmemDimmsParams) WithDefaults ¶
func (o *GetPmemDimmsParams) WithDefaults() *GetPmemDimmsParams
WithDefaults hydrates default values in the get pmem dimms params (not the query body).
All values with no default are reset to their zero value.
func (*GetPmemDimmsParams) WithHTTPClient ¶
func (o *GetPmemDimmsParams) WithHTTPClient(client *http.Client) *GetPmemDimmsParams
WithHTTPClient adds the HTTPClient to the get pmem dimms params
func (*GetPmemDimmsParams) WithRequestBody ¶
func (o *GetPmemDimmsParams) WithRequestBody(requestBody *models.GetPmemDimmsRequestBody) *GetPmemDimmsParams
WithRequestBody adds the requestBody to the get pmem dimms params
func (*GetPmemDimmsParams) WithTimeout ¶
func (o *GetPmemDimmsParams) WithTimeout(timeout time.Duration) *GetPmemDimmsParams
WithTimeout adds the timeout to the get pmem dimms params
func (*GetPmemDimmsParams) WriteToRequest ¶
func (o *GetPmemDimmsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPmemDimmsReader ¶
type GetPmemDimmsReader struct {
// contains filtered or unexported fields
}
GetPmemDimmsReader is a Reader for the GetPmemDimms structure.
func (*GetPmemDimmsReader) ReadResponse ¶
func (o *GetPmemDimmsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.