Documentation ¶
Index ¶
- type Client
- type GetDashboardBadRequest
- type GetDashboardInternalServerError
- type GetDashboardOK
- type GetDashboardParams
- func (o *GetDashboardParams) SetContext(ctx context.Context)
- func (o *GetDashboardParams) SetHTTPClient(client *http.Client)
- func (o *GetDashboardParams) SetTimeout(timeout time.Duration)
- func (o *GetDashboardParams) WithContext(ctx context.Context) *GetDashboardParams
- func (o *GetDashboardParams) WithHTTPClient(client *http.Client) *GetDashboardParams
- func (o *GetDashboardParams) WithTimeout(timeout time.Duration) *GetDashboardParams
- func (o *GetDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDashboardReader
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 dashboard API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new dashboard API client.
func (*Client) GetDashboard ¶
func (a *Client) GetDashboard(params *GetDashboardParams, authInfo runtime.ClientAuthInfoWriter) (*GetDashboardOK, error)
GetDashboard dashboard information
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetDashboardBadRequest ¶
type GetDashboardBadRequest struct { }
GetDashboardBadRequest handles this case with default header values.
Bad request
func NewGetDashboardBadRequest ¶
func NewGetDashboardBadRequest() *GetDashboardBadRequest
NewGetDashboardBadRequest creates a GetDashboardBadRequest with default headers values
func (*GetDashboardBadRequest) Error ¶
func (o *GetDashboardBadRequest) Error() string
type GetDashboardInternalServerError ¶
type GetDashboardInternalServerError struct { }
GetDashboardInternalServerError handles this case with default header values.
Server internal error
func NewGetDashboardInternalServerError ¶
func NewGetDashboardInternalServerError() *GetDashboardInternalServerError
NewGetDashboardInternalServerError creates a GetDashboardInternalServerError with default headers values
func (*GetDashboardInternalServerError) Error ¶
func (o *GetDashboardInternalServerError) Error() string
type GetDashboardOK ¶
GetDashboardOK handles this case with default header values.
Successful operation
func NewGetDashboardOK ¶
func NewGetDashboardOK() *GetDashboardOK
NewGetDashboardOK creates a GetDashboardOK with default headers values
func (*GetDashboardOK) Error ¶
func (o *GetDashboardOK) Error() string
func (*GetDashboardOK) GetPayload ¶
func (o *GetDashboardOK) GetPayload() *models.Dashboard
type GetDashboardParams ¶
type GetDashboardParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDashboardParams contains all the parameters to send to the API endpoint for the get dashboard operation typically these are written to a http.Request
func NewGetDashboardParams ¶
func NewGetDashboardParams() *GetDashboardParams
NewGetDashboardParams creates a new GetDashboardParams object with the default values initialized.
func NewGetDashboardParamsWithContext ¶
func NewGetDashboardParamsWithContext(ctx context.Context) *GetDashboardParams
NewGetDashboardParamsWithContext creates a new GetDashboardParams object with the default values initialized, and the ability to set a context for a request
func NewGetDashboardParamsWithHTTPClient ¶
func NewGetDashboardParamsWithHTTPClient(client *http.Client) *GetDashboardParams
NewGetDashboardParamsWithHTTPClient creates a new GetDashboardParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDashboardParamsWithTimeout ¶
func NewGetDashboardParamsWithTimeout(timeout time.Duration) *GetDashboardParams
NewGetDashboardParamsWithTimeout creates a new GetDashboardParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDashboardParams) SetContext ¶
func (o *GetDashboardParams) SetContext(ctx context.Context)
SetContext adds the context to the get dashboard params
func (*GetDashboardParams) SetHTTPClient ¶
func (o *GetDashboardParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get dashboard params
func (*GetDashboardParams) SetTimeout ¶
func (o *GetDashboardParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get dashboard params
func (*GetDashboardParams) WithContext ¶
func (o *GetDashboardParams) WithContext(ctx context.Context) *GetDashboardParams
WithContext adds the context to the get dashboard params
func (*GetDashboardParams) WithHTTPClient ¶
func (o *GetDashboardParams) WithHTTPClient(client *http.Client) *GetDashboardParams
WithHTTPClient adds the HTTPClient to the get dashboard params
func (*GetDashboardParams) WithTimeout ¶
func (o *GetDashboardParams) WithTimeout(timeout time.Duration) *GetDashboardParams
WithTimeout adds the timeout to the get dashboard params
func (*GetDashboardParams) WriteToRequest ¶
func (o *GetDashboardParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDashboardReader ¶
type GetDashboardReader struct {
// contains filtered or unexported fields
}
GetDashboardReader is a Reader for the GetDashboard structure.
func (*GetDashboardReader) ReadResponse ¶
func (o *GetDashboardReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.