gshelper

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AtSceneAndApiTimeFilter

type AtSceneAndApiTimeFilter struct {
	TimeStart string `json:"timeStart"`
	TimeEnd   string `json:"timeEnd"`
}

type GSHelper

type GSHelper struct {
	// contains filtered or unexported fields
}

func NewGSHelper

func NewGSHelper(gs *cptype.GlobalStateData) *GSHelper

func (*GSHelper) GetAtBlockFilterTestPlanList

func (h *GSHelper) GetAtBlockFilterTestPlanList() []apistructs.TestPlanV2

func (*GSHelper) GetAtCaseRateTrendingTimeFilter

func (h *GSHelper) GetAtCaseRateTrendingTimeFilter() AtSceneAndApiTimeFilter

func (*GSHelper) GetAtSceneAndApiTimeFilter

func (h *GSHelper) GetAtSceneAndApiTimeFilter() AtSceneAndApiTimeFilter

func (*GSHelper) GetBlockAtStep

func (h *GSHelper) GetBlockAtStep() []apistructs.TestPlanV2Step

func (*GSHelper) GetGlobalAtStep

func (h *GSHelper) GetGlobalAtStep() []apistructs.TestPlanV2Step

func (*GSHelper) GetGlobalAutoTestPlanIDs

func (h *GSHelper) GetGlobalAutoTestPlanIDs() []uint64

func (*GSHelper) GetGlobalAutoTestPlanList

func (h *GSHelper) GetGlobalAutoTestPlanList() []apistructs.TestPlanV2

func (*GSHelper) GetGlobalManualTestPlanList

func (h *GSHelper) GetGlobalManualTestPlanList() []apistructs.TestPlan

func (*GSHelper) GetGlobalQualityScore

func (h *GSHelper) GetGlobalQualityScore() float64

func (*GSHelper) GetGlobalSelectedIterationIDs

func (h *GSHelper) GetGlobalSelectedIterationIDs() []uint64

func (*GSHelper) GetGlobalSelectedIterationsByID

func (h *GSHelper) GetGlobalSelectedIterationsByID() map[uint64]dao.Iteration

func (*GSHelper) GetMtBlockFilterTestPlanList

func (h *GSHelper) GetMtBlockFilterTestPlanList() []apistructs.TestPlan

func (*GSHelper) GetMtPlanChartFilterStatusList

func (h *GSHelper) GetMtPlanChartFilterStatusList() []apistructs.TestCaseExecStatus

func (*GSHelper) GetMtPlanChartFilterTestPlanList

func (h *GSHelper) GetMtPlanChartFilterTestPlanList() []apistructs.TestPlan

func (*GSHelper) GetRateTrendingFilterTestPlanList

func (h *GSHelper) GetRateTrendingFilterTestPlanList() []apistructs.TestPlanV2

func (*GSHelper) GetSelectChartHistoryData

func (h *GSHelper) GetSelectChartHistoryData() map[string]SelectChartItemData

func (*GSHelper) GetWaterfallChartPipelineID added in v1.5.0

func (h *GSHelper) GetWaterfallChartPipelineID() uint64

func (*GSHelper) SetAtBlockFilterTestPlanList

func (h *GSHelper) SetAtBlockFilterTestPlanList(l []apistructs.TestPlanV2)

func (*GSHelper) SetAtCaseRateTrendingTimeFilter

func (h *GSHelper) SetAtCaseRateTrendingTimeFilter(t AtSceneAndApiTimeFilter)

func (*GSHelper) SetAtSceneAndApiTimeFilter

func (h *GSHelper) SetAtSceneAndApiTimeFilter(t AtSceneAndApiTimeFilter)

func (*GSHelper) SetBlockAtSceneStep

func (h *GSHelper) SetBlockAtSceneStep(l []apistructs.AutoTestSceneStep)

func (*GSHelper) SetBlockAtStep

func (h *GSHelper) SetBlockAtStep(l []apistructs.TestPlanV2Step)

func (*GSHelper) SetGlobalAtStep

func (h *GSHelper) SetGlobalAtStep(l []apistructs.TestPlanV2Step)

func (*GSHelper) SetGlobalAutoTestPlanIDs

func (h *GSHelper) SetGlobalAutoTestPlanIDs(l []uint64)

func (*GSHelper) SetGlobalAutoTestPlanList

func (h *GSHelper) SetGlobalAutoTestPlanList(l []*apistructs.TestPlanV2)

func (*GSHelper) SetGlobalManualTestPlanList

func (h *GSHelper) SetGlobalManualTestPlanList(l []apistructs.TestPlan)

func (*GSHelper) SetGlobalQualityScore

func (h *GSHelper) SetGlobalQualityScore(score float64)

func (*GSHelper) SetGlobalSelectedIterationIDs

func (h *GSHelper) SetGlobalSelectedIterationIDs(ids []uint64)

func (*GSHelper) SetGlobalSelectedIterationsByID

func (h *GSHelper) SetGlobalSelectedIterationsByID(l map[uint64]dao.Iteration)

func (*GSHelper) SetMtBlockFilterTestPlanList

func (h *GSHelper) SetMtBlockFilterTestPlanList(l []apistructs.TestPlan)

func (*GSHelper) SetMtPlanChartFilterStatusList

func (h *GSHelper) SetMtPlanChartFilterStatusList(l []apistructs.TestCaseExecStatus)

func (*GSHelper) SetMtPlanChartFilterTestPlanList

func (h *GSHelper) SetMtPlanChartFilterTestPlanList(l []apistructs.TestPlan)

func (*GSHelper) SetRateTrendingFilterTestPlanList

func (h *GSHelper) SetRateTrendingFilterTestPlanList(l []apistructs.TestPlanV2)

func (*GSHelper) SetSelectChartItemData

func (h *GSHelper) SetSelectChartItemData(t map[string]SelectChartItemData)

func (*GSHelper) SetWaterfallChartPipelineID added in v1.5.0

func (h *GSHelper) SetWaterfallChartPipelineID(id uint64)

type SelectChartItemData

type SelectChartItemData struct {
	PlanID      uint64 `json:"planID"`
	Name        string `json:"name"`
	PipelineID  uint64 `json:"pipelineID"`
	ExecuteTime string `json:"executeTime"`
}

Jump to

Keyboard shortcuts

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