v1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpReqServiceStep_Create_ByService

type HttpReqServiceStep_Create_ByService struct {
	Args map[string]interface{} `json:"args,omitempty"`
}

type ServiceStep

type ServiceStep struct {
	metav1.DbMeta       `json:",inline" xorm:"extends"`
	metav1.UuidMeta     `json:",inline" xorm:"extends"` //inline uuidmeta
	metav1.LabelMeta    `json:",inline" xorm:"extends"` //inline labelmeta
	ServiceStepProperty `json:",inline" xorm:"extends"` //inline property
}

DATABASE SCHEMA: SERVICE

func (ServiceStep) TableName

func (ServiceStep) TableName() string

type ServiceStepProperty

type ServiceStepProperty struct {
	ServiceUuid  string           `json:"service_uuid"            xorm:"'service_uuid'  char(32)      notnull index comment('services uuid')"`
	Sequence     *int32           `json:"sequence,omitempty"      xorm:"'sequence'      int           notnull       comment('sequence')"`
	Method       string           `json:"method"                  xorm:"'method'        varchar(255)  notnull       comment('method')"`
	Args         cryptov1.Hashset `json:"args,omitempty"          xorm:"'args'          text          null          comment('args')"`
	ResultFilter *string          `json:"result_filter,omitempty" xorm:"'result_filter' varchar(4096) null          comment('result_filter')"`
	Status       *int32           `json:"status,omitempty"        xorm:"'status'        int           notnull index comment('status')"`
	Started      *time.Time       `json:"started,omitempty"       xorm:"'started'       datetime      null          comment('step start time')"`
	Ended        *time.Time       `json:"ended,omitempty"         xorm:"'ended'         datetime      null          comment('step end time)'"`
}

Jump to

Keyboard shortcuts

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