Documentation ¶
Index ¶
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 status API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new status API client.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) Status ¶
func (a *Client) Status(params *StatusParams, authInfo runtime.ClientAuthInfoWriter) (*StatusOK, error)
Status Retrieve status information
type StatusDefault ¶
StatusDefault handles this case with default header values.
generic error response
func NewStatusDefault ¶
func NewStatusDefault(code int) *StatusDefault
NewStatusDefault creates a StatusDefault with default headers values
func (*StatusDefault) Code ¶
func (o *StatusDefault) Code() int
Code gets the status code for the status default response
func (*StatusDefault) Error ¶
func (o *StatusDefault) Error() string
type StatusOK ¶
type StatusOK struct {
Payload *models.StatusResponse
}
StatusOK handles this case with default header values.
Service health
func NewStatusOK ¶
func NewStatusOK() *StatusOK
NewStatusOK creates a StatusOK with default headers values
type StatusParams ¶
type StatusParams struct { }
StatusParams contains all the parameters to send to the API endpoint for the status operation typically these are written to a http.Request
func NewStatusParams ¶
func NewStatusParams() *StatusParams
NewStatusParams creates a new StatusParams object with the default values initialized.
func (*StatusParams) WriteToRequest ¶
func (o *StatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StatusReader ¶
type StatusReader struct {
// contains filtered or unexported fields
}
StatusReader is a Reader for the Status structure.
func (*StatusReader) ReadResponse ¶
func (o *StatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.