Skip to content

Commit 87659bf

Browse files
authored
add deprecation comments (#650)
Signed-off-by: Fabian Martinez <[email protected]>
1 parent c12c959 commit 87659bf

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Diff for: client/client.go

+14
Original file line numberDiff line numberDiff line change
@@ -230,24 +230,38 @@ type Client interface {
230230
ImplActorClientStub(actorClientStub actor.Client, opt ...config.Option)
231231

232232
// StartWorkflowBeta1 starts a workflow.
233+
// Deprecated: Please use the workflow client (github.com/dapr/go-sdk/workflow).
234+
// These methods for managing workflows are no longer supported and will be removed in the 1.16 release.
233235
StartWorkflowBeta1(ctx context.Context, req *StartWorkflowRequest) (*StartWorkflowResponse, error)
234236

235237
// GetWorkflowBeta1 gets a workflow.
238+
// Deprecated: Please use the workflow client (github.com/dapr/go-sdk/workflow).
239+
// These methods for managing workflows are no longer supported and will be removed in the 1.16 release.
236240
GetWorkflowBeta1(ctx context.Context, req *GetWorkflowRequest) (*GetWorkflowResponse, error)
237241

238242
// PurgeWorkflowBeta1 purges a workflow.
243+
// Deprecated: Please use the workflow client (github.com/dapr/go-sdk/workflow).
244+
// These methods for managing workflows are no longer supported and will be removed in the 1.16 release.
239245
PurgeWorkflowBeta1(ctx context.Context, req *PurgeWorkflowRequest) error
240246

241247
// TerminateWorkflowBeta1 terminates a workflow.
248+
// Deprecated: Please use the workflow client (github.com/dapr/go-sdk/workflow).
249+
// These methods for managing workflows are no longer supported and will be removed in the 1.16 release.
242250
TerminateWorkflowBeta1(ctx context.Context, req *TerminateWorkflowRequest) error
243251

244252
// PauseWorkflowBeta1 pauses a workflow.
253+
// Deprecated: Please use the workflow client (github.com/dapr/go-sdk/workflow).
254+
// These methods for managing workflows are no longer supported and will be removed in the 1.16 release.
245255
PauseWorkflowBeta1(ctx context.Context, req *PauseWorkflowRequest) error
246256

247257
// ResumeWorkflowBeta1 resumes a workflow.
258+
// Deprecated: Please use the workflow client (github.com/dapr/go-sdk/workflow).
259+
// These methods for managing workflows are no longer supported and will be removed in the 1.16 release.
248260
ResumeWorkflowBeta1(ctx context.Context, req *ResumeWorkflowRequest) error
249261

250262
// RaiseEventWorkflowBeta1 raises an event for a workflow.
263+
// Deprecated: Please use the workflow client (github.com/dapr/go-sdk/workflow).
264+
// These methods for managing workflows are no longer supported and will be removed in the 1.16 release.
251265
RaiseEventWorkflowBeta1(ctx context.Context, req *RaiseEventWorkflowRequest) error
252266

253267
// ScheduleJobAlpha1 creates and schedules a job.

0 commit comments

Comments
 (0)