SYMBOL INDEX (812 symbols across 160 files) FILE: cmd/samples/advanced/autoscaling-monitoring/activities.go constant loadGenerationActivityName (line 13) | loadGenerationActivityName = "loadGenerationActivity" function LoadGenerationActivity (line 18) | func LoadGenerationActivity(ctx context.Context, taskID int, minProcessi... FILE: cmd/samples/advanced/autoscaling-monitoring/config.go type AutoscalingConfiguration (line 13) | type AutoscalingConfiguration struct method applyDefaults (line 117) | func (c *AutoscalingConfiguration) applyDefaults() { method ToCommonConfiguration (line 167) | func (c *AutoscalingConfiguration) ToCommonConfiguration() common.Conf... type AutoscalingSettings (line 25) | type AutoscalingSettings struct type LoadGenerationSettings (line 36) | type LoadGenerationSettings struct constant DefaultDomainName (line 50) | DefaultDomainName = "default" constant DefaultServiceName (line 51) | DefaultServiceName = "cadence-frontend" constant DefaultHostNameAndPort (line 52) | DefaultHostNameAndPort = "localhost:7833" constant DefaultPrometheusAddr (line 53) | DefaultPrometheusAddr = "127.0.0.1:8004" constant DefaultPollerMinCount (line 55) | DefaultPollerMinCount = 2 constant DefaultPollerMaxCount (line 56) | DefaultPollerMaxCount = 8 constant DefaultPollerInitCount (line 57) | DefaultPollerInitCount = 4 constant DefaultWorkflows (line 59) | DefaultWorkflows = 10 constant DefaultWorkflowDelay (line 60) | DefaultWorkflowDelay = 1000 constant DefaultActivitiesPerWorkflow (line 61) | DefaultActivitiesPerWorkflow = 30 constant DefaultBatchDelay (line 62) | DefaultBatchDelay = 2000 constant DefaultMinProcessingTime (line 63) | DefaultMinProcessingTime = 1000 constant DefaultMaxProcessingTime (line 64) | DefaultMaxProcessingTime = 6000 function DefaultAutoscalingConfiguration (line 68) | func DefaultAutoscalingConfiguration() AutoscalingConfiguration { function loadConfiguration (line 93) | func loadConfiguration(configFile string) AutoscalingConfiguration { FILE: cmd/samples/advanced/autoscaling-monitoring/config_test.go function TestLoadConfiguration_SuccessfulLoading (line 12) | func TestLoadConfiguration_SuccessfulLoading(t *testing.T) { function TestLoadConfiguration_MissingFileFallback (line 62) | func TestLoadConfiguration_MissingFileFallback(t *testing.T) { function TestDefaultAutoscalingConfiguration (line 81) | func TestDefaultAutoscalingConfiguration(t *testing.T) { function TestApplyDefaults (line 101) | func TestApplyDefaults(t *testing.T) { FILE: cmd/samples/advanced/autoscaling-monitoring/main.go constant ApplicationName (line 21) | ApplicationName = "autoscaling-monitoring" function findConfigFile (line 25) | func findConfigFile() string { function main (line 47) | func main() { function startWorkers (line 140) | func startWorkers(h *common.SampleHelper, config *AutoscalingConfigurati... function startWorkflow (line 144) | func startWorkflow(h *common.SampleHelper, config *AutoscalingConfigurat... FILE: cmd/samples/advanced/autoscaling-monitoring/worker_config.go function startWorkersWithAutoscaling (line 14) | func startWorkersWithAutoscaling(h *common.SampleHelper, config *Autosca... function registerWorkflowAndActivityForAutoscaling (line 53) | func registerWorkflowAndActivityForAutoscaling(w worker.Worker) { FILE: cmd/samples/advanced/autoscaling-monitoring/workflow.go constant autoscalingWorkflowName (line 11) | autoscalingWorkflowName = "autoscalingWorkflow" function AutoscalingWorkflow (line 16) | func AutoscalingWorkflow(ctx workflow.Context, activitiesPerWorkflow int... FILE: cmd/samples/common/factory.go constant _cadenceClientName (line 20) | _cadenceClientName = "cadence-client" constant _cadenceFrontendService (line 21) | _cadenceFrontendService = "cadence-frontend" type WorkflowClientBuilder (line 25) | type WorkflowClientBuilder struct method SetHostPort (line 45) | func (b *WorkflowClientBuilder) SetHostPort(hostport string) *Workflow... method SetDomain (line 51) | func (b *WorkflowClientBuilder) SetDomain(domain string) *WorkflowClie... method SetClientIdentity (line 57) | func (b *WorkflowClientBuilder) SetClientIdentity(identity string) *Wo... method SetMetricsScope (line 63) | func (b *WorkflowClientBuilder) SetMetricsScope(metricsScope tally.Sco... method SetDispatcher (line 69) | func (b *WorkflowClientBuilder) SetDispatcher(dispatcher *yarpc.Dispat... method SetContextPropagators (line 75) | func (b *WorkflowClientBuilder) SetContextPropagators(ctxProps []workf... method SetDataConverter (line 81) | func (b *WorkflowClientBuilder) SetDataConverter(dataConverter encoded... method SetTracer (line 87) | func (b *WorkflowClientBuilder) SetTracer(tracer opentracing.Tracer) *... method BuildCadenceClient (line 93) | func (b *WorkflowClientBuilder) BuildCadenceClient() (client.Client, e... method BuildCadenceDomainClient (line 115) | func (b *WorkflowClientBuilder) BuildCadenceDomainClient() (client.Dom... method BuildServiceClient (line 135) | func (b *WorkflowClientBuilder) BuildServiceClient() (workflowservicec... method build (line 153) | func (b *WorkflowClientBuilder) build() error { function NewBuilder (line 38) | func NewBuilder(logger *zap.Logger) *WorkflowClientBuilder { FILE: cmd/samples/common/sample_helper.go constant defaultConfigFile (line 26) | defaultConfigFile = "config/development.yaml" type SampleHelper (line 31) | type SampleHelper struct method SetConfigFile (line 82) | func (h *SampleHelper) SetConfigFile(configFile string) { method SetupServiceConfig (line 87) | func (h *SampleHelper) SetupServiceConfig() { method StartWorkflow (line 172) | func (h *SampleHelper) StartWorkflow( method StartWorkflowWithCtx (line 181) | func (h *SampleHelper) StartWorkflowWithCtx( method SignalWithStartWorkflowWithCtx (line 204) | func (h *SampleHelper) SignalWithStartWorkflowWithCtx(ctx context.Cont... method RegisterWorkflow (line 223) | func (h *SampleHelper) RegisterWorkflow(workflow interface{}) { method RegisterWorkflowWithAlias (line 227) | func (h *SampleHelper) RegisterWorkflowWithAlias(workflow interface{},... method RegisterActivity (line 235) | func (h *SampleHelper) RegisterActivity(activity interface{}) { method RegisterActivityWithAlias (line 239) | func (h *SampleHelper) RegisterActivityWithAlias(activity interface{},... method StartWorkers (line 248) | func (h *SampleHelper) StartWorkers(domainName string, groupName strin... method QueryWorkflow (line 261) | func (h *SampleHelper) QueryWorkflow(workflowID, runID, queryType stri... method ConsistentQueryWorkflow (line 280) | func (h *SampleHelper) ConsistentQueryWorkflow( method SignalWorkflow (line 310) | func (h *SampleHelper) SignalWorkflow(workflowID, signal string, data ... method CancelWorkflow (line 324) | func (h *SampleHelper) CancelWorkflow(workflowID string) { method registerWorkflowAndActivity (line 338) | func (h *SampleHelper) registerWorkflowAndActivity(worker worker.Worke... type Configuration (line 48) | type Configuration struct type registryOption (line 55) | type registryOption struct FILE: cmd/samples/common/util.go function StringPtr (line 4) | func StringPtr(v string) *string { function Int32Ptr (line 9) | func Int32Ptr(v int32) *int32 { function Int64Ptr (line 14) | func Int64Ptr(v int64) *int64 { FILE: cmd/samples/cron/cron_workflow.go constant activityScheduleToStartTimeout (line 19) | activityScheduleToStartTimeout = time.Second * 10 constant activityStartToCloseTimeout (line 21) | activityStartToCloseTimeout = time.Minute constant WorkflowStartToCloseTimeout (line 24) | WorkflowStartToCloseTimeout = time.Minute * 20 constant DecisionTaskStartToCloseTimeout (line 26) | DecisionTaskStartToCloseTimeout = time.Second * 10 function sampleCronActivity (line 32) | func sampleCronActivity(ctx context.Context, beginTime, endTime time.Tim... type SampleCronResult (line 39) | type SampleCronResult struct function sampleCronWorkflow (line 44) | func sampleCronWorkflow(ctx workflow.Context) (*SampleCronResult, error) { FILE: cmd/samples/cron/cron_workflow_test.go type UnitTestSuite (line 16) | type UnitTestSuite struct method SetupTest (line 27) | func (s *UnitTestSuite) SetupTest() { method TearDownTest (line 33) | func (s *UnitTestSuite) TearDownTest() { method Test_CronWorkflow (line 37) | func (s *UnitTestSuite) Test_CronWorkflow() { function TestUnitTestSuite (line 23) | func TestUnitTestSuite(t *testing.T) { FILE: cmd/samples/cron/main.go constant ApplicationName (line 16) | ApplicationName = "cronGroup" function startWorkers (line 21) | func startWorkers(h *common.SampleHelper) { function startWorkflow (line 36) | func startWorkflow(h *common.SampleHelper, cron string) { function main (line 49) | func main() { FILE: cmd/samples/dsl/activities.go function sampleActivity1 (line 7) | func sampleActivity1(input []string) (string, error) { function sampleActivity2 (line 13) | func sampleActivity2(input []string) (string, error) { function sampleActivity3 (line 19) | func sampleActivity3(input []string) (string, error) { function sampleActivity4 (line 25) | func sampleActivity4(input []string) (string, error) { function sampleActivity5 (line 31) | func sampleActivity5(input []string) (string, error) { FILE: cmd/samples/dsl/main.go function startWorkers (line 19) | func startWorkers(h *common.SampleHelper) { function startWorkflow (line 28) | func startWorkflow(h *common.SampleHelper, w Workflow) { function main (line 38) | func main() { FILE: cmd/samples/dsl/workflow.go constant ApplicationName (line 11) | ApplicationName = "dslGroup" type Workflow (line 16) | type Workflow struct type Statement (line 23) | type Statement struct method execute (line 78) | func (b *Statement) execute(ctx workflow.Context, bindings map[string]... type Sequence (line 30) | type Sequence struct method execute (line 113) | func (s Sequence) execute(ctx workflow.Context, bindings map[string]st... type Parallel (line 35) | type Parallel struct method execute (line 123) | func (p Parallel) execute(ctx workflow.Context, bindings map[string]st... type ActivityInvocation (line 42) | type ActivityInvocation struct method execute (line 100) | func (a ActivityInvocation) execute(ctx workflow.Context, bindings map... type executable (line 48) | type executable interface function simpleDSLWorkflow (line 54) | func simpleDSLWorkflow(ctx workflow.Context, dslWorkflow Workflow) ([]by... function executeAsync (line 156) | func executeAsync(exe executable, ctx workflow.Context, bindings map[str... function makeInput (line 165) | func makeInput(argNames []string, argsMap map[string]string) []string { FILE: cmd/samples/dsl/workflow_test.go function TestActivitySequenceParallelStatements (line 14) | func TestActivitySequenceParallelStatements(t *testing.T) { function TestSequenceFlow (line 120) | func TestSequenceFlow(t *testing.T) { function TestParallelFlow (line 226) | func TestParallelFlow(t *testing.T) { function TestActivityInvocationFlow (line 332) | func TestActivityInvocationFlow(t *testing.T) { function Test_SimpleDSLWorkflow (line 392) | func Test_SimpleDSLWorkflow(t *testing.T) { function sampleActivity (line 422) | func sampleActivity(input []string) (string, error) { FILE: cmd/samples/expense/activities.go function createExpenseActivity (line 15) | func createExpenseActivity(ctx context.Context, expenseID string) error { function waitForDecisionActivity (line 43) | func waitForDecisionActivity(ctx context.Context, expenseID string) (str... function paymentActivity (line 81) | func paymentActivity(ctx context.Context, expenseID string) error { FILE: cmd/samples/expense/main.go function startWorkers (line 16) | func startWorkers(h *common.SampleHelper) { function startWorkflow (line 25) | func startWorkflow(h *common.SampleHelper, expenseID string) { function main (line 35) | func main() { FILE: cmd/samples/expense/server/dummy.go type expenseState (line 18) | type expenseState constant created (line 21) | created expenseState = "CREATED" constant approved (line 22) | approved = "APPROVED" constant rejected (line 23) | rejected = "REJECTED" constant completed (line 24) | completed = "COMPLETED" function main (line 34) | func main() { function listHandler (line 53) | func listHandler(w http.ResponseWriter, r *http.Request) { function actionHandler (line 75) | func actionHandler(w http.ResponseWriter, r *http.Request) { function createHandler (line 107) | func createHandler(w http.ResponseWriter, r *http.Request) { function statusHandler (line 126) | func statusHandler(w http.ResponseWriter, r *http.Request) { function callbackHandler (line 139) | func callbackHandler(w http.ResponseWriter, r *http.Request) { function notifyExpenseStateChange (line 164) | func notifyExpenseStateChange(id, state string) { FILE: cmd/samples/expense/workflow.go constant ApplicationName (line 12) | ApplicationName = "expenseGroup" function sampleExpenseWorkflow (line 18) | func sampleExpenseWorkflow(ctx workflow.Context, expenseID string) (resu... FILE: cmd/samples/expense/workflow_test.go type UnitTestSuite (line 16) | type UnitTestSuite struct method SetupTest (line 27) | func (s *UnitTestSuite) SetupTest() { method TearDownTest (line 35) | func (s *UnitTestSuite) TearDownTest() { method Test_WorkflowWithMockActivities (line 39) | func (s *UnitTestSuite) Test_WorkflowWithMockActivities() { method Test_TimeoutWithMockActivities (line 54) | func (s *UnitTestSuite) Test_TimeoutWithMockActivities() { method Test_WorkflowStatusRejected (line 67) | func (s *UnitTestSuite) Test_WorkflowStatusRejected() { method Test_WorkflowStatusCancelled (line 81) | func (s *UnitTestSuite) Test_WorkflowStatusCancelled() { method Test_WorkflowStatusApprovedWithPaymentError (line 95) | func (s *UnitTestSuite) Test_WorkflowStatusApprovedWithPaymentError() { method Test_CreateActivityFailed (line 110) | func (s *UnitTestSuite) Test_CreateActivityFailed() { method Test_WaitForDecisionActivityFailed (line 124) | func (s *UnitTestSuite) Test_WaitForDecisionActivityFailed() { method Test_PaymentActivityFailed (line 139) | func (s *UnitTestSuite) Test_PaymentActivityFailed() { method Test_WorkflowWithMockServer (line 155) | func (s *UnitTestSuite) Test_WorkflowWithMockServer() { function TestUnitTestSuite (line 23) | func TestUnitTestSuite(t *testing.T) { FILE: cmd/samples/fileprocessing/activities.go constant downloadFileActivityName (line 19) | downloadFileActivityName = "downloadFileActivity" constant processFileActivityName (line 20) | processFileActivityName = "processFileActivity" constant uploadFileActivityName (line 21) | uploadFileActivityName = "uploadFileActivity" function downloadFileActivity (line 24) | func downloadFileActivity(ctx context.Context, fileID string) (*fileInfo... function processFileActivity (line 40) | func processFileActivity(ctx context.Context, fInfo fileInfo) (*fileInfo... function uploadFileActivity (line 74) | func uploadFileActivity(ctx context.Context, fInfo fileInfo) error { function downloadFile (line 98) | func downloadFile(fileID string) []byte { function uploadFile (line 104) | func uploadFile(ctx context.Context, filename string) error { function transcodeData (line 119) | func transcodeData(ctx context.Context, data []byte) []byte { function saveToTmpFile (line 131) | func saveToTmpFile(data []byte) (f *os.File, err error) { FILE: cmd/samples/fileprocessing/main.go function startWorkers (line 16) | func startWorkers(h *common.SampleHelper) { function startWorkflow (line 31) | func startWorkflow(h *common.SampleHelper, fileID string) { function main (line 41) | func main() { FILE: cmd/samples/fileprocessing/workflow.go type fileInfo (line 13) | type fileInfo struct constant ApplicationName (line 20) | ApplicationName = "FileProcessorGroup" function sampleFileProcessingWorkflow (line 27) | func sampleFileProcessingWorkflow(ctx workflow.Context, fileID string) (... function processFile (line 61) | func processFile(ctx workflow.Context, fileID string) (err error) { FILE: cmd/samples/fileprocessing/workflow_test.go type UnitTestSuite (line 14) | type UnitTestSuite struct method SetupTest (line 25) | func (s *UnitTestSuite) SetupTest() { method TearDownTest (line 39) | func (s *UnitTestSuite) TearDownTest() { method Test_SampleFileProcessingWorkflow (line 43) | func (s *UnitTestSuite) Test_SampleFileProcessingWorkflow() { function TestUnitTestSuite (line 21) | func TestUnitTestSuite(t *testing.T) { FILE: cmd/samples/pso/activities.go constant initParticleActivityName (line 15) | initParticleActivityName = "initParticleActivityName" constant updateParticleActivityName (line 16) | updateParticleActivityName = "updateParticleActivityName" function init (line 22) | func init() { function initParticleActivity (line 29) | func initParticleActivity(ctx context.Context, swarm Swarm) (Particle, e... function updateParticleActivity (line 39) | func updateParticleActivity(ctx context.Context, swarm Swarm, particleId... FILE: cmd/samples/pso/dataconverter.go type gobDataConverter (line 16) | type gobDataConverter struct method ToData (line 37) | func (dc *gobDataConverter) ToData(value ...interface{}) ([]byte, erro... method FromData (line 71) | func (dc *gobDataConverter) FromData(input []byte, valuePtr ...interfa... function NewGobDataConverter (line 20) | func NewGobDataConverter() encoded.DataConverter { type jsonDataConverter (line 27) | type jsonDataConverter struct method ToData (line 102) | func (dc *jsonDataConverter) ToData(value ...interface{}) ([]byte, err... method FromData (line 139) | func (dc *jsonDataConverter) FromData(input []byte, valuePtr ...interf... function NewJSONDataConverter (line 31) | func NewJSONDataConverter() encoded.DataConverter { FILE: cmd/samples/pso/functions.go type ObjectiveFunction (line 5) | type ObjectiveFunction struct function EvalSphere (line 40) | func EvalSphere(vec []float64) float64 { function EvalRosenbrock (line 48) | func EvalRosenbrock(vec []float64) float64 { function EvalGriewank (line 58) | func EvalGriewank(vec []float64) float64 { FILE: cmd/samples/pso/main.go function startWorkers (line 18) | func startWorkers(h *common.SampleHelper) { function startWorkflow (line 29) | func startWorkflow(h *common.SampleHelper, functionName string) { function main (line 39) | func main() { FILE: cmd/samples/pso/particle.go type Particle (line 5) | type Particle struct method UpdateLocation (line 29) | func (particle *Particle) UpdateLocation(swarm *Swarm, rng *rand.Rand) { method UpdateFitness (line 44) | func (particle *Particle) UpdateFitness(swarm *Swarm) { function NewParticle (line 11) | func NewParticle(swarm *Swarm, rng *rand.Rand) *Particle { FILE: cmd/samples/pso/position.go type Vector (line 7) | type Vector type Position (line 9) | type Position struct method Copy (line 33) | func (position *Position) Copy() *Position { method IsBetterThan (line 40) | func (position *Position) IsBetterThan(other *Position) bool { function NewPosition (line 14) | func NewPosition(dim int) *Position { function RandomPosition (line 22) | func RandomPosition(function ObjectiveFunction, rng *rand.Rand) *Position { FILE: cmd/samples/pso/settings.go constant pso_max_size (line 3) | pso_max_size int = 100 constant pso_inertia (line 4) | pso_inertia float64 = 0.7298 type SwarmSettings (line 6) | type SwarmSettings struct function FunctionFactory (line 32) | func FunctionFactory(functionName string) ObjectiveFunction { function PSODefaultSettings (line 45) | func PSODefaultSettings(functionName string) *SwarmSettings { FILE: cmd/samples/pso/swarm.go type ParticleResult (line 12) | type ParticleResult struct type Swarm (line 17) | type Swarm struct method updateBest (line 63) | func (swarm *Swarm) updateBest() { method Run (line 71) | func (swarm *Swarm) Run(ctx workflow.Context, step int) (ParticleResul... function NewSwarm (line 23) | func NewSwarm(ctx workflow.Context, settings *SwarmSettings) (*Swarm, er... FILE: cmd/samples/pso/utils.go function CalculateSwarmSize (line 7) | func CalculateSwarmSize(dim, max_size int) int { FILE: cmd/samples/pso/workflow.go type WorkflowResult (line 13) | type WorkflowResult struct constant ApplicationName (line 19) | ApplicationName = "PSO" constant ContinueAsNewStr (line 36) | ContinueAsNewStr = "CONTINUEASNEW" function samplePSOWorkflow (line 39) | func samplePSOWorkflow(ctx workflow.Context, functionName string) (strin... function samplePSOChildWorkflow (line 103) | func samplePSOChildWorkflow(ctx workflow.Context, swarm Swarm, startingS... FILE: cmd/samples/pso/workflow_test.go function Test_Workflow (line 15) | func Test_Workflow(t *testing.T) { function queryAndVerify (line 63) | func queryAndVerify(t *testing.T, env *testsuite.TestWorkflowEnvironment... FILE: cmd/samples/recipes/branch/branch_workflow.go constant ApplicationName (line 16) | ApplicationName = "branchGroup" constant totalBranches (line 18) | totalBranches = 3 function sampleBranchWorkflow (line 22) | func sampleBranchWorkflow(ctx workflow.Context) error { function sampleActivity (line 50) | func sampleActivity(input string) (string, error) { FILE: cmd/samples/recipes/branch/main.go function startWorkers (line 16) | func startWorkers(h *common.SampleHelper) { function startWorkflowParallel (line 25) | func startWorkflowParallel(h *common.SampleHelper) { function startWorkflowBranch (line 35) | func startWorkflowBranch(h *common.SampleHelper) { function main (line 45) | func main() { FILE: cmd/samples/recipes/branch/parallel_workflow.go function sampleParallelWorkflow (line 16) | func sampleParallelWorkflow(ctx workflow.Context) error { FILE: cmd/samples/recipes/branch/workflow_test.go type UnitTestSuite (line 10) | type UnitTestSuite struct method SetupTest (line 21) | func (s *UnitTestSuite) SetupTest() { method TearDownTest (line 28) | func (s *UnitTestSuite) TearDownTest() { method Test_BranchWorkflow (line 32) | func (s *UnitTestSuite) Test_BranchWorkflow() { method Test_ParallelWorkflow (line 39) | func (s *UnitTestSuite) Test_ParallelWorkflow() { function TestUnitTestSuite (line 17) | func TestUnitTestSuite(t *testing.T) { FILE: cmd/samples/recipes/cancelactivity/main.go function startWorkers (line 16) | func startWorkers(h *common.SampleHelper) { function startWorkflow (line 25) | func startWorkflow(h *common.SampleHelper) { function cancelWorkflow (line 35) | func cancelWorkflow(h *common.SampleHelper, wid string) { function main (line 39) | func main() { FILE: cmd/samples/recipes/cancelactivity/workflow.go constant ApplicationName (line 19) | ApplicationName = "cancelGroup" function sampleCancelWorkflow (line 22) | func sampleCancelWorkflow(ctx workflow.Context) (retError error) { function activityToBeCanceled (line 66) | func activityToBeCanceled(ctx context.Context) (string, error) { function cleanupActivity (line 83) | func cleanupActivity(ctx context.Context) error { function activityToBeSkipped (line 89) | func activityToBeSkipped(ctx context.Context) error { FILE: cmd/samples/recipes/cancelactivity/workflow_test.go function TestCancelWorkflow (line 13) | func TestCancelWorkflow(t *testing.T) { FILE: cmd/samples/recipes/childworkflow/child_workflow.go function sampleChildWorkflow (line 17) | func sampleChildWorkflow(ctx workflow.Context, totalCount, runCount int)... FILE: cmd/samples/recipes/childworkflow/main.go function startWorkers (line 16) | func startWorkers(h *common.SampleHelper) { function startWorkflow (line 25) | func startWorkflow(h *common.SampleHelper) { function main (line 35) | func main() { FILE: cmd/samples/recipes/childworkflow/parent_workflow.go constant ApplicationName (line 17) | ApplicationName = "childWorkflowGroup" function sampleParentWorkflow (line 20) | func sampleParentWorkflow(ctx workflow.Context) error { FILE: cmd/samples/recipes/choice/exclusive_choice_workflow.go constant ApplicationName (line 18) | ApplicationName = "choiceGroup" constant orderChoiceApple (line 20) | orderChoiceApple = "apple" constant orderChoiceBanana (line 21) | orderChoiceBanana = "banana" constant orderChoiceCherry (line 22) | orderChoiceCherry = "cherry" constant orderChoiceOrange (line 23) | orderChoiceOrange = "orange" function exclusiveChoiceWorkflow (line 29) | func exclusiveChoiceWorkflow(ctx workflow.Context) error { function getOrderActivity (line 64) | func getOrderActivity() (string, error) { function orderAppleActivity (line 71) | func orderAppleActivity(choice string) error { function orderBananaActivity (line 76) | func orderBananaActivity(choice string) error { function orderCherryActivity (line 81) | func orderCherryActivity(choice string) error { function orderOrangeActivity (line 86) | func orderOrangeActivity(choice string) error { FILE: cmd/samples/recipes/choice/main.go function startWorkers (line 16) | func startWorkers(h *common.SampleHelper) { function startWorkflowMultiChoice (line 27) | func startWorkflowMultiChoice(h *common.SampleHelper) { function startWorkflowExclusiveChoice (line 37) | func startWorkflowExclusiveChoice(h *common.SampleHelper) { function main (line 47) | func main() { FILE: cmd/samples/recipes/choice/multi_choice_workflow.go function multiChoiceWorkflow (line 19) | func multiChoiceWorkflow(ctx workflow.Context) error { function getBasketOrderActivity (line 64) | func getBasketOrderActivity(ctx context.Context) ([]string, error) { FILE: cmd/samples/recipes/choice/workflow_test.go type UnitTestSuite (line 10) | type UnitTestSuite struct method SetupTest (line 21) | func (s *UnitTestSuite) SetupTest() { method TearDownTest (line 33) | func (s *UnitTestSuite) TearDownTest() { method Test_ExclusiveChoiceWorkflow (line 37) | func (s *UnitTestSuite) Test_ExclusiveChoiceWorkflow() { method Test_MultiChoiceWorkflow (line 44) | func (s *UnitTestSuite) Test_MultiChoiceWorkflow() { function TestUnitTestSuite (line 17) | func TestUnitTestSuite(t *testing.T) { FILE: cmd/samples/recipes/consistentquery/main.go function startWorkers (line 17) | func startWorkers(h *common.SampleHelper) { function main (line 26) | func main() { FILE: cmd/samples/recipes/consistentquery/query_workflow.go constant ApplicationName (line 11) | ApplicationName = "queryGroup" function queryWorkflow (line 14) | func queryWorkflow(ctx workflow.Context) error { FILE: cmd/samples/recipes/crossdomain/main.go constant tasklist0 (line 19) | tasklist0 = "cross-domain-tl0" constant tasklist1 (line 20) | tasklist1 = "cross-domain-tl1" constant tasklist2 (line 21) | tasklist2 = "cross-domain-tl2" constant domain0 (line 22) | domain0 = "domain0" constant domain1 (line 23) | domain1 = "domain1" constant domain2 (line 24) | domain2 = "domain2" constant portCluster0 (line 25) | portCluster0 = "127.0.0.1:7833" constant portCluster1 (line 26) | portCluster1 = "127.0.0.1:8833" constant portCluster2 (line 27) | portCluster2 = "127.0.0.1:9833" function main (line 30) | func main() { function setupClient (line 70) | func setupClient(domain string, hostport string) client.Client { function setupWorker (line 101) | func setupWorker(domain string, tl string, hostport string, wfs []interf... FILE: cmd/samples/recipes/crossdomain/wf.go type Data (line 13) | type Data struct function wf0 (line 17) | func wf0(ctx workflow.Context) error { function wf1 (line 48) | func wf1(ctx workflow.Context, args Data) error { function wf2 (line 68) | func wf2(ctx workflow.Context, args Data) error { function activity1 (line 86) | func activity1(ctx context.Context) (string, error) { function activity2 (line 92) | func activity2(ctx context.Context) (string, error) { FILE: cmd/samples/recipes/ctxpropagation/activities.go constant sampleActivityName (line 8) | sampleActivityName = "sampleActivity" function sampleActivity (line 11) | func sampleActivity(ctx context.Context) (*Values, error) { FILE: cmd/samples/recipes/ctxpropagation/main.go function startWorkers (line 18) | func startWorkers(h *common.SampleHelper) { function startWorkflow (line 31) | func startWorkflow(h *common.SampleHelper) { function main (line 43) | func main() { FILE: cmd/samples/recipes/ctxpropagation/propagator.go type contextKey (line 14) | type contextKey struct type propagator (line 17) | type propagator struct method Inject (line 40) | func (s *propagator) Inject(ctx context.Context, writer workflow.Heade... method InjectFromWorkflow (line 51) | func (s *propagator) InjectFromWorkflow(ctx workflow.Context, writer w... method Extract (line 62) | func (s *propagator) Extract(ctx context.Context, reader workflow.Head... method ExtractToWorkflow (line 79) | func (s *propagator) ExtractToWorkflow(ctx workflow.Context, reader wo... type Values (line 20) | type Values struct constant propagationKey (line 31) | propagationKey = "_prop" function NewContextPropagator (line 35) | func NewContextPropagator() workflow.ContextPropagator { function SetValuesInHeader (line 96) | func SetValuesInHeader(values Values, header *shared.Header) error { FILE: cmd/samples/recipes/ctxpropagation/workflow.go constant ApplicationName (line 11) | ApplicationName = "CtxPropagatorGroup" function sampleCtxPropWorkflow (line 14) | func sampleCtxPropWorkflow(ctx workflow.Context) (err error) { FILE: cmd/samples/recipes/ctxpropagation/workflow_test.go type UnitTestSuite (line 16) | type UnitTestSuite struct method SetupTest (line 28) | func (s *UnitTestSuite) SetupTest() { method Test_CtxPropWorkflow (line 47) | func (s *UnitTestSuite) Test_CtxPropWorkflow() { function TestUnitTestSuite (line 24) | func TestUnitTestSuite(t *testing.T) { FILE: cmd/samples/recipes/delaystart/delaystart_workflow.go constant ApplicationName (line 17) | ApplicationName = "delaystartGroup" constant delayStartWorkflowName (line 19) | delayStartWorkflowName = "delayStartWorkflow" function delayStartWorkflow (line 22) | func delayStartWorkflow(ctx workflow.Context, delayStart time.Duration) ... function delayStartActivity (line 60) | func delayStartActivity(ctx context.Context, delayStart time.Duration) (... FILE: cmd/samples/recipes/delaystart/delaystart_workflow_test.go function Test_Workflow (line 13) | func Test_Workflow(t *testing.T) { FILE: cmd/samples/recipes/delaystart/main.go function startWorkers (line 16) | func startWorkers(h *common.SampleHelper) { function startShadower (line 28) | func startShadower(h *common.SampleHelper) { function startWorkflow (line 44) | func startWorkflow(h *common.SampleHelper) { function registerWorkflowAndActivity (line 56) | func registerWorkflowAndActivity( function main (line 63) | func main() { FILE: cmd/samples/recipes/dynamic/dynamic_workflow.go constant ApplicationName (line 17) | ApplicationName = "dynamicGroup" constant GreetingsWorkflowName (line 20) | GreetingsWorkflowName = "main.sampleGreetingsWorkflow" constant getNameActivityName (line 23) | getNameActivityName = "main.getNameActivity" constant getGreetingActivityName (line 24) | getGreetingActivityName = "main.getGreetingActivity" constant sayGreetingActivityName (line 25) | sayGreetingActivityName = "main.sayGreetingActivity" function sampleGreetingsWorkflow (line 28) | func sampleGreetingsWorkflow(ctx workflow.Context) error { function getNameActivity (line 66) | func getNameActivity() (string, error) { function getGreetingActivity (line 71) | func getGreetingActivity() (string, error) { function sayGreetingActivity (line 76) | func sayGreetingActivity(greeting string, name string) (string, error) { FILE: cmd/samples/recipes/dynamic/main.go function startWorkers (line 16) | func startWorkers(h *common.SampleHelper) { function startWorkflow (line 25) | func startWorkflow(h *common.SampleHelper) { function main (line 35) | func main() { FILE: cmd/samples/recipes/dynamic/workflow_test.go function TestDynamicWorkflow (line 11) | func TestDynamicWorkflow(t *testing.T) { FILE: cmd/samples/recipes/greetings/greetings_workflow.go constant ApplicationName (line 17) | ApplicationName = "greetingsGroup" function sampleGreetingsWorkflow (line 20) | func sampleGreetingsWorkflow(ctx workflow.Context) error { function getNameActivity (line 58) | func getNameActivity() (string, error) { function getGreetingActivity (line 63) | func getGreetingActivity() (string, error) { function sayGreetingActivity (line 68) | func sayGreetingActivity(greeting string, name string) (string, error) { FILE: cmd/samples/recipes/greetings/main.go function startWorkers (line 16) | func startWorkers(h *common.SampleHelper) { function startWorkflow (line 25) | func startWorkflow(h *common.SampleHelper) { function main (line 35) | func main() { FILE: cmd/samples/recipes/greetings/replay_test.go function TestReplayWorkflowHistoryFromFile (line 18) | func TestReplayWorkflowHistoryFromFile(t *testing.T) { FILE: cmd/samples/recipes/greetings/shadow_test.go constant configFile (line 16) | configFile = "../../../../config/development.yaml" function TestWorkflowShadowing (line 21) | func TestWorkflowShadowing(t *testing.T) { FILE: cmd/samples/recipes/greetings/workflow_test.go type UnitTestSuite (line 13) | type UnitTestSuite struct method SetupTest (line 24) | func (s *UnitTestSuite) SetupTest() { method TearDownTest (line 32) | func (s *UnitTestSuite) TearDownTest() { method Test_SampleGreetingsWorkflow (line 36) | func (s *UnitTestSuite) Test_SampleGreetingsWorkflow() { function TestUnitTestSuite (line 20) | func TestUnitTestSuite(t *testing.T) { FILE: cmd/samples/recipes/helloworld/activity_logger_test.go function sampleActivity (line 14) | func sampleActivity(ctx context.Context) error { function Test_Activity_Noop_Logger (line 20) | func Test_Activity_Noop_Logger(t *testing.T) { function Test_Activity_Print_Logger (line 29) | func Test_Activity_Print_Logger(t *testing.T) { FILE: cmd/samples/recipes/helloworld/helloworld_workflow.go constant ApplicationName (line 17) | ApplicationName = "helloWorldGroup" constant helloWorldWorkflowName (line 19) | helloWorldWorkflowName = "helloWorldWorkflow" function helloWorldWorkflow (line 22) | func helloWorldWorkflow(ctx workflow.Context, name string) error { function helloWorldActivity (line 60) | func helloWorldActivity(ctx context.Context, name string) (string, error) { FILE: cmd/samples/recipes/helloworld/helloworld_workflow_test.go function Test_Workflow (line 12) | func Test_Workflow(t *testing.T) { FILE: cmd/samples/recipes/helloworld/main.go function startWorkers (line 16) | func startWorkers(h *common.SampleHelper) { function startShadower (line 28) | func startShadower(h *common.SampleHelper) { function startWorkflow (line 44) | func startWorkflow(h *common.SampleHelper) { function registerWorkflowAndActivity (line 54) | func registerWorkflowAndActivity( function main (line 61) | func main() { FILE: cmd/samples/recipes/helloworld/replay_test.go function TestReplayWorkflowHistoryFromFile (line 18) | func TestReplayWorkflowHistoryFromFile(t *testing.T) { FILE: cmd/samples/recipes/helloworld/shadow_test.go constant configFile (line 16) | configFile = "../../../../config/development.yaml" function TestWorkflowShadowing (line 21) | func TestWorkflowShadowing(t *testing.T) { FILE: cmd/samples/recipes/localactivity/local_activity_workflow.go constant ApplicationName (line 19) | ApplicationName = "localActivityGroup" constant SignalName (line 22) | SignalName = "trigger-signal" type conditionAndAction (line 24) | type conditionAndAction struct function processingWorkflow (line 45) | func processingWorkflow(ctx workflow.Context, data string) (string, erro... function signalHandlingWorkflow (line 89) | func signalHandlingWorkflow(ctx workflow.Context) error { function checkCondition0 (line 124) | func checkCondition0(ctx context.Context, signal string) (bool, error) { function checkCondition1 (line 129) | func checkCondition1(ctx context.Context, signal string) (bool, error) { function checkCondition2 (line 134) | func checkCondition2(ctx context.Context, signal string) (bool, error) { function checkCondition3 (line 139) | func checkCondition3(ctx context.Context, signal string) (bool, error) { function checkCondition4 (line 144) | func checkCondition4(ctx context.Context, signal string) (bool, error) { function activityForCondition0 (line 149) | func activityForCondition0(ctx context.Context, signal string) (string, ... function activityForCondition1 (line 156) | func activityForCondition1(ctx context.Context, signal string) (string, ... function activityForCondition2 (line 163) | func activityForCondition2(ctx context.Context, signal string) (string, ... function activityForCondition3 (line 170) | func activityForCondition3(ctx context.Context, signal string) (string, ... function activityForCondition4 (line 177) | func activityForCondition4(ctx context.Context, signal string) (string, ... FILE: cmd/samples/recipes/localactivity/local_activity_workflow_test.go type UnitTestSuite (line 12) | type UnitTestSuite struct method SetupTest (line 23) | func (s *UnitTestSuite) SetupTest() { method TearDownTest (line 34) | func (s *UnitTestSuite) TearDownTest() { method Test_ProcessingWorkflow_SingleAction (line 38) | func (s *UnitTestSuite) Test_ProcessingWorkflow_SingleAction() { method Test_ProcessingWorkflow_MultiAction (line 53) | func (s *UnitTestSuite) Test_ProcessingWorkflow_MultiAction() { method Test_SignalHandlingWorkflow (line 69) | func (s *UnitTestSuite) Test_SignalHandlingWorkflow() { function TestUnitTestSuite (line 19) | func TestUnitTestSuite(t *testing.T) { FILE: cmd/samples/recipes/localactivity/main.go function startWorkers (line 16) | func startWorkers(h *common.SampleHelper) { function startWorkflow (line 25) | func startWorkflow(h *common.SampleHelper) { function main (line 36) | func main() { FILE: cmd/samples/recipes/mutex/main.go constant ApplicationName (line 17) | ApplicationName = "mutexExample" constant _sampleHelperContextKey (line 19) | _sampleHelperContextKey = "sampleHelper" function startWorkers (line 24) | func startWorkers(h *common.SampleHelper) { function startTwoWorkflows (line 37) | func startTwoWorkflows(h *common.SampleHelper) { function main (line 57) | func main() { FILE: cmd/samples/recipes/mutex/mutex_workflow.go constant AcquireLockSignalName (line 20) | AcquireLockSignalName = "acquire-lock-event" constant RequestLockSignalName (line 22) | RequestLockSignalName = "request-lock-event" type UnlockFunc (line 26) | type UnlockFunc type Mutex (line 29) | type Mutex struct method Lock (line 43) | func (s *Mutex) Lock(ctx workflow.Context, function NewMutex (line 35) | func NewMutex(currentWorkflowID string, lockNamespace string) *Mutex { function mutexWorkflow (line 76) | func mutexWorkflow( function signalWithStartMutexWorkflowActivity (line 130) | func signalWithStartMutexWorkflowActivity( function _generateUnlockChannelName (line 166) | func _generateUnlockChannelName(senderWorkflowID string) string { function MockMutexLock (line 171) | func MockMutexLock(env *testsuite.TestWorkflowEnvironment, resourceID st... function sampleWorkflowWithMutex (line 185) | func sampleWorkflowWithMutex( FILE: cmd/samples/recipes/mutex/mutex_workflow_test.go type UnitTestSuite (line 17) | type UnitTestSuite struct method SetupTest (line 28) | func (s *UnitTestSuite) SetupTest() { method TearDownTest (line 40) | func (s *UnitTestSuite) TearDownTest() { method Test_Workflow_Success (line 44) | func (s *UnitTestSuite) Test_Workflow_Success() { method Test_Workflow_Error (line 53) | func (s *UnitTestSuite) Test_Workflow_Error() { method Test_MutexWorkflow_Success (line 62) | func (s *UnitTestSuite) Test_MutexWorkflow_Success() { method Test_MutexWorkflow_TimeoutSuccess (line 87) | func (s *UnitTestSuite) Test_MutexWorkflow_TimeoutSuccess() { function TestUnitTestSuite (line 24) | func TestUnitTestSuite(t *testing.T) { FILE: cmd/samples/recipes/pickfirst/main.go function startWorkers (line 16) | func startWorkers(h *common.SampleHelper) { function startWorkflow (line 27) | func startWorkflow(h *common.SampleHelper) { function main (line 37) | func main() { FILE: cmd/samples/recipes/pickfirst/pickfirst_workflow.go constant ApplicationName (line 18) | ApplicationName = "pickfirstGroup" function samplePickFirstWorkflow (line 21) | func samplePickFirstWorkflow(ctx workflow.Context) error { function sampleActivity (line 66) | func sampleActivity(ctx context.Context, currentBranchID int, totalDurat... FILE: cmd/samples/recipes/pickfirst/pickfirst_workflow_test.go type UnitTestSuite (line 13) | type UnitTestSuite struct method SetupTest (line 24) | func (s *UnitTestSuite) SetupTest() { method TearDownTest (line 30) | func (s *UnitTestSuite) TearDownTest() { method Test_Workflow (line 34) | func (s *UnitTestSuite) Test_Workflow() { function TestUnitTestSuite (line 20) | func TestUnitTestSuite(t *testing.T) { FILE: cmd/samples/recipes/query/main.go function startWorkers (line 16) | func startWorkers(h *common.SampleHelper) { function startWorkflow (line 25) | func startWorkflow(h *common.SampleHelper) { function main (line 35) | func main() { FILE: cmd/samples/recipes/query/query_workflow.go constant ApplicationName (line 10) | ApplicationName = "queryGroup" function queryWorkflow (line 13) | func queryWorkflow(ctx workflow.Context) error { FILE: cmd/samples/recipes/query/query_workflow_test.go function Test_QueryWorkflow (line 11) | func Test_QueryWorkflow(t *testing.T) { function queryAndVerify (line 29) | func queryAndVerify(t *testing.T, env *testsuite.TestWorkflowEnvironment... FILE: cmd/samples/recipes/retryactivity/main.go function startWorkers (line 16) | func startWorkers(h *common.SampleHelper) { function startWorkflow (line 25) | func startWorkflow(h *common.SampleHelper) { function main (line 35) | func main() { FILE: cmd/samples/recipes/retryactivity/retry_activity_workflow.go constant ApplicationName (line 20) | ApplicationName = "retryactivityGroup" function retryWorkflow (line 23) | func retryWorkflow(ctx workflow.Context) error { function batchProcessingActivity (line 50) | func batchProcessingActivity(ctx context.Context, firstTaskID, batchSize... FILE: cmd/samples/recipes/retryactivity/retry_activity_workflow_test.go type UnitTestSuite (line 14) | type UnitTestSuite struct method SetupTest (line 25) | func (s *UnitTestSuite) SetupTest() { method TearDownTest (line 31) | func (s *UnitTestSuite) TearDownTest() { method Test_Workflow (line 35) | func (s *UnitTestSuite) Test_Workflow() { function TestUnitTestSuite (line 21) | func TestUnitTestSuite(t *testing.T) { FILE: cmd/samples/recipes/searchattributes/main.go function startWorkers (line 18) | func startWorkers(h *common.SampleHelper) { function startWorkflow (line 36) | func startWorkflow(h *common.SampleHelper) { function getSearchAttributesForStart (line 47) | func getSearchAttributesForStart() map[string]interface{} { function main (line 53) | func main() { FILE: cmd/samples/recipes/searchattributes/searchattributes_workflow.go constant ApplicationName (line 25) | ApplicationName = "searchAttributesGroup" type ClientKey (line 28) | type ClientKey constant DomainName (line 32) | DomainName = "default" constant CadenceClientKey (line 34) | CadenceClientKey ClientKey = iota function searchAttributesWorkflow (line 43) | func searchAttributesWorkflow(ctx workflow.Context) error { function printSearchAttributes (line 111) | func printSearchAttributes(searchAttributes *shared.SearchAttributes, lo... function listExecutions (line 126) | func listExecutions(ctx context.Context, query string) ([]*shared.Workfl... function getCadenceClientFromContext (line 160) | func getCadenceClientFromContext(ctx context.Context) (client.Client, er... FILE: cmd/samples/recipes/searchattributes/searchattributes_workflow_test.go function Test_Workflow (line 13) | func Test_Workflow(t *testing.T) { FILE: cmd/samples/recipes/sideeffect/sideeffect_workflow.go constant ApplicationName (line 16) | ApplicationName = "HelloSideEffect" function SideEffectWorkflow (line 18) | func SideEffectWorkflow(ctx workflow.Context) error { function startWorkflow (line 42) | func startWorkflow(h *common.SampleHelper) { function startWorkers (line 53) | func startWorkers(h *common.SampleHelper) { function main (line 62) | func main() { FILE: cmd/samples/recipes/signalcounter/main.go function startWorkers (line 16) | func startWorkers(h *common.SampleHelper) { function startWorkflow (line 25) | func startWorkflow(h *common.SampleHelper) { function main (line 35) | func main() { FILE: cmd/samples/recipes/signalcounter/signal_counter_workflow.go constant ApplicationName (line 13) | ApplicationName = "signal_counter" constant maxSignalsPerExecution (line 18) | maxSignalsPerExecution = 3 function sampleSignalCounterWorkflow (line 21) | func sampleSignalCounterWorkflow(ctx workflow.Context, counter int) error { FILE: cmd/samples/recipes/signalcounter/workflow_test.go type UnitTestSuite (line 12) | type UnitTestSuite struct method SetupTest (line 23) | func (s *UnitTestSuite) SetupTest() { method TearDownTest (line 28) | func (s *UnitTestSuite) TearDownTest() { method Test_SampleSignalCounterWorkflow (line 32) | func (s *UnitTestSuite) Test_SampleSignalCounterWorkflow() { function TestUnitTestSuite (line 19) | func TestUnitTestSuite(t *testing.T) { FILE: cmd/samples/recipes/sleep/main.go constant ApplicationName (line 15) | ApplicationName = "sleepTaskList" constant SleepWorkflowName (line 16) | SleepWorkflowName = "sleepWorkflow" function startWorkers (line 19) | func startWorkers(h *common.SampleHelper) { function startWorkflow (line 30) | func startWorkflow(h *common.SampleHelper) { function registerWorkflowAndActivity (line 41) | func registerWorkflowAndActivity(h *common.SampleHelper) { function main (line 46) | func main() { FILE: cmd/samples/recipes/sleep/sleep_workflow.go constant sleepWorkflowName (line 12) | sleepWorkflowName = "sleepWorkflow" function sleepWorkflow (line 15) | func sleepWorkflow(ctx workflow.Context, sleepDuration time.Duration) er... function mainSleepActivity (line 48) | func mainSleepActivity(ctx context.Context) (string, error) { FILE: cmd/samples/recipes/sleep/sleep_workflow_test.go function Test_Sleep (line 13) | func Test_Sleep(t *testing.T) { FILE: cmd/samples/recipes/splitmerge/main.go function startWorkers (line 16) | func startWorkers(h *common.SampleHelper) { function startWorkflow (line 25) | func startWorkflow(h *common.SampleHelper) { function main (line 35) | func main() { FILE: cmd/samples/recipes/splitmerge/splitmerge_workflow.go constant ApplicationName (line 19) | ApplicationName = "splitmergeGroup" type ChunkResult (line 23) | type ChunkResult struct function sampleSplitMergeWorkflow (line 30) | func sampleSplitMergeWorkflow(ctx workflow.Context, workerCount int) (Ch... function chunkProcessingActivity (line 71) | func chunkProcessingActivity(ctx context.Context, chunkID int) (result C... FILE: cmd/samples/recipes/splitmerge/splitmerge_workflow_test.go type UnitTestSuite (line 10) | type UnitTestSuite struct method SetupTest (line 21) | func (s *UnitTestSuite) SetupTest() { method TearDownTest (line 27) | func (s *UnitTestSuite) TearDownTest() { method Test_Workflow (line 31) | func (s *UnitTestSuite) Test_Workflow() { function TestUnitTestSuite (line 17) | func TestUnitTestSuite(t *testing.T) { FILE: cmd/samples/recipes/timer/main.go function startWorkers (line 16) | func startWorkers(h *common.SampleHelper) { function startWorkflow (line 27) | func startWorkflow(h *common.SampleHelper) { function main (line 37) | func main() { FILE: cmd/samples/recipes/timer/workflow.go constant ApplicationName (line 14) | ApplicationName = "timerGroup" function sampleTimerWorkflow (line 17) | func sampleTimerWorkflow(ctx workflow.Context, processingTimeThreshold t... function orderProcessingActivity (line 63) | func orderProcessingActivity(ctx context.Context) error { function sendEmailActivity (line 72) | func sendEmailActivity(ctx context.Context) error { FILE: cmd/samples/recipes/timer/workflow_test.go type UnitTestSuite (line 14) | type UnitTestSuite struct method SetupTest (line 25) | func (s *UnitTestSuite) SetupTest() { method Test_Workflow_FastProcessing (line 32) | func (s *UnitTestSuite) Test_Workflow_FastProcessing() { method Test_Workflow_SlowProcessing (line 46) | func (s *UnitTestSuite) Test_Workflow_SlowProcessing() { function TestUnitTestSuite (line 21) | func TestUnitTestSuite(t *testing.T) { FILE: cmd/samples/recipes/tracing/helloworld_workflow.go constant ApplicationName (line 17) | ApplicationName = "helloWorldGroup" constant helloWorldWorkflowName (line 19) | helloWorldWorkflowName = "helloWorldWorkflow" function helloWorldWorkflow (line 22) | func helloWorldWorkflow(ctx workflow.Context, name string) error { function helloWorldActivity (line 44) | func helloWorldActivity(ctx context.Context, name string) (string, error) { FILE: cmd/samples/recipes/tracing/main.go function startWorkers (line 21) | func startWorkers(h *common.SampleHelper) { function startWorkflow (line 34) | func startWorkflow(h *common.SampleHelper) { function registerWorkflowAndActivity (line 44) | func registerWorkflowAndActivity( function main (line 51) | func main() { function initJaeger (line 77) | func initJaeger(service string) (opentracing.Tracer, io.Closer) { FILE: cmd/samples/recipes/versioning/main.go function startWorkers (line 17) | func startWorkers(h *common.SampleHelper) worker.Worker { function startWorkflow (line 27) | func startWorkflow(h *common.SampleHelper) { function stopWorkflow (line 40) | func stopWorkflow(h *common.SampleHelper) { function main (line 45) | func main() { FILE: cmd/samples/recipes/versioning/versioned_workflow.go constant ApplicationName (line 18) | ApplicationName = "versioning" constant TestChangeID (line 21) | TestChangeID = "test-change" constant FooActivityName (line 24) | FooActivityName = "FooActivity" constant BarActivityName (line 25) | BarActivityName = "BarActivity" constant VersionedWorkflowName (line 28) | VersionedWorkflowName = "VersionedWorkflow" constant VersionedWorkflowID (line 31) | VersionedWorkflowID = "versioned_workflow" constant StopSignalName (line 34) | StopSignalName = "StopSignal" constant V1 (line 38) | V1 int32 = iota + 1 constant V2 (line 39) | V2 constant V3 (line 40) | V3 constant V4 (line 41) | V4 function VersionedWorkflowV1 (line 52) | func VersionedWorkflowV1(ctx workflow.Context) error { function VersionedWorkflowV2 (line 65) | func VersionedWorkflowV2(ctx workflow.Context) error { function VersionedWorkflowV3 (line 86) | func VersionedWorkflowV3(ctx workflow.Context) error { function VersionedWorkflowV4 (line 107) | func VersionedWorkflowV4(ctx workflow.Context) error { function waitForSignal (line 119) | func waitForSignal(ctx workflow.Context, version int32) error { function SetupHelperForVersionedWorkflowV1 (line 139) | func SetupHelperForVersionedWorkflowV1(h *common.SampleHelper) { function SetupHelperForVersionedWorkflowV2 (line 145) | func SetupHelperForVersionedWorkflowV2(h *common.SampleHelper) { function SetupHelperForVersionedWorkflowV3 (line 152) | func SetupHelperForVersionedWorkflowV3(h *common.SampleHelper) { function SetupHelperForVersionedWorkflowV4 (line 159) | func SetupHelperForVersionedWorkflowV4(h *common.SampleHelper) { function FooActivity (line 165) | func FooActivity(ctx context.Context) (string, error) { function BarActivity (line 171) | func BarActivity(ctx context.Context) (string, error) { FILE: cmd/samples/recovery/cache/cache.go type Cache (line 7) | type Cache interface type Options (line 30) | type Options struct type RemovedFunc (line 50) | type RemovedFunc FILE: cmd/samples/recovery/cache/lru.go type lru (line 16) | type lru struct method Get (line 57) | func (c *lru) Get(key string) interface{} { method Put (line 87) | func (c *lru) Put(key string, value interface{}) interface{} { method PutIfNotExist (line 96) | func (c *lru) PutIfNotExist(key string, value interface{}) (interface{... method Delete (line 111) | func (c *lru) Delete(key string) { method Release (line 126) | func (c *lru) Release(key string) { method Size (line 136) | func (c *lru) Size() int { method putInternal (line 145) | func (c *lru) putInternal(key string, value interface{}, allowUpdate b... function New (line 27) | func New(maxSize int, opts *Options) Cache { function NewLRU (line 44) | func NewLRU(maxSize int) Cache { function NewLRUWithInitialCapacity (line 50) | func NewLRUWithInitialCapacity(initialCapacity, maxSize int) Cache { type cacheEntry (line 201) | type cacheEntry struct FILE: cmd/samples/recovery/main.go function startWorkers (line 19) | func startWorkers(h *common.SampleHelper) { function startTripWorkflow (line 48) | func startTripWorkflow(h *common.SampleHelper, workflowID string, user U... function startRecoveryWorkflow (line 58) | func startRecoveryWorkflow(h *common.SampleHelper, workflowID string, pa... function main (line 68) | func main() { FILE: cmd/samples/recovery/recovery_workflow.go type Params (line 22) | type Params struct type ListOpenExecutionsResult (line 29) | type ListOpenExecutionsResult struct type RestartParams (line 36) | type RestartParams struct type SignalParams (line 42) | type SignalParams struct type ClientKey (line 49) | type ClientKey constant DomainName (line 53) | DomainName = "default" constant CadenceClientKey (line 56) | CadenceClientKey ClientKey = iota constant WorkflowExecutionCacheKey (line 58) | WorkflowExecutionCacheKey function init (line 74) | func init() { function recoverWorkflow (line 81) | func recoverWorkflow(ctx workflow.Context, params Params) error { function listOpenExecutions (line 156) | func listOpenExecutions(ctx context.Context, workflowType string) (*List... function recoverExecutions (line 187) | func recoverExecutions(ctx context.Context, key string, startIndex, batc... function recoverSingleExecution (line 229) | func recoverSingleExecution(ctx context.Context, workflowID string) error { function extractStateFromEvent (line 290) | func extractStateFromEvent(workflowID string, event *shared.HistoryEvent... function extractSignals (line 315) | func extractSignals(events []*shared.HistoryEvent) ([]*SignalParams, err... function isExecutionCompleted (line 339) | func isExecutionCompleted(event *shared.HistoryEvent) bool { function getAllExecutionsOfType (line 350) | func getAllExecutionsOfType(ctx context.Context, cadenceClient client.Cl... function getHistory (line 382) | func getHistory(ctx context.Context, execution *shared.WorkflowExecution... function getCadenceClientFromContext (line 403) | func getCadenceClientFromContext(ctx context.Context) (client.Client, er... FILE: cmd/samples/recovery/trip_workflow.go type UserState (line 12) | type UserState struct type TripEvent (line 17) | type TripEvent struct constant TripSignalName (line 25) | TripSignalName = "trip_event" constant ApplicationName (line 28) | ApplicationName = "recoveryGroup" constant QueryName (line 31) | QueryName = "counter" function tripWorkflow (line 37) | func tripWorkflow(ctx workflow.Context, state UserState) error { function deserializeUserState (line 67) | func deserializeUserState(data []byte) (UserState, error) { function deserializeTripEvent (line 76) | func deserializeTripEvent(data []byte) (TripEvent, error) { FILE: new_samples/activities/dynamic_workflow.go constant DynamicGreetingActivityName (line 11) | DynamicGreetingActivityName = "cadence_samples.DynamicGreetingActivity" type dynamicWorkflowInput (line 13) | type dynamicWorkflowInput struct function DynamicWorkflow (line 17) | func DynamicWorkflow(ctx workflow.Context, input dynamicWorkflowInput) (... function DynamicGreetingActivity (line 38) | func DynamicGreetingActivity(ctx context.Context, message string) (strin... FILE: new_samples/activities/generator/generate.go function main (line 5) | func main() { FILE: new_samples/activities/main.go function main (line 13) | func main() { FILE: new_samples/activities/parallel_pick_first_workflow.go type parallelBranchInput (line 10) | type parallelBranchInput struct function ParallelBranchPickFirstWorkflow (line 16) | func ParallelBranchPickFirstWorkflow(ctx workflow.Context) (string, erro... function ParallelActivity (line 67) | func ParallelActivity(ctx context.Context, input parallelBranchInput) (s... FILE: new_samples/activities/worker.go constant HostPort (line 24) | HostPort = "127.0.0.1:7833" constant Domain (line 25) | Domain = "cadence-samples" constant TaskListName (line 28) | TaskListName = "cadence-samples-worker" constant ClientName (line 29) | ClientName = "cadence-samples-worker" constant CadenceService (line 30) | CadenceService = "cadence-frontend" function StartWorker (line 34) | func StartWorker() { function BuildCadenceClient (line 60) | func BuildCadenceClient(dialOptions ...grpc.DialOption) workflowservicec... function BuildLogger (line 92) | func BuildLogger() *zap.Logger { FILE: new_samples/client_tls/cadence_client.go constant HostPort (line 16) | HostPort = "127.0.0.1:7833" constant ClientName (line 17) | ClientName = "cadence-samples-client" constant CadenceService (line 18) | CadenceService = "cadence-frontend" function BuildCadenceClient (line 22) | func BuildCadenceClient(dialOptions ...grpc.DialOption) workflowservicec... function BuildLogger (line 51) | func BuildLogger() *zap.Logger { FILE: new_samples/client_tls/main.go function main (line 14) | func main() { function printUsage (line 33) | func printUsage() { function startWorkflow (line 41) | func startWorkflow() { function registerDomain (line 90) | func registerDomain() { FILE: new_samples/client_tls/tls_config.go function BuildTLSDialOption (line 15) | func BuildTLSDialOption() (grpc.DialOption, error) { FILE: new_samples/concurrency/batch_workflow.go type BatchWorkflowInput (line 13) | type BatchWorkflowInput struct function BatchWorkflow (line 23) | func BatchWorkflow(ctx workflow.Context, input BatchWorkflowInput) error { function BatchActivity (line 50) | func BatchActivity(ctx context.Context, taskID int) error { FILE: new_samples/concurrency/batch_workflow_test.go function Test_BatchWorkflow (line 10) | func Test_BatchWorkflow(t *testing.T) { FILE: new_samples/concurrency/generator/generate.go function main (line 5) | func main() { FILE: new_samples/concurrency/main.go function main (line 13) | func main() { FILE: new_samples/concurrency/worker.go constant HostPort (line 24) | HostPort = "127.0.0.1:7833" constant Domain (line 25) | Domain = "cadence-samples" constant TaskListName (line 28) | TaskListName = "cadence-samples-worker" constant ClientName (line 29) | ClientName = "cadence-samples-worker" constant CadenceService (line 30) | CadenceService = "cadence-frontend" function StartWorker (line 34) | func StartWorker() { function BuildCadenceClient (line 58) | func BuildCadenceClient(dialOptions ...grpc.DialOption) workflowservicec... function BuildLogger (line 90) | func BuildLogger() *zap.Logger { FILE: new_samples/data/compressed_dataconverter_workflow.go type compressedJSONDataConverter (line 22) | type compressedJSONDataConverter struct method ToData (line 29) | func (dc *compressedJSONDataConverter) ToData(value ...interface{}) ([... method FromData (line 55) | func (dc *compressedJSONDataConverter) FromData(input []byte, valuePtr... function NewCompressedJSONDataConverter (line 25) | func NewCompressedJSONDataConverter() encoded.DataConverter { type LargePayload (line 84) | type LargePayload struct type Item (line 96) | type Item struct type Review (line 107) | type Review struct type Inventory (line 119) | type Inventory struct type Config (line 126) | type Config struct type Limits (line 134) | type Limits struct type HistoryEntry (line 142) | type HistoryEntry struct type Statistics (line 151) | type Statistics struct function CreateLargePayload (line 162) | func CreateLargePayload() LargePayload { function GetPayloadSizeInfo (line 265) | func GetPayloadSizeInfo(payload LargePayload, converter encoded.DataConv... function CompressionDataConverterWorkflow (line 289) | func CompressionDataConverterWorkflow(ctx workflow.Context) (LargePayloa... function CompressionDataConverterActivity (line 320) | func CompressionDataConverterActivity(ctx context.Context, input LargePa... FILE: new_samples/data/compressed_dataconverter_workflow_test.go function Test_CompressionDataConverterWorkflow (line 13) | func Test_CompressionDataConverterWorkflow(t *testing.T) { FILE: new_samples/data/encrypted_dataconverter_workflow.go type encryptedJSONDataConverter (line 27) | type encryptedJSONDataConverter struct method ToData (line 73) | func (dc *encryptedJSONDataConverter) ToData(value ...interface{}) ([]... method FromData (line 93) | func (dc *encryptedJSONDataConverter) FromData(input []byte, valuePtr ... function NewEncryptedJSONDataConverter (line 35) | func NewEncryptedJSONDataConverter(key []byte) (encoded.DataConverter, e... function LoadEncryptionKey (line 56) | func LoadEncryptionKey() []byte { type SensitiveCustomerRecord (line 119) | type SensitiveCustomerRecord struct function CreateSensitiveCustomerRecord (line 134) | func CreateSensitiveCustomerRecord() SensitiveCustomerRecord { function GetEncryptionSizeInfo (line 151) | func GetEncryptionSizeInfo(record SensitiveCustomerRecord, converter enc... function EncryptionDataConverterWorkflow (line 179) | func EncryptionDataConverterWorkflow(ctx workflow.Context) (SensitiveCus... function EncryptionDataConverterActivity (line 206) | func EncryptionDataConverterActivity(ctx context.Context, record Sensiti... FILE: new_samples/data/encrypted_dataconverter_workflow_test.go function Test_EncryptionDataConverterWorkflow (line 13) | func Test_EncryptionDataConverterWorkflow(t *testing.T) { function Test_EncryptionRoundTrip (line 40) | func Test_EncryptionRoundTrip(t *testing.T) { function Test_EncryptionDifferentEachTime (line 57) | func Test_EncryptionDifferentEachTime(t *testing.T) { function Test_NewEncryptedJSONDataConverter_InvalidKey (line 71) | func Test_NewEncryptedJSONDataConverter_InvalidKey(t *testing.T) { FILE: new_samples/data/generator/generate.go function main (line 5) | func main() { FILE: new_samples/data/main.go function main (line 13) | func main() { FILE: new_samples/data/s3_dataconverter_workflow.go type BlobStore (line 23) | type BlobStore interface type localFSBlobStore (line 31) | type localFSBlobStore struct method Put (line 51) | func (s *localFSBlobStore) Put(_ context.Context, key string, data []b... method Get (line 56) | func (s *localFSBlobStore) Get(_ context.Context, key string) ([]byte,... function NewLocalFSBlobStore (line 36) | func NewLocalFSBlobStore() BlobStore { function sanitizeKey (line 47) | func sanitizeKey(key string) string { type s3Envelope (line 116) | type s3Envelope struct constant inlinePrefix (line 122) | inlinePrefix = byte(0x00) constant offloadPrefix (line 124) | offloadPrefix = byte(0x01) constant defaultThresholdBytes (line 128) | defaultThresholdBytes = 4096 type s3OffloadDataConverter (line 133) | type s3OffloadDataConverter struct method ToData (line 151) | func (dc *s3OffloadDataConverter) ToData(value ...interface{}) ([]byte... method FromData (line 192) | func (dc *s3OffloadDataConverter) FromData(input []byte, valuePtr ...i... function NewS3OffloadDataConverter (line 143) | func NewS3OffloadDataConverter(store BlobStore, bucket string, threshold... type S3LargePayload (line 234) | type S3LargePayload struct type S3DataPoint (line 243) | type S3DataPoint struct function CreateS3LargePayload (line 251) | func CreateS3LargePayload() S3LargePayload { function GetS3OffloadSizeInfo (line 277) | func GetS3OffloadSizeInfo(payload S3LargePayload, thresholdBytes int) (i... function S3OffloadDataConverterWorkflow (line 298) | func S3OffloadDataConverterWorkflow(ctx workflow.Context) (S3LargePayloa... function S3OffloadDataConverterActivity (line 328) | func S3OffloadDataConverterActivity(ctx context.Context, payload S3Large... FILE: new_samples/data/s3_dataconverter_workflow_test.go type memoryBlobStore (line 16) | type memoryBlobStore struct method Put (line 25) | func (m *memoryBlobStore) Put(_ context.Context, key string, data []by... method Get (line 32) | func (m *memoryBlobStore) Get(_ context.Context, key string) ([]byte, ... function newMemoryBlobStore (line 21) | func newMemoryBlobStore() BlobStore { function Test_S3OffloadDataConverterWorkflow (line 42) | func Test_S3OffloadDataConverterWorkflow(t *testing.T) { function Test_S3OffloadRoundTrip (line 70) | func Test_S3OffloadRoundTrip(t *testing.T) { function Test_S3ReplayIdempotent (line 90) | func Test_S3ReplayIdempotent(t *testing.T) { function Test_S3InlineSmallPayload (line 117) | func Test_S3InlineSmallPayload(t *testing.T) { FILE: new_samples/data/worker.go constant HostPort (line 26) | HostPort = "127.0.0.1:7833" constant Domain (line 27) | Domain = "cadence-samples" constant ClientName (line 28) | ClientName = "cadence-samples-worker" constant CadenceService (line 29) | CadenceService = "cadence-frontend" constant TaskListCompression (line 32) | TaskListCompression = "cadence-samples-data-compression" constant TaskListEncryption (line 33) | TaskListEncryption = "cadence-samples-data-encryption" constant TaskListS3 (line 34) | TaskListS3 = "cadence-samples-data-s3" function StartWorker (line 38) | func StartWorker() { function startCompressionWorker (line 51) | func startCompressionWorker(logger *zap.Logger, cadenceClient workflowse... function startEncryptionWorker (line 69) | func startEncryptionWorker(logger *zap.Logger, cadenceClient workflowser... function startS3OffloadWorker (line 91) | func startS3OffloadWorker(logger *zap.Logger, cadenceClient workflowserv... function printCompressionStats (line 111) | func printCompressionStats() { function printEncryptionStats (line 129) | func printEncryptionStats() { function printS3OffloadStats (line 151) | func printS3OffloadStats() { function BuildCadenceClient (line 169) | func BuildCadenceClient(dialOptions ...grpc.DialOption) workflowservicec... function BuildLogger (line 197) | func BuildLogger() *zap.Logger { FILE: new_samples/hello_world/generator/generate.go function main (line 5) | func main() { FILE: new_samples/hello_world/main.go function main (line 13) | func main() { FILE: new_samples/hello_world/worker.go constant HostPort (line 24) | HostPort = "127.0.0.1:7833" constant Domain (line 25) | Domain = "cadence-samples" constant TaskListName (line 28) | TaskListName = "cadence-samples-worker" constant ClientName (line 29) | ClientName = "cadence-samples-worker" constant CadenceService (line 30) | CadenceService = "cadence-frontend" function StartWorker (line 34) | func StartWorker() { function BuildCadenceClient (line 58) | func BuildCadenceClient(dialOptions ...grpc.DialOption) workflowservicec... function BuildLogger (line 90) | func BuildLogger() *zap.Logger { FILE: new_samples/hello_world/workflow.go type sampleInput (line 12) | type sampleInput struct function HelloWorldWorkflow (line 18) | func HelloWorldWorkflow(ctx workflow.Context, input sampleInput) (string... function HelloWorldActivity (line 41) | func HelloWorldActivity(ctx context.Context, input sampleInput) (string,... FILE: new_samples/operations/cancel_workflow.go function CancelWorkflow (line 13) | func CancelWorkflow(ctx workflow.Context) (retError error) { function ActivityToBeCanceled (line 57) | func ActivityToBeCanceled(ctx context.Context) (string, error) { function CleanupActivity (line 74) | func CleanupActivity(ctx context.Context) error { function ActivityToBeSkipped (line 80) | func ActivityToBeSkipped(ctx context.Context) error { FILE: new_samples/operations/generator/generate.go function main (line 5) | func main() { FILE: new_samples/operations/main.go function main (line 13) | func main() { FILE: new_samples/operations/worker.go constant HostPort (line 24) | HostPort = "127.0.0.1:7833" constant Domain (line 25) | Domain = "cadence-samples" constant TaskListName (line 28) | TaskListName = "cadence-samples-worker" constant ClientName (line 29) | ClientName = "cadence-samples-worker" constant CadenceService (line 30) | CadenceService = "cadence-frontend" function StartWorker (line 34) | func StartWorker() { function BuildCadenceClient (line 60) | func BuildCadenceClient(dialOptions ...grpc.DialOption) workflowservicec... function BuildLogger (line 92) | func BuildLogger() *zap.Logger { FILE: new_samples/query/generator/generate.go function main (line 5) | func main() { FILE: new_samples/query/lunch_vote_workflow.go type lunchVoteFormattedResponse (line 13) | type lunchVoteFormattedResponse struct function LunchVoteWorkflow (line 21) | func LunchVoteWorkflow(ctx workflow.Context) error { function makeLunchVoteResponse (line 56) | func makeLunchVoteResponse(ctx workflow.Context, votes []map[string]stri... function makeLunchVoteTable (line 133) | func makeLunchVoteTable(votes []map[string]string) string { function makeLunchMenu (line 148) | func makeLunchMenu() string { FILE: new_samples/query/main.go function main (line 13) | func main() { FILE: new_samples/query/markdown_query.go constant CompleteSignalChan (line 16) | CompleteSignalChan = "complete" type markdownFormattedResponse (line 20) | type markdownFormattedResponse struct function MarkdownQueryWorkflow (line 26) | func MarkdownQueryWorkflow(ctx workflow.Context) error { function makeMarkdownQueryResponse (line 66) | func makeMarkdownQueryResponse(ctx workflow.Context) markdownFormattedRe... function MarkdownQueryActivity (line 130) | func MarkdownQueryActivity(ctx context.Context, complete bool) (string, ... FILE: new_samples/query/order_fulfillment_workflow.go type orderDashboardFormattedResponse (line 14) | type orderDashboardFormattedResponse struct type Order (line 21) | type Order struct type OrderItem (line 36) | type OrderItem struct type ActionLogEntry (line 43) | type ActionLogEntry struct constant StatusPendingPayment (line 52) | StatusPendingPayment = "pending_payment" constant StatusPaymentApproved (line 53) | StatusPaymentApproved = "payment_approved" constant StatusReadyToShip (line 54) | StatusReadyToShip = "ready_to_ship" constant StatusShipped (line 55) | StatusShipped = "shipped" constant StatusDelivered (line 56) | StatusDelivered = "delivered" constant StatusCancelled (line 57) | StatusCancelled = "cancelled" constant StatusRefunded (line 58) | StatusRefunded = "refunded" type RejectPaymentSignal (line 62) | type RejectPaymentSignal struct type ApprovePaymentSignal (line 67) | type ApprovePaymentSignal struct type ShipOrderSignal (line 71) | type ShipOrderSignal struct type RefundSignal (line 77) | type RefundSignal struct type CancelOrderSignal (line 83) | type CancelOrderSignal struct type SimpleSignal (line 88) | type SimpleSignal struct function OrderFulfillmentWorkflow (line 94) | func OrderFulfillmentWorkflow(ctx workflow.Context) error { function isTerminalState (line 257) | func isTerminalState(status string) bool { function getOperator (line 261) | func getOperator(operator string) string { function makeOrderDashboard (line 268) | func makeOrderDashboard(ctx workflow.Context, order Order, actionLog []A... function getStatusBadge (line 346) | func getStatusBadge(status string) string { function makeItemsTable (line 362) | func makeItemsTable(items []OrderItem) string { function makeActionButtons (line 371) | func makeActionButtons(ctx workflow.Context, order Order) string { function makeActionHistory (line 525) | func makeActionHistory(actionLog []ActionLogEntry) string { FILE: new_samples/query/worker.go constant HostPort (line 24) | HostPort = "127.0.0.1:7833" constant Domain (line 25) | Domain = "cadence-samples" constant TaskListName (line 28) | TaskListName = "cadence-samples-worker" constant ClientName (line 29) | ClientName = "cadence-samples-worker" constant CadenceService (line 30) | CadenceService = "cadence-frontend" function StartWorker (line 34) | func StartWorker() { function BuildCadenceClient (line 60) | func BuildCadenceClient(dialOptions ...grpc.DialOption) workflowservicec... function BuildLogger (line 92) | func BuildLogger() *zap.Logger { FILE: new_samples/signal/generator/generate.go function main (line 5) | func main() { FILE: new_samples/signal/main.go function main (line 13) | func main() { FILE: new_samples/signal/simple_signal_workflow.go constant CompleteSignalChan (line 13) | CompleteSignalChan = "complete" function SimpleSignalWorkflow (line 16) | func SimpleSignalWorkflow(ctx workflow.Context) error { function SimpleSignalActivity (line 49) | func SimpleSignalActivity(ctx context.Context, complete bool) (string, e... FILE: new_samples/signal/worker.go constant HostPort (line 24) | HostPort = "127.0.0.1:7833" constant Domain (line 25) | Domain = "cadence-samples" constant TaskListName (line 28) | TaskListName = "cadence-samples-worker" constant ClientName (line 29) | ClientName = "cadence-samples-worker" constant CadenceService (line 30) | CadenceService = "cadence-frontend" function StartWorker (line 34) | func StartWorker() { function BuildCadenceClient (line 58) | func BuildCadenceClient(dialOptions ...grpc.DialOption) workflowservicec... function BuildLogger (line 90) | func BuildLogger() *zap.Logger { FILE: new_samples/template/generator.go type TemplateData (line 8) | type TemplateData struct function GenerateAll (line 14) | func GenerateAll(data TemplateData) { function GenerateWorker (line 21) | func GenerateWorker(data TemplateData) { function GenerateMain (line 26) | func GenerateMain(data TemplateData) { function GenerateSampleReadMe (line 31) | func GenerateSampleReadMe(data TemplateData) { function GenerateGeneratorReadMe (line 36) | func GenerateGeneratorReadMe(data TemplateData) { function GenerateFile (line 41) | func GenerateFile(templatePath, outputPath string, data TemplateData) { function GenerateREADME (line 59) | func GenerateREADME(inputs []string, outputPath string, data TemplateDat... FILE: python_sdk_samples/openai_samples/agent_handoffs/book_trip_agent.py class BookTripAgentWorkflow (line 9) | class BookTripAgentWorkflow: method run (line 12) | async def run(self, input: str) -> str: FILE: python_sdk_samples/openai_samples/agent_handoffs/main.py function main (line 15) | async def main(): FILE: python_sdk_samples/openai_samples/agent_handoffs/tools.py class Flight (line 8) | class Flight: function book_flight (line 18) | async def book_flight(from_city: str, to_city: str, departure_date: date... class UberTrip (line 25) | class UberTrip: function book_uber (line 37) | async def book_uber(from_address: str, to_address: str, passengers: int)...