Documentation ¶
Index ¶
- Constants
- func ConnectServerToTemporal(logger *slog.Logger, cfg *config.ServerConfig) (client.Client, error)
- func ConnectWorkerToTemporal(token string, temporalHost string) (client.Client, error)
- type ActivityAddTargetHistoryParam
- type ActivityAddTargetHistoryResult
- type ActivityCheckParam
- type ActivityCheckResult
- type ActivityTargetsFilterParam
- type ActivityTargetsFilterResult
- type AddTargetHistoryStatus
- type AuthHeadersProvider
- type Target
- type WorkflowCheckParam
- type WorkflowCheckResult
- type WorkflowHookParam
- type WorkflowHookResult
Constants ¶
View Source
const ActivityAddTargetHistoryName = "ADD_TARGET_HISTORY"
View Source
const ActivityCheckName = "CHECK"
View Source
const ActivityTargetsFilterName = "TARGETS_FILTER"
View Source
const TEMPORAL_SERVER_QUEUE = "default"
Must be default, as we are also processing some temporal things.
View Source
const WorkflowCheckName = "CHECK_WORKFLOW"
View Source
const WorkflowHookName = "HOOK_WORKFLOW"
Variables ¶
This section is empty.
Functions ¶
func ConnectServerToTemporal ¶
Types ¶
type ActivityAddTargetHistoryParam ¶
type ActivityAddTargetHistoryParam struct { Target *Target WorkerGroupId string CheckId string Status AddTargetHistoryStatus Note string }
type ActivityAddTargetHistoryResult ¶
type ActivityAddTargetHistoryResult struct { }
type ActivityCheckParam ¶
type ActivityCheckResult ¶
type ActivityTargetsFilterParam ¶
type ActivityTargetsFilterParam struct {
Filter string
}
type ActivityTargetsFilterResult ¶
type ActivityTargetsFilterResult struct {
Targets []*Target
}
type AddTargetHistoryStatus ¶
type AddTargetHistoryStatus string
const ( AddTargetHistoryStatusSuccess AddTargetHistoryStatus = "SUCCESS" AddTargetHistoryStatusFailure AddTargetHistoryStatus = "FAILURE" AddTargetHistoryStatusUnknown AddTargetHistoryStatus = "UNKNOWN" )
type AuthHeadersProvider ¶
type AuthHeadersProvider struct {
Token string
}
func (*AuthHeadersProvider) GetHeaders ¶
type WorkflowCheckParam ¶
type WorkflowCheckResult ¶
type WorkflowCheckResult struct {
Note string
}
type WorkflowHookParam ¶
type WorkflowHookResult ¶
type WorkflowHookResult struct {
Note string
}
Click to show internal directories.
Click to hide internal directories.