Documentation
¶
Index ¶
- Variables
- type StepMeta
- func (*StepMeta) Descriptor() ([]byte, []int)deprecated
- func (x *StepMeta) GetDependsOn() []string
- func (x *StepMeta) GetError() string
- func (x *StepMeta) GetName() string
- func (x *StepMeta) GetStatus() StepStatus
- func (x *StepMeta) GetStepId() string
- func (*StepMeta) ProtoMessage()
- func (x *StepMeta) ProtoReflect() protoreflect.Message
- func (x *StepMeta) Reset()
- func (x *StepMeta) String() string
- type StepResult
- func (*StepResult) Descriptor() ([]byte, []int)deprecated
- func (x *StepResult) GetError() string
- func (x *StepResult) GetStatus() StepStatus
- func (x *StepResult) GetStepId() string
- func (*StepResult) ProtoMessage()
- func (x *StepResult) ProtoReflect() protoreflect.Message
- func (x *StepResult) Reset()
- func (x *StepResult) String() string
- type StepStatus
- func (StepStatus) Descriptor() protoreflect.EnumDescriptor
- func (x StepStatus) Enum() *StepStatus
- func (StepStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x StepStatus) Number() protoreflect.EnumNumber
- func (x *StepStatus) Scan(value interface{}) error
- func (x StepStatus) ShortString() string
- func (x StepStatus) String() string
- func (StepStatus) Type() protoreflect.EnumType
- func (x StepStatus) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StepStatus_name = map[int32]string{ 0: "STEP_STATUS_UNSPECIFIED", 1: "STEP_STATUS_BLOCKED", 2: "STEP_STATUS_READY", 3: "STEP_STATUS_ACTIVE", 4: "STEP_STATUS_DONE", 5: "STEP_STATUS_FAILED", } StepStatus_value = map[string]int32{ "STEP_STATUS_UNSPECIFIED": 0, "STEP_STATUS_BLOCKED": 1, "STEP_STATUS_READY": 2, "STEP_STATUS_ACTIVE": 3, "STEP_STATUS_DONE": 4, "STEP_STATUS_FAILED": 5, } )
Enum value maps for StepStatus.
View Source
var ( StepStatus_name_short = map[int32]string{ 0: "UNSPECIFIED", 1: "BLOCKED", 2: "READY", 3: "ACTIVE", 4: "DONE", 5: "FAILED", } StepStatus_value_short = map[string]int32{ "UNSPECIFIED": 0, "BLOCKED": 1, "READY": 2, "ACTIVE": 3, "DONE": 4, "FAILED": 5, } StepStatus_value_either = map[string]int32{ "UNSPECIFIED": 0, "STEP_STATUS_UNSPECIFIED": 0, "BLOCKED": 1, "STEP_STATUS_BLOCKED": 1, "READY": 2, "STEP_STATUS_READY": 2, "ACTIVE": 3, "STEP_STATUS_ACTIVE": 3, "DONE": 4, "STEP_STATUS_DONE": 4, "FAILED": 5, "STEP_STATUS_FAILED": 5, } )
View Source
var File_j5_drss_v1_drss_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type StepMeta ¶
type StepMeta struct { StepId string `protobuf:"bytes,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Status StepStatus `protobuf:"varint,3,opt,name=status,proto3,enum=j5.drss.v1.StepStatus" json:"status,omitempty"` Error *string `protobuf:"bytes,6,opt,name=error,proto3,oneof" json:"error,omitempty"` DependsOn []string `protobuf:"bytes,7,rep,name=depends_on,json=dependsOn,proto3" json:"depends_on,omitempty"` // contains filtered or unexported fields }
func (*StepMeta) Descriptor
deprecated
func (*StepMeta) GetDependsOn ¶
func (*StepMeta) GetStatus ¶
func (x *StepMeta) GetStatus() StepStatus
func (*StepMeta) ProtoMessage ¶
func (*StepMeta) ProtoMessage()
func (*StepMeta) ProtoReflect ¶
func (x *StepMeta) ProtoReflect() protoreflect.Message
type StepResult ¶
type StepResult struct { StepId string `protobuf:"bytes,1,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"` Status StepStatus `protobuf:"varint,2,opt,name=status,proto3,enum=j5.drss.v1.StepStatus" json:"status,omitempty"` Error *string `protobuf:"bytes,3,opt,name=error,proto3,oneof" json:"error,omitempty"` // contains filtered or unexported fields }
func (*StepResult) Descriptor
deprecated
func (*StepResult) Descriptor() ([]byte, []int)
Deprecated: Use StepResult.ProtoReflect.Descriptor instead.
func (*StepResult) GetError ¶
func (x *StepResult) GetError() string
func (*StepResult) GetStatus ¶
func (x *StepResult) GetStatus() StepStatus
func (*StepResult) GetStepId ¶
func (x *StepResult) GetStepId() string
func (*StepResult) ProtoMessage ¶
func (*StepResult) ProtoMessage()
func (*StepResult) ProtoReflect ¶
func (x *StepResult) ProtoReflect() protoreflect.Message
func (*StepResult) Reset ¶
func (x *StepResult) Reset()
func (*StepResult) String ¶
func (x *StepResult) String() string
type StepStatus ¶
type StepStatus int32
const ( StepStatus_STEP_STATUS_UNSPECIFIED StepStatus = 0 StepStatus_STEP_STATUS_BLOCKED StepStatus = 1 StepStatus_STEP_STATUS_READY StepStatus = 2 StepStatus_STEP_STATUS_ACTIVE StepStatus = 3 StepStatus_STEP_STATUS_DONE StepStatus = 4 StepStatus_STEP_STATUS_FAILED StepStatus = 5 )
const ( StepStatus_UNSPECIFIED StepStatus = 0 StepStatus_BLOCKED StepStatus = 1 StepStatus_READY StepStatus = 2 StepStatus_ACTIVE StepStatus = 3 StepStatus_DONE StepStatus = 4 StepStatus_FAILED StepStatus = 5 )
StepStatus
func (StepStatus) Descriptor ¶
func (StepStatus) Descriptor() protoreflect.EnumDescriptor
func (StepStatus) Enum ¶
func (x StepStatus) Enum() *StepStatus
func (StepStatus) EnumDescriptor
deprecated
func (StepStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use StepStatus.Descriptor instead.
func (StepStatus) Number ¶
func (x StepStatus) Number() protoreflect.EnumNumber
func (*StepStatus) Scan ¶
func (x *StepStatus) Scan(value interface{}) error
func (StepStatus) ShortString ¶
func (x StepStatus) ShortString() string
ShortString returns the un-prefixed string representation of the enum value
func (StepStatus) String ¶
func (x StepStatus) String() string
func (StepStatus) Type ¶
func (StepStatus) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.