model

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 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 DescSourceCache added in v0.0.6

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

func NewDescSourceCache added in v0.0.6

func NewDescSourceCache() *DescSourceCache

func (*DescSourceCache) Get added in v0.0.6

func (c *DescSourceCache) Get(target string) (s grpcurl.DescriptorSource, ok bool)

func (*DescSourceCache) Set added in v0.0.6

func (c *DescSourceCache) Set(target string, s grpcurl.DescriptorSource)

type ExportType

type ExportType int

type GrpcResp added in v0.0.6

type GrpcResp struct {
	Code    string
	Message string
	Headers []string
	Body    string
}

type IdItem added in v0.0.6

type IdItem interface {
	GetID() uint64
}

type Reason

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

func (Reason) String added in v0.0.5

func (r Reason) String() string

type State

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

func (State) String added in v0.0.5

func (s State) String() string

type StateGroup

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

func NewStateGroup

func NewStateGroup() *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