Documentation
¶
Index ¶
- Constants
- type Catchpoint
- type CatchpointOptions
- type CatchpointSummary
- type Http
- type HttpOptions
- type QATask
- type QATaskAllure
- type QATaskResult
- type QATest
- type QATestSummary
- type QATests
- type QATestsOptions
- type QATestsPytestParams
- type QATestsRequest
- type QATestsResponse
- type QATestsSummary
- type QATestsTaskParams
- type Random
- type RandomOptions
- type Site24x7
- type Site24x7Options
- type Site24x7Summary
Constants ¶
View Source
const CatchpointVerifierName = "Catchpoint"
View Source
const HttpVerifierName = "Config"
View Source
const QATestsEndpoint = "/run_tests_sync"
View Source
const QATestsVerifierName = "QATests"
View Source
const RandomVerifierName = "Random"
View Source
const Site24x7VerifierName = "Site24x7"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Catchpoint ¶ added in v0.0.3
type Catchpoint struct {
// contains filtered or unexported fields
}
func NewCatchpoint ¶ added in v0.0.3
func NewCatchpoint(options *CatchpointOptions, observability *common.Observability) *Catchpoint
func (*Catchpoint) Name ¶ added in v0.0.3
func (c *Catchpoint) Name() string
func (*Catchpoint) Verify ¶ added in v0.0.3
func (c *Catchpoint) Verify(or *common.ObserveResult) (*common.VerifyResult, error)
type CatchpointOptions ¶ added in v0.0.3
type CatchpointSummary ¶ added in v0.0.3
type CatchpointSummary struct {
Country string
Avg float64
Flags map[common.VerifyStatusFlag]bool
}
type Http ¶
type Http struct {
// contains filtered or unexported fields
}
func NewHttp ¶
func NewHttp(options *HttpOptions, observability *common.Observability) *Http
func (*Http) Verify ¶
func (h *Http) Verify(or *common.ObserveResult) (*common.VerifyResult, error)
type HttpOptions ¶
type HttpOptions struct {
URL string
}
type QATask ¶ added in v0.2.0
type QATask struct {
TaskID string `json:"task_id"`
Status string `json:"status"`
Allure []QATaskAllure `json:"allure"`
Result QATaskResult `json:"result"`
}
type QATaskAllure ¶ added in v0.2.0
type QATaskResult ¶ added in v0.2.0
type QATaskResult struct {
Created float64 `json:"created"`
Duration float64 `json:"duration"`
ExitCode int `json:"exitcode"`
Summary QATestSummary `json:"summary"`
Test QATest `json:"test"`
}
type QATestSummary ¶ added in v0.2.0
type QATests ¶ added in v0.2.0
type QATests struct {
// contains filtered or unexported fields
}
func NewQATests ¶ added in v0.2.0
func NewQATests(options *QATestsOptions, observability *common.Observability, metrics *common.VerifierMetrics) *QATests
func (*QATests) Verify ¶ added in v0.2.0
func (q *QATests) Verify(or *common.ObserveResult) (*common.VerifyResult, error)
type QATestsOptions ¶ added in v0.2.0
type QATestsPytestParams ¶ added in v0.2.4
type QATestsRequest ¶ added in v0.2.0
type QATestsRequest struct {
BusinessProcess string `json:"BisnessProcesses"`
PytestParams QATestsPytestParams `json:"PytestParams"`
TaskParams QATestsTaskParams `json:"TaskParams"`
}
type QATestsResponse ¶ added in v0.2.0
type QATestsResponse struct {
Allure interface{} `json:"allure"`
Tasks []QATask `json:"tasks"`
}
type QATestsSummary ¶ added in v0.2.0
type QATestsSummary struct {
Country string
Avg float64
Flags map[common.VerifyStatusFlag]bool
}
type QATestsTaskParams ¶ added in v0.2.4
type QATestsTaskParams struct {
AllureForceNewLaunch bool `json:"AllureForceNewLaunch"`
AllureProjectId string `json:"AllureProjectId"`
AllureLaunchName string `json:"AllureLaunchName"`
AllureLaunchTags []string `json:"AllureLaunchTags"`
Priority int `json:"Priority"`
SecsBoundary int `json:"SecsBoundary"`
}
type Random ¶
type Random struct {
// contains filtered or unexported fields
}
func NewRandom ¶
func NewRandom(options *RandomOptions, observability *common.Observability) *Random
func (*Random) Verify ¶
func (rd *Random) Verify(or *common.ObserveResult) (*common.VerifyResult, error)
type RandomOptions ¶
type Site24x7 ¶
type Site24x7 struct {
// contains filtered or unexported fields
}
func NewSite24x7 ¶
func NewSite24x7(options *Site24x7Options, observability *common.Observability) *Site24x7
func (*Site24x7) Verify ¶
func (s *Site24x7) Verify(or *common.ObserveResult) (*common.VerifyResult, error)
type Site24x7Options ¶
type Site24x7Summary ¶
type Site24x7Summary struct {
Country string
Avg float64
Flags map[common.VerifyStatusFlag]bool
}
Click to show internal directories.
Click to hide internal directories.