MCPcopy
hub / github.com/flyteorg/flyte / ActionsServiceClient

Interface ActionsServiceClient

gen/go/flyteidl2/actions/actions_service_grpc.pb.go:32–51  ·  view source on GitHub ↗

ActionsServiceClient is the client API for ActionsService service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Source from the content-addressed store, hash-verified

30//
31// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
32type ActionsServiceClient interface {
33 // Enqueue queues a new action for execution.
34 Enqueue(ctx context.Context, in *EnqueueRequest, opts ...grpc.CallOption) (*EnqueueResponse, error)
35 // WatchForUpdates watches for updates to the state of actions.
36 // This API guarantees at-least-once delivery semantics.
37 WatchForUpdates(ctx context.Context, in *WatchForUpdatesRequest, opts ...grpc.CallOption) (ActionsService_WatchForUpdatesClient, error)
38 // Update updates the status of an action and saves serialized NodeStatus.
39 // This deprecates Put in the current StateService.
40 Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
41 // Abort aborts a single action that was previously queued or is currently being processed by a worker.
42 // Note that this will cascade aborts to all descendant actions of the specified action.
43 Abort(ctx context.Context, in *AbortRequest, opts ...grpc.CallOption) (*AbortResponse, error)
44 // Signal resolves a ConditionAction by providing its signal value.
45 // On success, transitions the condition to SUCCEEDED with the provided
46 // value as its output.
47 // Returns FAILED_PRECONDITION if the action is not a condition or is
48 // already terminal. Returns NOT_FOUND if the action does not exist.
49 // Returns ABORTED if the action has a write in-flight (retry).
50 Signal(ctx context.Context, in *SignalRequest, opts ...grpc.CallOption) (*SignalResponse, error)
51}
52
53type actionsServiceClient struct {
54 cc grpc.ClientConnInterface

Callers

nothing calls this directly

Implementers 15

ActionsServiceactions/service/actions_service.go
ActionsServiceServicergen/python/flyteidl2/actions/actions_s
ActionsServicegen/python/flyteidl2/actions/actions_s
actionsServiceClientgen/go/flyteidl2/actions/actions_servi
UnimplementedActionsServiceServergen/go/flyteidl2/actions/actions_servi
actionsServiceClientgen/go/flyteidl2/actions/actionsconnec
UnimplementedActionsServiceHandlergen/go/flyteidl2/actions/actionsconnec
ActionsServiceClientgen/go/flyteidl2/actions/actionsconnec
ActionsServiceClient_Expectergen/go/flyteidl2/actions/actionsconnec
ActionsServiceHandlergen/go/flyteidl2/actions/actionsconnec
ActionsServiceHandler_Expectergen/go/flyteidl2/actions/actionsconnec
ActionsServiceClientflytestdlib/gen/go/flyteidl2/actions/a

Calls

no outgoing calls

Tested by

no test coverage detected