-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* implement keys method on kv stores * fix: don't log grpc error metadata * chore: update nitric version --------- Co-authored-by: Jye Cusch <[email protected]>
- Loading branch information
1 parent
ac48c7f
commit 8b607a2
Showing
15 changed files
with
2,451 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// GENERATED CODE -- DO NOT EDIT! | ||
|
||
// package: nitric.proto.kvstore.v1 | ||
// file: nitric/proto/kvstore/v1/kvstore.proto | ||
|
||
import * as nitric_proto_kvstore_v1_kvstore_pb from "../../../../nitric/proto/kvstore/v1/kvstore_pb"; | ||
import * as grpc from "@grpc/grpc-js"; | ||
|
||
interface IKvStoreService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> { | ||
getValue: grpc.MethodDefinition<nitric_proto_kvstore_v1_kvstore_pb.KvStoreGetValueRequest, nitric_proto_kvstore_v1_kvstore_pb.KvStoreGetValueResponse>; | ||
setValue: grpc.MethodDefinition<nitric_proto_kvstore_v1_kvstore_pb.KvStoreSetValueRequest, nitric_proto_kvstore_v1_kvstore_pb.KvStoreSetValueResponse>; | ||
deleteKey: grpc.MethodDefinition<nitric_proto_kvstore_v1_kvstore_pb.KvStoreDeleteKeyRequest, nitric_proto_kvstore_v1_kvstore_pb.KvStoreDeleteKeyResponse>; | ||
scanKeys: grpc.MethodDefinition<nitric_proto_kvstore_v1_kvstore_pb.KvStoreScanKeysRequest, nitric_proto_kvstore_v1_kvstore_pb.KvStoreScanKeysResponse>; | ||
} | ||
|
||
export const KvStoreService: IKvStoreService; | ||
|
||
export interface IKvStoreServer extends grpc.UntypedServiceImplementation { | ||
getValue: grpc.handleUnaryCall<nitric_proto_kvstore_v1_kvstore_pb.KvStoreGetValueRequest, nitric_proto_kvstore_v1_kvstore_pb.KvStoreGetValueResponse>; | ||
setValue: grpc.handleUnaryCall<nitric_proto_kvstore_v1_kvstore_pb.KvStoreSetValueRequest, nitric_proto_kvstore_v1_kvstore_pb.KvStoreSetValueResponse>; | ||
deleteKey: grpc.handleUnaryCall<nitric_proto_kvstore_v1_kvstore_pb.KvStoreDeleteKeyRequest, nitric_proto_kvstore_v1_kvstore_pb.KvStoreDeleteKeyResponse>; | ||
scanKeys: grpc.handleServerStreamingCall<nitric_proto_kvstore_v1_kvstore_pb.KvStoreScanKeysRequest, nitric_proto_kvstore_v1_kvstore_pb.KvStoreScanKeysResponse>; | ||
} | ||
|
||
export class KvStoreClient extends grpc.Client { | ||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); | ||
getValue(argument: nitric_proto_kvstore_v1_kvstore_pb.KvStoreGetValueRequest, callback: grpc.requestCallback<nitric_proto_kvstore_v1_kvstore_pb.KvStoreGetValueResponse>): grpc.ClientUnaryCall; | ||
getValue(argument: nitric_proto_kvstore_v1_kvstore_pb.KvStoreGetValueRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<nitric_proto_kvstore_v1_kvstore_pb.KvStoreGetValueResponse>): grpc.ClientUnaryCall; | ||
getValue(argument: nitric_proto_kvstore_v1_kvstore_pb.KvStoreGetValueRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<nitric_proto_kvstore_v1_kvstore_pb.KvStoreGetValueResponse>): grpc.ClientUnaryCall; | ||
setValue(argument: nitric_proto_kvstore_v1_kvstore_pb.KvStoreSetValueRequest, callback: grpc.requestCallback<nitric_proto_kvstore_v1_kvstore_pb.KvStoreSetValueResponse>): grpc.ClientUnaryCall; | ||
setValue(argument: nitric_proto_kvstore_v1_kvstore_pb.KvStoreSetValueRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<nitric_proto_kvstore_v1_kvstore_pb.KvStoreSetValueResponse>): grpc.ClientUnaryCall; | ||
setValue(argument: nitric_proto_kvstore_v1_kvstore_pb.KvStoreSetValueRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<nitric_proto_kvstore_v1_kvstore_pb.KvStoreSetValueResponse>): grpc.ClientUnaryCall; | ||
deleteKey(argument: nitric_proto_kvstore_v1_kvstore_pb.KvStoreDeleteKeyRequest, callback: grpc.requestCallback<nitric_proto_kvstore_v1_kvstore_pb.KvStoreDeleteKeyResponse>): grpc.ClientUnaryCall; | ||
deleteKey(argument: nitric_proto_kvstore_v1_kvstore_pb.KvStoreDeleteKeyRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<nitric_proto_kvstore_v1_kvstore_pb.KvStoreDeleteKeyResponse>): grpc.ClientUnaryCall; | ||
deleteKey(argument: nitric_proto_kvstore_v1_kvstore_pb.KvStoreDeleteKeyRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<nitric_proto_kvstore_v1_kvstore_pb.KvStoreDeleteKeyResponse>): grpc.ClientUnaryCall; | ||
scanKeys(argument: nitric_proto_kvstore_v1_kvstore_pb.KvStoreScanKeysRequest, metadataOrOptions?: grpc.Metadata | grpc.CallOptions | null): grpc.ClientReadableStream<nitric_proto_kvstore_v1_kvstore_pb.KvStoreScanKeysResponse>; | ||
scanKeys(argument: nitric_proto_kvstore_v1_kvstore_pb.KvStoreScanKeysRequest, metadata?: grpc.Metadata | null, options?: grpc.CallOptions | null): grpc.ClientReadableStream<nitric_proto_kvstore_v1_kvstore_pb.KvStoreScanKeysResponse>; | ||
} |
Oops, something went wrong.