model

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeInteger = "integer"
	TypeString  = "string"
	TypeFloat   = "float"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ExportType

type ExportType int

type Reason

type Reason int
const (
	ReasonSuccess                   Reason = 0
	ReasonRequestFailed             Reason = 1
	ReasonRuleVerifyFailed          Reason = 2
	ReasonDependentItemNotCompleted Reason = 3
	ReasonTemplateRenderError       Reason = 4
	ReasonDependentItemFailed       Reason = 5
)

type State

type State int
const (
	StateNotExecuted State = 0
	StateSuccessFul  State = 1
	StateFailed      State = 2
)

type StateGroup

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

func NewStateGroup

func NewStateGroup(testCases []*config.TestCase) *StateGroup

func (*StateGroup) GetState

func (g *StateGroup) GetState(id uint64) State

func (*StateGroup) SetState

func (g *StateGroup) SetState(id uint64, s State)

Jump to

Keyboard shortcuts

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