Documentation ¶
Index ¶
- Variables
- func ToDagStep(pbStep *Step) (*dag.Step, error)
- type Condition
- type ContinueOn
- type ExecutorConfig
- func (*ExecutorConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutorConfig) GetConfig() map[string]*anypb.Any
- func (x *ExecutorConfig) GetType() string
- func (*ExecutorConfig) ProtoMessage()
- func (x *ExecutorConfig) ProtoReflect() protoreflect.Message
- func (x *ExecutorConfig) Reset()
- func (x *ExecutorConfig) String() string
- type RepeatPolicy
- func (*RepeatPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatPolicy) GetInterval() *durationpb.Duration
- func (x *RepeatPolicy) GetRepeat() bool
- func (*RepeatPolicy) ProtoMessage()
- func (x *RepeatPolicy) ProtoReflect() protoreflect.Message
- func (x *RepeatPolicy) Reset()
- func (x *RepeatPolicy) String() string
- type RetryPolicy
- func (*RetryPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *RetryPolicy) GetInterval() *durationpb.Duration
- func (x *RetryPolicy) GetLimit() int32
- func (*RetryPolicy) ProtoMessage()
- func (x *RetryPolicy) ProtoReflect() protoreflect.Message
- func (x *RetryPolicy) Reset()
- func (x *RetryPolicy) String() string
- type Step
- func (*Step) Descriptor() ([]byte, []int)deprecated
- func (x *Step) GetArgs() []string
- func (x *Step) GetCmdWithArgs() string
- func (x *Step) GetCommand() string
- func (x *Step) GetContinueOn() *ContinueOn
- func (x *Step) GetDepends() []string
- func (x *Step) GetDescription() string
- func (x *Step) GetDir() string
- func (x *Step) GetExecutorConfig() *ExecutorConfig
- func (x *Step) GetMailOnError() bool
- func (x *Step) GetName() string
- func (x *Step) GetOutput() string
- func (x *Step) GetPreconditions() []*Condition
- func (x *Step) GetRepeatPolicy() *RepeatPolicy
- func (x *Step) GetRetryPolicy() *RetryPolicy
- func (x *Step) GetScript() string
- func (x *Step) GetSignalOnStop() string
- func (x *Step) GetStderr() string
- func (x *Step) GetStdout() string
- func (x *Step) GetVariables() []string
- func (*Step) ProtoMessage()
- func (x *Step) ProtoReflect() protoreflect.Message
- func (x *Step) Reset()
- func (x *Step) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_internal_proto_step_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type Condition ¶
type Condition struct { Condition string `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"` Expected string `protobuf:"bytes,2,opt,name=expected,proto3" json:"expected,omitempty"` // contains filtered or unexported fields }
func (*Condition) Descriptor
deprecated
func (*Condition) GetCondition ¶
func (*Condition) GetExpected ¶
func (*Condition) ProtoMessage ¶
func (*Condition) ProtoMessage()
func (*Condition) ProtoReflect ¶
func (x *Condition) ProtoReflect() protoreflect.Message
type ContinueOn ¶
type ContinueOn struct { Failure bool `protobuf:"varint,1,opt,name=failure,proto3" json:"failure,omitempty"` Skipped bool `protobuf:"varint,2,opt,name=skipped,proto3" json:"skipped,omitempty"` // contains filtered or unexported fields }
func (*ContinueOn) Descriptor
deprecated
func (*ContinueOn) Descriptor() ([]byte, []int)
Deprecated: Use ContinueOn.ProtoReflect.Descriptor instead.
func (*ContinueOn) GetFailure ¶
func (x *ContinueOn) GetFailure() bool
func (*ContinueOn) GetSkipped ¶
func (x *ContinueOn) GetSkipped() bool
func (*ContinueOn) ProtoMessage ¶
func (*ContinueOn) ProtoMessage()
func (*ContinueOn) ProtoReflect ¶
func (x *ContinueOn) ProtoReflect() protoreflect.Message
func (*ContinueOn) Reset ¶
func (x *ContinueOn) Reset()
func (*ContinueOn) String ¶
func (x *ContinueOn) String() string
type ExecutorConfig ¶
type ExecutorConfig struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Config map[string]*anypb.Any `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ExecutorConfig) Descriptor
deprecated
func (*ExecutorConfig) Descriptor() ([]byte, []int)
Deprecated: Use ExecutorConfig.ProtoReflect.Descriptor instead.
func (*ExecutorConfig) GetType ¶
func (x *ExecutorConfig) GetType() string
func (*ExecutorConfig) ProtoMessage ¶
func (*ExecutorConfig) ProtoMessage()
func (*ExecutorConfig) ProtoReflect ¶
func (x *ExecutorConfig) ProtoReflect() protoreflect.Message
func (*ExecutorConfig) Reset ¶
func (x *ExecutorConfig) Reset()
func (*ExecutorConfig) String ¶
func (x *ExecutorConfig) String() string
type RepeatPolicy ¶
type RepeatPolicy struct { Repeat bool `protobuf:"varint,1,opt,name=repeat,proto3" json:"repeat,omitempty"` Interval *durationpb.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` // contains filtered or unexported fields }
func (*RepeatPolicy) Descriptor
deprecated
func (*RepeatPolicy) Descriptor() ([]byte, []int)
Deprecated: Use RepeatPolicy.ProtoReflect.Descriptor instead.
func (*RepeatPolicy) GetInterval ¶
func (x *RepeatPolicy) GetInterval() *durationpb.Duration
func (*RepeatPolicy) GetRepeat ¶
func (x *RepeatPolicy) GetRepeat() bool
func (*RepeatPolicy) ProtoMessage ¶
func (*RepeatPolicy) ProtoMessage()
func (*RepeatPolicy) ProtoReflect ¶
func (x *RepeatPolicy) ProtoReflect() protoreflect.Message
func (*RepeatPolicy) Reset ¶
func (x *RepeatPolicy) Reset()
func (*RepeatPolicy) String ¶
func (x *RepeatPolicy) String() string
type RetryPolicy ¶
type RetryPolicy struct { Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Interval *durationpb.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` // contains filtered or unexported fields }
func (*RetryPolicy) Descriptor
deprecated
func (*RetryPolicy) Descriptor() ([]byte, []int)
Deprecated: Use RetryPolicy.ProtoReflect.Descriptor instead.
func (*RetryPolicy) GetInterval ¶
func (x *RetryPolicy) GetInterval() *durationpb.Duration
func (*RetryPolicy) GetLimit ¶
func (x *RetryPolicy) GetLimit() int32
func (*RetryPolicy) ProtoMessage ¶
func (*RetryPolicy) ProtoMessage()
func (*RetryPolicy) ProtoReflect ¶
func (x *RetryPolicy) ProtoReflect() protoreflect.Message
func (*RetryPolicy) Reset ¶
func (x *RetryPolicy) Reset()
func (*RetryPolicy) String ¶
func (x *RetryPolicy) String() string
type Step ¶
type Step struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Variables []string `protobuf:"bytes,3,rep,name=variables,proto3" json:"variables,omitempty"` Dir string `protobuf:"bytes,4,opt,name=dir,proto3" json:"dir,omitempty"` ExecutorConfig *ExecutorConfig `protobuf:"bytes,5,opt,name=executor_config,json=executorConfig,proto3" json:"executor_config,omitempty"` CmdWithArgs string `protobuf:"bytes,6,opt,name=cmd_with_args,json=cmdWithArgs,proto3" json:"cmd_with_args,omitempty"` Command string `protobuf:"bytes,7,opt,name=command,proto3" json:"command,omitempty"` Script string `protobuf:"bytes,8,opt,name=script,proto3" json:"script,omitempty"` Stdout string `protobuf:"bytes,9,opt,name=stdout,proto3" json:"stdout,omitempty"` Stderr string `protobuf:"bytes,10,opt,name=stderr,proto3" json:"stderr,omitempty"` Output string `protobuf:"bytes,11,opt,name=output,proto3" json:"output,omitempty"` Args []string `protobuf:"bytes,12,rep,name=args,proto3" json:"args,omitempty"` Depends []string `protobuf:"bytes,13,rep,name=depends,proto3" json:"depends,omitempty"` ContinueOn *ContinueOn `protobuf:"bytes,14,opt,name=continue_on,json=continueOn,proto3" json:"continue_on,omitempty"` RetryPolicy *RetryPolicy `protobuf:"bytes,15,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` RepeatPolicy *RepeatPolicy `protobuf:"bytes,16,opt,name=repeat_policy,json=repeatPolicy,proto3" json:"repeat_policy,omitempty"` MailOnError bool `protobuf:"varint,17,opt,name=mail_on_error,json=mailOnError,proto3" json:"mail_on_error,omitempty"` Preconditions []*Condition `protobuf:"bytes,18,rep,name=preconditions,proto3" json:"preconditions,omitempty"` SignalOnStop string `protobuf:"bytes,19,opt,name=signal_on_stop,json=signalOnStop,proto3" json:"signal_on_stop,omitempty"` // contains filtered or unexported fields }
func (*Step) Descriptor
deprecated
func (*Step) GetCmdWithArgs ¶
func (*Step) GetCommand ¶
func (*Step) GetContinueOn ¶
func (x *Step) GetContinueOn() *ContinueOn
func (*Step) GetDepends ¶
func (*Step) GetDescription ¶
func (*Step) GetExecutorConfig ¶
func (x *Step) GetExecutorConfig() *ExecutorConfig
func (*Step) GetMailOnError ¶
func (*Step) GetPreconditions ¶
func (*Step) GetRepeatPolicy ¶
func (x *Step) GetRepeatPolicy() *RepeatPolicy
func (*Step) GetRetryPolicy ¶
func (x *Step) GetRetryPolicy() *RetryPolicy
func (*Step) GetSignalOnStop ¶
func (*Step) GetVariables ¶
func (*Step) ProtoMessage ¶
func (*Step) ProtoMessage()
func (*Step) ProtoReflect ¶
func (x *Step) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.