Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OnCompletionNames ¶
func OnCompletionNames() []string
OnCompletionNames returns a list of possible string values of OnCompletion.
Types ¶
type HttpReqService_Create ¶
type HttpReqService_Create struct { metav1.LabelMeta `json:",inline"` //inline labelmeta TemplateUuid string `json:"template_uuid"` ClusterUuid string `json:"cluster_uuid"` SubscribedChannel *string `json:"subscribed_channel,omitempty"` OnCompletion *int8 `json:"on_completion,omitempty"` Steps []stepv1.HttpReqServiceStep_Create_ByService `json:"steps"` }
type HttpReq_ServiceUpdate_ClientSide ¶
type HttpReq_ServiceUpdate_ClientSide struct { metav1.UuidMeta `json:",inline" xorm:"extends"` //inline uuidmeta Result *string `json:"result,omitempty"` //실행 결과(정상:'결과', 오류:'오류 메시지') Steps []HttpReq_ServiceUpdate_Step_ClientSide `json:"steps,omitempty"` }
type HttpRspService ¶
type HttpRspService struct { Service `json:",inline"` Steps []stepv1.ServiceStep `json:"steps"` }
type HttpRspService_ClientSide ¶
type HttpRspService_ClientSide HttpRspService
type OnCompletion ¶
type OnCompletion int8
ENUM(
none remove )
const ( // OnCompletionNone is a OnCompletion of type None. OnCompletionNone OnCompletion = iota // OnCompletionRemove is a OnCompletion of type Remove. OnCompletionRemove )
func ParseOnCompletion ¶
func ParseOnCompletion(name string) (OnCompletion, error)
ParseOnCompletion attempts to convert a string to a OnCompletion.
func (OnCompletion) String ¶
func (x OnCompletion) String() string
String implements the Stringer interface.
type Service ¶
type Service struct { metav1.DbMeta `json:",inline" xorm:"extends"` metav1.UuidMeta `json:",inline" xorm:"extends"` //inline uuidmeta metav1.LabelMeta `json:",inline" xorm:"extends"` //inline labelmeta ServiceProperty `json:",inline" xorm:"extends"` //inline property }
DATABASE SCHEMA: SERVICE
type ServiceProperty ¶
type ServiceProperty struct { TemplateUuid string `json:"template_uuid,omitempty" xorm:"'template_uuid' char(32) notnull index comment('template_uuid')"` // ClusterUuid string `json:"cluster_uuid,omitempty" xorm:"'cluster_uuid' char(32) notnull index comment('cluster_uuid')"` // AssignedClientUuid string `` // /* 126-byte string literal not displayed */ StepCount *int32 `json:"step_count,omitempty" xorm:"'step_count' int notnull comment('step_count')"` // StepPosition *int32 `json:"step_position,omitempty" xorm:"'step_position' int notnull comment('step_position')"` // Status *int32 `json:"status,omitempty" xorm:"'status' int notnull index comment('status')"` // Result *cryptov1.String `json:"result,omitempty" xorm:"'result' longtext null comment('result')"` //실행 결과(정상:'결과', 오류:'오류 메시지') SubscribedChannel string `json:"subscribed_channel,omitempty" xorm:"'subscribed_channel' varchar(255) null comment('subscribed channel')"` //서비스 POLL 결과 전달 이벤트 채널 이름 OnCompletion *int8 `json:"on_completion,omitempty" xorm:"'on_completion' TINYINT notnull comment('on completion')"` //서비스 완료 후 }
ServiceProperty Property
func (ServiceProperty) ChaniningStep ¶
func (property ServiceProperty) ChaniningStep(steps []stepv1.ServiceStep) ServiceProperty
Click to show internal directories.
Click to hide internal directories.