Documentation ¶
Index ¶
- func ExponentialNextCheck(numberOfFailures int) time.Time
- func RegisterTaskExecutors(manager *cereal.Manager, domainService string, domainPurgeClient PurgeClient) error
- func StartProjectPurgeTaskName(svcName string) string
- type DomainProjectPurgeTask
- type DomainProjectPurgeTaskParams
- type DomainProjectPurgeWorkflowExecutor
- func (m *DomainProjectPurgeWorkflowExecutor) OnCancel(w cereal.WorkflowInstance, ev cereal.CancelEvent) cereal.Decision
- func (m *DomainProjectPurgeWorkflowExecutor) OnStart(w cereal.WorkflowInstance, ev cereal.StartEvent) cereal.Decision
- func (m *DomainProjectPurgeWorkflowExecutor) OnTaskComplete(w cereal.WorkflowInstance, ev cereal.TaskCompleteEvent) cereal.Decision
- type DomainProjectPurgeWorkflowParameters
- type DomainProjectPurgeWorkflowPayload
- type PurgeClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExponentialNextCheck ¶
func RegisterTaskExecutors ¶
func RegisterTaskExecutors(manager *cereal.Manager, domainService string, domainPurgeClient PurgeClient) error
Types ¶
type DomainProjectPurgeTask ¶
type DomainProjectPurgeTask struct {
// contains filtered or unexported fields
}
type DomainProjectPurgeTaskParams ¶
type DomainProjectPurgeTaskParams struct {
ProjectID string
}
type DomainProjectPurgeWorkflowExecutor ¶
type DomainProjectPurgeWorkflowExecutor struct {
// contains filtered or unexported fields
}
func NewWorkflowExecutorForDomainService ¶
func NewWorkflowExecutorForDomainService(domainService string) *DomainProjectPurgeWorkflowExecutor
func (*DomainProjectPurgeWorkflowExecutor) OnCancel ¶
func (m *DomainProjectPurgeWorkflowExecutor) OnCancel( w cereal.WorkflowInstance, ev cereal.CancelEvent) cereal.Decision
func (*DomainProjectPurgeWorkflowExecutor) OnStart ¶
func (m *DomainProjectPurgeWorkflowExecutor) OnStart( w cereal.WorkflowInstance, ev cereal.StartEvent) cereal.Decision
func (*DomainProjectPurgeWorkflowExecutor) OnTaskComplete ¶
func (m *DomainProjectPurgeWorkflowExecutor) OnTaskComplete( w cereal.WorkflowInstance, ev cereal.TaskCompleteEvent) cereal.Decision
type DomainProjectPurgeWorkflowParameters ¶
type DomainProjectPurgeWorkflowParameters struct {
ProjectID string
}
type DomainProjectPurgeWorkflowPayload ¶
type DomainProjectPurgeWorkflowPayload struct {
ConsecutiveJobCheckFailures int
}
Click to show internal directories.
Click to hide internal directories.