Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessorActivity ¶
ProcessorActivity is activity for processing batch operation
func ProcessorWorkflow ¶
ProcessorWorkflow is the workflow that performs actions for ParentClosePolicy
Types ¶
type BootstrapParams ¶
type BootstrapParams struct { // Config contains the configuration for scanner // ServiceClient is an instance of temporal service client ServiceClient sdkclient.Client // MetricsClient is an instance of metrics object for emitting stats MetricsClient metrics.Client Logger log.Logger // ClientBean is an instance of client.Bean for a collection of clients ClientBean client.Bean }
BootstrapParams contains the set of params needed to bootstrap the sub-system
type ClientMock ¶
ClientMock is an autogenerated mock type for the Client type
func (*ClientMock) SendParentClosePolicyRequest ¶
func (_m *ClientMock) SendParentClosePolicyRequest(_a0 Request) error
SendParentClosePolicyRequest provides a mock function with given fields: _a0, _a1
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
Processor is the background sub-system that execute workflow for ParentClosePolicy
type Request ¶
type Request struct { Executions []RequestDetail Namespace string NamespaceID string }
Request defines the request for parent close policy
type RequestDetail ¶
type RequestDetail struct { WorkflowID string RunID string Policy enumspb.ParentClosePolicy }
RequestDetail defines detail of each workflow to process
Click to show internal directories.
Click to hide internal directories.