Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conditions ¶
type Conditions struct { Status string `json:"status"` MetricKey string `json:"metricKey"` Comparator string `json:"comparator"` ErrorThreshold string `json:"errorThreshold"` ActualValue string `json:"actualValue"` }
Conditions struct - SonarRequestJSON.
type JSON ¶
type JSON struct {
Data interface{}
}
JSON struct that abstract a data mapping a interface.
func (*JSON) PrettyPrintJSON ¶
PrettyPrintJSON function - check pretty print option and show the information.
type Metrics ¶
type Metrics struct { Name string `json:"name"` Value int `json:"value"` DesiredSize string `json:"desiredSize"` }
Metrics struct in SpeedioJSON.
type Periods ¶
type Periods struct { Index int `json:"index"` Mode string `json:"mode"` Date string `json:"date"` Parameter string `json:"parameter"` }
Periods struct - SonarRequestJSON.
type ProjectStatus ¶
type ProjectStatus struct { Status string `json:"status"` Conditions []*Conditions `json:"conditions"` Periods []*Periods `json:"periods"` IgnoredConditions bool `json:"ignoredConditions"` }
ProjectStatus struct - SonarRequestJSON.
type SonarRequestJSON ¶
type SonarRequestJSON struct {
ProjectStatus *ProjectStatus `json:"projectStatus"`
}
SonarRequestJSON struct - JSON object returned in Sonar GET endpoint Quality Gate.
type SpeedioJSON ¶
SpeedioJSON struct - JSON object returned in Speedio performance file.
Click to show internal directories.
Click to hide internal directories.