MCPcopy Create free account
hub / github.com/pydio/cells / AddKey

Method AddKey

common/proto/encryption/cells-encryption_grpc.pb.go:38–45  ·  view source on GitHub ↗
(ctx context.Context, in *AddKeyRequest, opts ...grpc.CallOption)

Source from the content-addressed store, hash-verified

36}
37
38func (c *userKeyStoreClient) AddKey(ctx context.Context, in *AddKeyRequest, opts ...grpc.CallOption) (*AddKeyResponse, error) {
39 out := new(AddKeyResponse)
40 err := c.cc.Invoke(ctx, "/encryption.UserKeyStore/AddKey", in, out, opts...)
41 if err != nil {
42 return nil, err
43 }
44 return out, nil
45}
46
47func (c *userKeyStoreClient) GetKey(ctx context.Context, in *GetKeyRequest, opts ...grpc.CallOption) (*GetKeyResponse, error) {
48 out := new(GetKeyResponse)

Callers

nothing calls this directly

Calls 1

InvokeMethod · 0.45

Tested by

no test coverage detected