Documentation
¶
Index ¶
- type Client
- func (a *Client) DashboardDashboardGraphsJobsList(params *DashboardDashboardGraphsJobsListParams) (*DashboardDashboardGraphsJobsListOK, error)
- func (a *Client) DashboardDashboardList(params *DashboardDashboardListParams) (*DashboardDashboardListOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DashboardDashboardGraphsJobsListOK
- type DashboardDashboardGraphsJobsListParams
- func NewDashboardDashboardGraphsJobsListParams() *DashboardDashboardGraphsJobsListParams
- func NewDashboardDashboardGraphsJobsListParamsWithContext(ctx context.Context) *DashboardDashboardGraphsJobsListParams
- func NewDashboardDashboardGraphsJobsListParamsWithHTTPClient(client *http.Client) *DashboardDashboardGraphsJobsListParams
- func NewDashboardDashboardGraphsJobsListParamsWithTimeout(timeout time.Duration) *DashboardDashboardGraphsJobsListParams
- func (o *DashboardDashboardGraphsJobsListParams) SetContext(ctx context.Context)
- func (o *DashboardDashboardGraphsJobsListParams) SetHTTPClient(client *http.Client)
- func (o *DashboardDashboardGraphsJobsListParams) SetTimeout(timeout time.Duration)
- func (o *DashboardDashboardGraphsJobsListParams) WithContext(ctx context.Context) *DashboardDashboardGraphsJobsListParams
- func (o *DashboardDashboardGraphsJobsListParams) WithHTTPClient(client *http.Client) *DashboardDashboardGraphsJobsListParams
- func (o *DashboardDashboardGraphsJobsListParams) WithTimeout(timeout time.Duration) *DashboardDashboardGraphsJobsListParams
- func (o *DashboardDashboardGraphsJobsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DashboardDashboardGraphsJobsListReader
- type DashboardDashboardListOK
- type DashboardDashboardListParams
- func NewDashboardDashboardListParams() *DashboardDashboardListParams
- func NewDashboardDashboardListParamsWithContext(ctx context.Context) *DashboardDashboardListParams
- func NewDashboardDashboardListParamsWithHTTPClient(client *http.Client) *DashboardDashboardListParams
- func NewDashboardDashboardListParamsWithTimeout(timeout time.Duration) *DashboardDashboardListParams
- func (o *DashboardDashboardListParams) SetContext(ctx context.Context)
- func (o *DashboardDashboardListParams) SetHTTPClient(client *http.Client)
- func (o *DashboardDashboardListParams) SetTimeout(timeout time.Duration)
- func (o *DashboardDashboardListParams) WithContext(ctx context.Context) *DashboardDashboardListParams
- func (o *DashboardDashboardListParams) WithHTTPClient(client *http.Client) *DashboardDashboardListParams
- func (o *DashboardDashboardListParams) WithTimeout(timeout time.Duration) *DashboardDashboardListParams
- func (o *DashboardDashboardListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DashboardDashboardListReader
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 (*Client) DashboardDashboardGraphsJobsList ¶
func (a *Client) DashboardDashboardGraphsJobsList(params *DashboardDashboardGraphsJobsListParams) (*DashboardDashboardGraphsJobsListOK, error)
DashboardDashboardGraphsJobsList views statistics for job runs
Make a GET request to this resource to retrieve aggregate statistics about job runs suitable for graphing.
## Parmeters and Filtering
The `period` of the data can be adjusted with:
?period=month
Where `month` can be replaced with `week`, or `day`. `month` is the default.
The type of job can be filtered with:
?job_type=all
Where `all` can be replaced with `inv_sync`, `playbook_run` or `scm_update`. `all` is the default.
## Results
Data will be returned in the following format:
"jobs": { "successful": [ [ 1402808400.0, 9 ], ... ], "failed": [ [ 1402808400.0, 3 ], ... ] }
Each element contains an epoch timestamp represented in seconds and a numerical value indicating the number of events during that time period
func (*Client) DashboardDashboardList ¶
func (a *Client) DashboardDashboardList(params *DashboardDashboardListParams) (*DashboardDashboardListOK, error)
DashboardDashboardList shows dashboard details
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DashboardDashboardGraphsJobsList(params *DashboardDashboardGraphsJobsListParams) (*DashboardDashboardGraphsJobsListOK, error) DashboardDashboardList(params *DashboardDashboardListParams) (*DashboardDashboardListOK, 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 dashboard API client.
type DashboardDashboardGraphsJobsListOK ¶
type DashboardDashboardGraphsJobsListOK struct { }
DashboardDashboardGraphsJobsListOK handles this case with default header values.
OK
func NewDashboardDashboardGraphsJobsListOK ¶
func NewDashboardDashboardGraphsJobsListOK() *DashboardDashboardGraphsJobsListOK
NewDashboardDashboardGraphsJobsListOK creates a DashboardDashboardGraphsJobsListOK with default headers values
func (*DashboardDashboardGraphsJobsListOK) Error ¶
func (o *DashboardDashboardGraphsJobsListOK) Error() string
type DashboardDashboardGraphsJobsListParams ¶
type DashboardDashboardGraphsJobsListParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DashboardDashboardGraphsJobsListParams contains all the parameters to send to the API endpoint for the dashboard dashboard graphs jobs list operation typically these are written to a http.Request
func NewDashboardDashboardGraphsJobsListParams ¶
func NewDashboardDashboardGraphsJobsListParams() *DashboardDashboardGraphsJobsListParams
NewDashboardDashboardGraphsJobsListParams creates a new DashboardDashboardGraphsJobsListParams object with the default values initialized.
func NewDashboardDashboardGraphsJobsListParamsWithContext ¶
func NewDashboardDashboardGraphsJobsListParamsWithContext(ctx context.Context) *DashboardDashboardGraphsJobsListParams
NewDashboardDashboardGraphsJobsListParamsWithContext creates a new DashboardDashboardGraphsJobsListParams object with the default values initialized, and the ability to set a context for a request
func NewDashboardDashboardGraphsJobsListParamsWithHTTPClient ¶
func NewDashboardDashboardGraphsJobsListParamsWithHTTPClient(client *http.Client) *DashboardDashboardGraphsJobsListParams
NewDashboardDashboardGraphsJobsListParamsWithHTTPClient creates a new DashboardDashboardGraphsJobsListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDashboardDashboardGraphsJobsListParamsWithTimeout ¶
func NewDashboardDashboardGraphsJobsListParamsWithTimeout(timeout time.Duration) *DashboardDashboardGraphsJobsListParams
NewDashboardDashboardGraphsJobsListParamsWithTimeout creates a new DashboardDashboardGraphsJobsListParams object with the default values initialized, and the ability to set a timeout on a request
func (*DashboardDashboardGraphsJobsListParams) SetContext ¶
func (o *DashboardDashboardGraphsJobsListParams) SetContext(ctx context.Context)
SetContext adds the context to the dashboard dashboard graphs jobs list params
func (*DashboardDashboardGraphsJobsListParams) SetHTTPClient ¶
func (o *DashboardDashboardGraphsJobsListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the dashboard dashboard graphs jobs list params
func (*DashboardDashboardGraphsJobsListParams) SetTimeout ¶
func (o *DashboardDashboardGraphsJobsListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the dashboard dashboard graphs jobs list params
func (*DashboardDashboardGraphsJobsListParams) WithContext ¶
func (o *DashboardDashboardGraphsJobsListParams) WithContext(ctx context.Context) *DashboardDashboardGraphsJobsListParams
WithContext adds the context to the dashboard dashboard graphs jobs list params
func (*DashboardDashboardGraphsJobsListParams) WithHTTPClient ¶
func (o *DashboardDashboardGraphsJobsListParams) WithHTTPClient(client *http.Client) *DashboardDashboardGraphsJobsListParams
WithHTTPClient adds the HTTPClient to the dashboard dashboard graphs jobs list params
func (*DashboardDashboardGraphsJobsListParams) WithTimeout ¶
func (o *DashboardDashboardGraphsJobsListParams) WithTimeout(timeout time.Duration) *DashboardDashboardGraphsJobsListParams
WithTimeout adds the timeout to the dashboard dashboard graphs jobs list params
func (*DashboardDashboardGraphsJobsListParams) WriteToRequest ¶
func (o *DashboardDashboardGraphsJobsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DashboardDashboardGraphsJobsListReader ¶
type DashboardDashboardGraphsJobsListReader struct {
// contains filtered or unexported fields
}
DashboardDashboardGraphsJobsListReader is a Reader for the DashboardDashboardGraphsJobsList structure.
func (*DashboardDashboardGraphsJobsListReader) ReadResponse ¶
func (o *DashboardDashboardGraphsJobsListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DashboardDashboardListOK ¶
type DashboardDashboardListOK struct { }
DashboardDashboardListOK handles this case with default header values.
OK
func NewDashboardDashboardListOK ¶
func NewDashboardDashboardListOK() *DashboardDashboardListOK
NewDashboardDashboardListOK creates a DashboardDashboardListOK with default headers values
func (*DashboardDashboardListOK) Error ¶
func (o *DashboardDashboardListOK) Error() string
type DashboardDashboardListParams ¶
type DashboardDashboardListParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DashboardDashboardListParams contains all the parameters to send to the API endpoint for the dashboard dashboard list operation typically these are written to a http.Request
func NewDashboardDashboardListParams ¶
func NewDashboardDashboardListParams() *DashboardDashboardListParams
NewDashboardDashboardListParams creates a new DashboardDashboardListParams object with the default values initialized.
func NewDashboardDashboardListParamsWithContext ¶
func NewDashboardDashboardListParamsWithContext(ctx context.Context) *DashboardDashboardListParams
NewDashboardDashboardListParamsWithContext creates a new DashboardDashboardListParams object with the default values initialized, and the ability to set a context for a request
func NewDashboardDashboardListParamsWithHTTPClient ¶
func NewDashboardDashboardListParamsWithHTTPClient(client *http.Client) *DashboardDashboardListParams
NewDashboardDashboardListParamsWithHTTPClient creates a new DashboardDashboardListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDashboardDashboardListParamsWithTimeout ¶
func NewDashboardDashboardListParamsWithTimeout(timeout time.Duration) *DashboardDashboardListParams
NewDashboardDashboardListParamsWithTimeout creates a new DashboardDashboardListParams object with the default values initialized, and the ability to set a timeout on a request
func (*DashboardDashboardListParams) SetContext ¶
func (o *DashboardDashboardListParams) SetContext(ctx context.Context)
SetContext adds the context to the dashboard dashboard list params
func (*DashboardDashboardListParams) SetHTTPClient ¶
func (o *DashboardDashboardListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the dashboard dashboard list params
func (*DashboardDashboardListParams) SetTimeout ¶
func (o *DashboardDashboardListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the dashboard dashboard list params
func (*DashboardDashboardListParams) WithContext ¶
func (o *DashboardDashboardListParams) WithContext(ctx context.Context) *DashboardDashboardListParams
WithContext adds the context to the dashboard dashboard list params
func (*DashboardDashboardListParams) WithHTTPClient ¶
func (o *DashboardDashboardListParams) WithHTTPClient(client *http.Client) *DashboardDashboardListParams
WithHTTPClient adds the HTTPClient to the dashboard dashboard list params
func (*DashboardDashboardListParams) WithTimeout ¶
func (o *DashboardDashboardListParams) WithTimeout(timeout time.Duration) *DashboardDashboardListParams
WithTimeout adds the timeout to the dashboard dashboard list params
func (*DashboardDashboardListParams) WriteToRequest ¶
func (o *DashboardDashboardListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DashboardDashboardListReader ¶
type DashboardDashboardListReader struct {
// contains filtered or unexported fields
}
DashboardDashboardListReader is a Reader for the DashboardDashboardList structure.
func (*DashboardDashboardListReader) ReadResponse ¶
func (o *DashboardDashboardListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.