dashboard

package
v0.0.0-...-878b285 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

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 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

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

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

WithContext adds the context to the dashboard dashboard graphs jobs list params

func (*DashboardDashboardGraphsJobsListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the dashboard dashboard graphs jobs list params

func (*DashboardDashboardGraphsJobsListParams) WithTimeout

WithTimeout adds the timeout to the dashboard dashboard graphs jobs list params

func (*DashboardDashboardGraphsJobsListParams) WriteToRequest

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

WithContext adds the context to the dashboard dashboard list params

func (*DashboardDashboardListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the dashboard dashboard list params

func (*DashboardDashboardListParams) WithTimeout

WithTimeout adds the timeout to the dashboard dashboard list params

func (*DashboardDashboardListParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL