Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CliApp ¶
CliApp stores a single instance of the cli and the inputs expected from the user
func (*CliApp) ReadInput ¶
func (app *CliApp) ReadInput() (*DataRequest, error)
ReadInput reads user input data from the cli
func (*CliApp) ValidateInput ¶
ValidateInput checks that the path inputs exist
type DataRequest ¶
type DataRequest struct { // Step allows you to set the step for ranged queries // +optional: default: "1m" Step string `yaml:"step,omitempty"` // +optional: default: [ // "etcd_disk_wal_fsync_duration_seconds_bucket", // "etcd_disk_backend_commit_duration_seconds_bucket", // "etcd_network_peer_round_trip_time_seconds_bucket"] TimeSeries []string `yaml:"promMetrics,omitempty"` // TestIDs holds the UUID of the CI tests you want to pull data from TestIDs []string `yaml:"testIDs"` }
DataRequest stores user data requests from CI prom
func NewDataRequest ¶
func NewDataRequest() *DataRequest
NewDataRequest object and set default values
func (*DataRequest) Validate ¶
func (req *DataRequest) Validate() error
Validate DataRequest Objects
Click to show internal directories.
Click to hide internal directories.