@@ -39,8 +39,6 @@ import (
39
39
// the interceptor package for more details.
40
40
//
41
41
// Exposed as: [go.temporal.io/sdk/interceptor.Interceptor]
42
- //
43
- // Exposed as: [go.temporal.io/sdk/interceptor.Interceptor]
44
42
type Interceptor interface {
45
43
ClientInterceptor
46
44
WorkerInterceptor
@@ -50,8 +48,6 @@ type Interceptor interface {
50
48
// documentation in the interceptor package for more details.
51
49
//
52
50
// Exposed as: [go.temporal.io/sdk/interceptor.WorkerInterceptor]
53
- //
54
- // Exposed as: [go.temporal.io/sdk/interceptor.WorkerInterceptor]
55
51
type WorkerInterceptor interface {
56
52
// InterceptActivity is called before each activity interception needed with
57
53
// the next interceptor in the chain.
@@ -69,8 +65,6 @@ type WorkerInterceptor interface {
69
65
// details.
70
66
//
71
67
// Exposed as: [go.temporal.io/sdk/interceptor.ActivityInboundInterceptor]
72
- //
73
- // Exposed as: [go.temporal.io/sdk/interceptor.ActivityInboundInterceptor]
74
68
type ActivityInboundInterceptor interface {
75
69
// Init is the first call of this interceptor. Implementations can change/wrap
76
70
// the outbound interceptor before calling Init on the next interceptor.
@@ -86,8 +80,6 @@ type ActivityInboundInterceptor interface {
86
80
// ExecuteActivityInput is the input to ActivityInboundInterceptor.ExecuteActivity.
87
81
//
88
82
// Exposed as: [go.temporal.io/sdk/interceptor.ExecuteActivityInput]
89
- //
90
- // Exposed as: [go.temporal.io/sdk/interceptor.ExecuteActivityInput]
91
83
type ExecuteActivityInput struct {
92
84
Args []interface {}
93
85
}
@@ -97,8 +89,6 @@ type ExecuteActivityInput struct {
97
89
// more details.
98
90
//
99
91
// Exposed as: [go.temporal.io/sdk/interceptor.ActivityOutboundInterceptor]
100
- //
101
- // Exposed as: [go.temporal.io/sdk/interceptor.ActivityOutboundInterceptor]
102
92
type ActivityOutboundInterceptor interface {
103
93
// GetInfo intercepts activity.GetInfo.
104
94
GetInfo (ctx context.Context ) ActivityInfo
@@ -129,8 +119,6 @@ type ActivityOutboundInterceptor interface {
129
119
// details.
130
120
//
131
121
// Exposed as: [go.temporal.io/sdk/interceptor.WorkflowInboundInterceptor]
132
- //
133
- // Exposed as: [go.temporal.io/sdk/interceptor.WorkflowInboundInterceptor]
134
122
type WorkflowInboundInterceptor interface {
135
123
// Init is the first call of this interceptor. Implementations can change/wrap
136
124
// the outbound interceptor before calling Init on the next interceptor.
@@ -168,17 +156,13 @@ type WorkflowInboundInterceptor interface {
168
156
// WorkflowInboundInterceptor.ExecuteWorkflow.
169
157
//
170
158
// Exposed as: [go.temporal.io/sdk/interceptor.ExecuteWorkflowInput]
171
- //
172
- // Exposed as: [go.temporal.io/sdk/interceptor.ExecuteWorkflowInput]
173
159
type ExecuteWorkflowInput struct {
174
160
Args []interface {}
175
161
}
176
162
177
163
// HandleSignalInput is the input to WorkflowInboundInterceptor.HandleSignal.
178
164
//
179
165
// Exposed as: [go.temporal.io/sdk/interceptor.HandleSignalInput]
180
- //
181
- // Exposed as: [go.temporal.io/sdk/interceptor.HandleSignalInput]
182
166
type HandleSignalInput struct {
183
167
SignalName string
184
168
// Arg is the signal argument. It is presented as a primitive payload since
@@ -189,8 +173,6 @@ type HandleSignalInput struct {
189
173
// UpdateInput carries the name and arguments of a workflow update invocation.
190
174
//
191
175
// Exposed as: [go.temporal.io/sdk/interceptor.UpdateInput]
192
- //
193
- // Exposed as: [go.temporal.io/sdk/interceptor.UpdateInput]
194
176
type UpdateInput struct {
195
177
Name string
196
178
Args []interface {}
@@ -199,8 +181,6 @@ type UpdateInput struct {
199
181
// HandleQueryInput is the input to WorkflowInboundInterceptor.HandleQuery.
200
182
//
201
183
// Exposed as: [go.temporal.io/sdk/interceptor.HandleQueryInput]
202
- //
203
- // Exposed as: [go.temporal.io/sdk/interceptor.HandleQueryInput]
204
184
type HandleQueryInput struct {
205
185
QueryType string
206
186
Args []interface {}
@@ -211,8 +191,6 @@ type HandleQueryInput struct {
211
191
// NOTE: Experimental
212
192
//
213
193
// Exposed as: [go.temporal.io/sdk/interceptor.ExecuteNexusOperationInput]
214
- //
215
- // Exposed as: [go.temporal.io/sdk/interceptor.ExecuteNexusOperationInput]
216
194
type ExecuteNexusOperationInput struct {
217
195
// Client to start the operation with.
218
196
Client NexusClient
@@ -231,8 +209,6 @@ type ExecuteNexusOperationInput struct {
231
209
// NOTE: Experimental
232
210
//
233
211
// Exposed as: [go.temporal.io/sdk/interceptor.RequestCancelNexusOperationInput]
234
- //
235
- // Exposed as: [go.temporal.io/sdk/interceptor.RequestCancelNexusOperationInput]
236
212
type RequestCancelNexusOperationInput struct {
237
213
// Client that was used to start the operation.
238
214
Client NexusClient
@@ -249,8 +225,6 @@ type RequestCancelNexusOperationInput struct {
249
225
// more details.
250
226
//
251
227
// Exposed as: [go.temporal.io/sdk/interceptor.WorkflowOutboundInterceptor]
252
- //
253
- // Exposed as: [go.temporal.io/sdk/interceptor.WorkflowOutboundInterceptor]
254
228
type WorkflowOutboundInterceptor interface {
255
229
// Go intercepts workflow.Go.
256
230
Go (ctx Context , name string , f func (ctx Context )) Context
@@ -396,8 +370,6 @@ type WorkflowOutboundInterceptor interface {
396
370
// interceptor package for more details.
397
371
//
398
372
// Exposed as: [go.temporal.io/sdk/interceptor.ClientInterceptor]
399
- //
400
- // Exposed as: [go.temporal.io/sdk/interceptor.ClientInterceptor]
401
373
type ClientInterceptor interface {
402
374
// This is called on client creation if set via client options
403
375
InterceptClient (next ClientOutboundInterceptor ) ClientOutboundInterceptor
@@ -410,8 +382,6 @@ type ClientInterceptor interface {
410
382
// more details.
411
383
//
412
384
// Exposed as: [go.temporal.io/sdk/interceptor.ClientOutboundInterceptor]
413
- //
414
- // Exposed as: [go.temporal.io/sdk/interceptor.ClientOutboundInterceptor]
415
385
type ClientOutboundInterceptor interface {
416
386
// ExecuteWorkflow intercepts client.Client.ExecuteWorkflow.
417
387
// interceptor.Header will return a non-nil map for this context.
@@ -494,8 +464,6 @@ type ClientPollWorkflowUpdateOutput struct {
494
464
// ClientOutboundInterceptor.CreateSchedule.
495
465
//
496
466
// Exposed as: [go.temporal.io/sdk/interceptor.ScheduleClientCreateInput]
497
- //
498
- // Exposed as: [go.temporal.io/sdk/interceptor.ScheduleClientCreateInput]
499
467
type ScheduleClientCreateInput struct {
500
468
Options * ScheduleOptions
501
469
}
@@ -504,8 +472,6 @@ type ScheduleClientCreateInput struct {
504
472
// ClientOutboundInterceptor.ExecuteWorkflow.
505
473
//
506
474
// Exposed as: [go.temporal.io/sdk/interceptor.ClientExecuteWorkflowInput]
507
- //
508
- // Exposed as: [go.temporal.io/sdk/interceptor.ClientExecuteWorkflowInput]
509
475
type ClientExecuteWorkflowInput struct {
510
476
Options * StartWorkflowOptions
511
477
WorkflowType string
@@ -516,8 +482,6 @@ type ClientExecuteWorkflowInput struct {
516
482
// ClientOutboundInterceptor.SignalWorkflow.
517
483
//
518
484
// Exposed as: [go.temporal.io/sdk/interceptor.ClientSignalWorkflowInput]
519
- //
520
- // Exposed as: [go.temporal.io/sdk/interceptor.ClientSignalWorkflowInput]
521
485
type ClientSignalWorkflowInput struct {
522
486
WorkflowID string
523
487
RunID string
@@ -529,8 +493,6 @@ type ClientSignalWorkflowInput struct {
529
493
// ClientOutboundInterceptor.SignalWithStartWorkflow.
530
494
//
531
495
// Exposed as: [go.temporal.io/sdk/interceptor.ClientSignalWithStartWorkflowInput]
532
- //
533
- // Exposed as: [go.temporal.io/sdk/interceptor.ClientSignalWithStartWorkflowInput]
534
496
type ClientSignalWithStartWorkflowInput struct {
535
497
SignalName string
536
498
SignalArg interface {}
@@ -543,8 +505,6 @@ type ClientSignalWithStartWorkflowInput struct {
543
505
// ClientOutboundInterceptor.CancelWorkflow.
544
506
//
545
507
// Exposed as: [go.temporal.io/sdk/interceptor.ClientCancelWorkflowInput]
546
- //
547
- // Exposed as: [go.temporal.io/sdk/interceptor.ClientCancelWorkflowInput]
548
508
type ClientCancelWorkflowInput struct {
549
509
WorkflowID string
550
510
RunID string
@@ -554,8 +514,6 @@ type ClientCancelWorkflowInput struct {
554
514
// ClientOutboundInterceptor.TerminateWorkflow.
555
515
//
556
516
// Exposed as: [go.temporal.io/sdk/interceptor.ClientTerminateWorkflowInput]
557
- //
558
- // Exposed as: [go.temporal.io/sdk/interceptor.ClientTerminateWorkflowInput]
559
517
type ClientTerminateWorkflowInput struct {
560
518
WorkflowID string
561
519
RunID string
@@ -567,8 +525,6 @@ type ClientTerminateWorkflowInput struct {
567
525
// ClientOutboundInterceptor.QueryWorkflow.
568
526
//
569
527
// Exposed as: [go.temporal.io/sdk/interceptor.ClientQueryWorkflowInput]
570
- //
571
- // Exposed as: [go.temporal.io/sdk/interceptor.ClientQueryWorkflowInput]
572
528
type ClientQueryWorkflowInput struct {
573
529
WorkflowID string
574
530
RunID string
0 commit comments