package
1.2.18-prerelease02
Repository: https://github.com/uber/cadence.git
Documentation: pkg.go.dev

# Functions

NewAPIHandler creates a frontend handler to handle cluster redirection for global domains not being active in current cluster.
RedirectionPolicyGenerator generate corresponding redirection policy.

# Constants

DCRedirectionPolicyAllDomainAPIsForwarding means forwarding all the worker and non-worker APIs based domain, and falling back to DCRedirectionPolicySelectedAPIsForwarding when the current active cluster is not the cluster migration target.
DCRedirectionPolicyAllDomainAPIsForwardingV2 means forwarding all the worker and non-worker APIs based domain, and falling back to DCRedirectionPolicySelectedAPIsForwardingV2 when the current active cluster is not the cluster migration target.
DCRedirectionPolicyDefault means no redirection.
DCRedirectionPolicyNoop means no redirection.
DCRedirectionPolicySelectedAPIsForwarding means forwarding the following non-worker APIs based domain 1.
DCRedirectionPolicySelectedAPIsForwardingV2 forwards everything in DCRedirectionPolicySelectedAPIsForwarding, as well as activity completions (sync and async) and heartbeats.

# Structs

MockClusterRedirectionPolicy is an autogenerated mock type for the ClusterRedirectionPolicy type.

# Interfaces

No description provided by the author