Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetIpmisBadRequest
- type GetIpmisInternalServerError
- type GetIpmisNotFound
- type GetIpmisOK
- type GetIpmisParams
- func (o *GetIpmisParams) SetContentLanguage(contentLanguage *string)
- func (o *GetIpmisParams) SetContext(ctx context.Context)
- func (o *GetIpmisParams) SetDefaults()
- func (o *GetIpmisParams) SetHTTPClient(client *http.Client)
- func (o *GetIpmisParams) SetRequestBody(requestBody *models.GetIpmisRequestBody)
- func (o *GetIpmisParams) SetTimeout(timeout time.Duration)
- func (o *GetIpmisParams) WithContentLanguage(contentLanguage *string) *GetIpmisParams
- func (o *GetIpmisParams) WithContext(ctx context.Context) *GetIpmisParams
- func (o *GetIpmisParams) WithDefaults() *GetIpmisParams
- func (o *GetIpmisParams) WithHTTPClient(client *http.Client) *GetIpmisParams
- func (o *GetIpmisParams) WithRequestBody(requestBody *models.GetIpmisRequestBody) *GetIpmisParams
- func (o *GetIpmisParams) WithTimeout(timeout time.Duration) *GetIpmisParams
- func (o *GetIpmisParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIpmisReader
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 ipmi API
func (*Client) GetIpmis ¶
func (a *Client) GetIpmis(params *GetIpmisParams, opts ...ClientOption) (*GetIpmisOK, error)
GetIpmis get ipmis 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 { GetIpmis(params *GetIpmisParams, opts ...ClientOption) (*GetIpmisOK, 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 ipmi API client.
type GetIpmisBadRequest ¶
GetIpmisBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetIpmisBadRequest ¶
func NewGetIpmisBadRequest() *GetIpmisBadRequest
NewGetIpmisBadRequest creates a GetIpmisBadRequest with default headers values
func (*GetIpmisBadRequest) Error ¶
func (o *GetIpmisBadRequest) Error() string
func (*GetIpmisBadRequest) GetPayload ¶
func (o *GetIpmisBadRequest) GetPayload() *models.ErrorBody
type GetIpmisInternalServerError ¶
GetIpmisInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetIpmisInternalServerError ¶
func NewGetIpmisInternalServerError() *GetIpmisInternalServerError
NewGetIpmisInternalServerError creates a GetIpmisInternalServerError with default headers values
func (*GetIpmisInternalServerError) Error ¶
func (o *GetIpmisInternalServerError) Error() string
func (*GetIpmisInternalServerError) GetPayload ¶
func (o *GetIpmisInternalServerError) GetPayload() *models.ErrorBody
type GetIpmisNotFound ¶
GetIpmisNotFound describes a response with status code 404, with default header values.
Not found
func NewGetIpmisNotFound ¶
func NewGetIpmisNotFound() *GetIpmisNotFound
NewGetIpmisNotFound creates a GetIpmisNotFound with default headers values
func (*GetIpmisNotFound) Error ¶
func (o *GetIpmisNotFound) Error() string
func (*GetIpmisNotFound) GetPayload ¶
func (o *GetIpmisNotFound) GetPayload() *models.ErrorBody
type GetIpmisOK ¶
GetIpmisOK describes a response with status code 200, with default header values.
GetIpmisOK get ipmis o k
func NewGetIpmisOK ¶
func NewGetIpmisOK() *GetIpmisOK
NewGetIpmisOK creates a GetIpmisOK with default headers values
func (*GetIpmisOK) Error ¶
func (o *GetIpmisOK) Error() string
func (*GetIpmisOK) GetPayload ¶
func (o *GetIpmisOK) GetPayload() []*models.Ipmi
type GetIpmisParams ¶
type GetIpmisParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetIpmisRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetIpmisParams contains all the parameters to send to the API endpoint
for the get ipmis operation. Typically these are written to a http.Request.
func NewGetIpmisParams ¶
func NewGetIpmisParams() *GetIpmisParams
NewGetIpmisParams creates a new GetIpmisParams 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 NewGetIpmisParamsWithContext ¶
func NewGetIpmisParamsWithContext(ctx context.Context) *GetIpmisParams
NewGetIpmisParamsWithContext creates a new GetIpmisParams object with the ability to set a context for a request.
func NewGetIpmisParamsWithHTTPClient ¶
func NewGetIpmisParamsWithHTTPClient(client *http.Client) *GetIpmisParams
NewGetIpmisParamsWithHTTPClient creates a new GetIpmisParams object with the ability to set a custom HTTPClient for a request.
func NewGetIpmisParamsWithTimeout ¶
func NewGetIpmisParamsWithTimeout(timeout time.Duration) *GetIpmisParams
NewGetIpmisParamsWithTimeout creates a new GetIpmisParams object with the ability to set a timeout on a request.
func (*GetIpmisParams) SetContentLanguage ¶
func (o *GetIpmisParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get ipmis params
func (*GetIpmisParams) SetContext ¶
func (o *GetIpmisParams) SetContext(ctx context.Context)
SetContext adds the context to the get ipmis params
func (*GetIpmisParams) SetDefaults ¶
func (o *GetIpmisParams) SetDefaults()
SetDefaults hydrates default values in the get ipmis params (not the query body).
All values with no default are reset to their zero value.
func (*GetIpmisParams) SetHTTPClient ¶
func (o *GetIpmisParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get ipmis params
func (*GetIpmisParams) SetRequestBody ¶
func (o *GetIpmisParams) SetRequestBody(requestBody *models.GetIpmisRequestBody)
SetRequestBody adds the requestBody to the get ipmis params
func (*GetIpmisParams) SetTimeout ¶
func (o *GetIpmisParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get ipmis params
func (*GetIpmisParams) WithContentLanguage ¶
func (o *GetIpmisParams) WithContentLanguage(contentLanguage *string) *GetIpmisParams
WithContentLanguage adds the contentLanguage to the get ipmis params
func (*GetIpmisParams) WithContext ¶
func (o *GetIpmisParams) WithContext(ctx context.Context) *GetIpmisParams
WithContext adds the context to the get ipmis params
func (*GetIpmisParams) WithDefaults ¶
func (o *GetIpmisParams) WithDefaults() *GetIpmisParams
WithDefaults hydrates default values in the get ipmis params (not the query body).
All values with no default are reset to their zero value.
func (*GetIpmisParams) WithHTTPClient ¶
func (o *GetIpmisParams) WithHTTPClient(client *http.Client) *GetIpmisParams
WithHTTPClient adds the HTTPClient to the get ipmis params
func (*GetIpmisParams) WithRequestBody ¶
func (o *GetIpmisParams) WithRequestBody(requestBody *models.GetIpmisRequestBody) *GetIpmisParams
WithRequestBody adds the requestBody to the get ipmis params
func (*GetIpmisParams) WithTimeout ¶
func (o *GetIpmisParams) WithTimeout(timeout time.Duration) *GetIpmisParams
WithTimeout adds the timeout to the get ipmis params
func (*GetIpmisParams) WriteToRequest ¶
func (o *GetIpmisParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetIpmisReader ¶
type GetIpmisReader struct {
// contains filtered or unexported fields
}
GetIpmisReader is a Reader for the GetIpmis structure.
func (*GetIpmisReader) ReadResponse ¶
func (o *GetIpmisReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.