@@ -28,7 +28,6 @@ import (
28
28
"google.golang.org/grpc/metadata"
29
29
"google.golang.org/grpc/status"
30
30
"google.golang.org/protobuf/types/known/anypb"
31
- "google.golang.org/protobuf/types/known/emptypb"
32
31
"mosn.io/layotto/components/configstores"
33
32
"mosn.io/layotto/components/file"
34
33
"mosn.io/layotto/components/hello"
@@ -132,38 +131,6 @@ func (d *daprGrpcAPI) InvokeService(ctx context.Context, in *runtime.InvokeServi
132
131
}, nil
133
132
}
134
133
135
- func (d * daprGrpcAPI ) GetState (ctx context.Context , request * runtime.GetStateRequest ) (* runtime.GetStateResponse , error ) {
136
- panic ("implement me" )
137
- }
138
-
139
- func (d * daprGrpcAPI ) GetBulkState (ctx context.Context , request * runtime.GetBulkStateRequest ) (* runtime.GetBulkStateResponse , error ) {
140
- panic ("implement me" )
141
- }
142
-
143
- func (d * daprGrpcAPI ) SaveState (ctx context.Context , request * runtime.SaveStateRequest ) (* emptypb.Empty , error ) {
144
- panic ("implement me" )
145
- }
146
-
147
- func (d * daprGrpcAPI ) QueryStateAlpha1 (ctx context.Context , request * runtime.QueryStateRequest ) (* runtime.QueryStateResponse , error ) {
148
- panic ("implement me" )
149
- }
150
-
151
- func (d * daprGrpcAPI ) DeleteState (ctx context.Context , request * runtime.DeleteStateRequest ) (* emptypb.Empty , error ) {
152
- panic ("implement me" )
153
- }
154
-
155
- func (d * daprGrpcAPI ) DeleteBulkState (ctx context.Context , request * runtime.DeleteBulkStateRequest ) (* emptypb.Empty , error ) {
156
- panic ("implement me" )
157
- }
158
-
159
- func (d * daprGrpcAPI ) ExecuteStateTransaction (ctx context.Context , request * runtime.ExecuteStateTransactionRequest ) (* emptypb.Empty , error ) {
160
- panic ("implement me" )
161
- }
162
-
163
- func (d * daprGrpcAPI ) PublishEvent (ctx context.Context , request * runtime.PublishEventRequest ) (* emptypb.Empty , error ) {
164
- panic ("implement me" )
165
- }
166
-
167
134
func (d * daprGrpcAPI ) InvokeBinding (ctx context.Context , in * runtime.InvokeBindingRequest ) (* runtime.InvokeBindingResponse , error ) {
168
135
req := & bindings.InvokeRequest {
169
136
Metadata : in .Metadata ,
@@ -188,62 +155,6 @@ func (d *daprGrpcAPI) InvokeBinding(ctx context.Context, in *runtime.InvokeBindi
188
155
return r , nil
189
156
}
190
157
191
- func (d * daprGrpcAPI ) GetSecret (ctx context.Context , request * runtime.GetSecretRequest ) (* runtime.GetSecretResponse , error ) {
192
- panic ("implement me" )
193
- }
194
-
195
- func (d * daprGrpcAPI ) GetBulkSecret (ctx context.Context , request * runtime.GetBulkSecretRequest ) (* runtime.GetBulkSecretResponse , error ) {
196
- panic ("implement me" )
197
- }
198
-
199
- func (d * daprGrpcAPI ) RegisterActorTimer (ctx context.Context , request * runtime.RegisterActorTimerRequest ) (* emptypb.Empty , error ) {
200
- panic ("implement me" )
201
- }
202
-
203
- func (d * daprGrpcAPI ) UnregisterActorTimer (ctx context.Context , request * runtime.UnregisterActorTimerRequest ) (* emptypb.Empty , error ) {
204
- panic ("implement me" )
205
- }
206
-
207
- func (d * daprGrpcAPI ) RegisterActorReminder (ctx context.Context , request * runtime.RegisterActorReminderRequest ) (* emptypb.Empty , error ) {
208
- panic ("implement me" )
209
- }
210
-
211
- func (d * daprGrpcAPI ) UnregisterActorReminder (ctx context.Context , request * runtime.UnregisterActorReminderRequest ) (* emptypb.Empty , error ) {
212
- panic ("implement me" )
213
- }
214
-
215
- func (d * daprGrpcAPI ) GetActorState (ctx context.Context , request * runtime.GetActorStateRequest ) (* runtime.GetActorStateResponse , error ) {
216
- panic ("implement me" )
217
- }
218
-
219
- func (d * daprGrpcAPI ) ExecuteActorStateTransaction (ctx context.Context , request * runtime.ExecuteActorStateTransactionRequest ) (* emptypb.Empty , error ) {
220
- panic ("implement me" )
221
- }
222
-
223
- func (d * daprGrpcAPI ) InvokeActor (ctx context.Context , request * runtime.InvokeActorRequest ) (* runtime.InvokeActorResponse , error ) {
224
- panic ("implement me" )
225
- }
226
-
227
- func (d * daprGrpcAPI ) GetConfigurationAlpha1 (ctx context.Context , request * runtime.GetConfigurationRequest ) (* runtime.GetConfigurationResponse , error ) {
228
- panic ("implement me" )
229
- }
230
-
231
- func (d * daprGrpcAPI ) SubscribeConfigurationAlpha1 (request * runtime.SubscribeConfigurationRequest , server runtime.Dapr_SubscribeConfigurationAlpha1Server ) error {
232
- panic ("implement me" )
233
- }
234
-
235
- func (d * daprGrpcAPI ) GetMetadata (ctx context.Context , empty * emptypb.Empty ) (* runtime.GetMetadataResponse , error ) {
236
- panic ("implement me" )
237
- }
238
-
239
- func (d * daprGrpcAPI ) SetMetadata (ctx context.Context , request * runtime.SetMetadataRequest ) (* emptypb.Empty , error ) {
240
- panic ("implement me" )
241
- }
242
-
243
- func (d * daprGrpcAPI ) Shutdown (ctx context.Context , empty * emptypb.Empty ) (* emptypb.Empty , error ) {
244
- panic ("implement me" )
245
- }
246
-
247
158
// NewDaprAPI_Alpha construct a grpc_api.GrpcAPI which implements DaprServer.
248
159
// Currently it only support Dapr's InvokeService and InvokeBinding API.
249
160
// Note: this feature is still in Alpha state and we don't recommend that you use it in your production environment.
0 commit comments