Documentation ¶
Index ¶
- Variables
- func DeregisterNodeKeyManagerEnhancedServer(s grpc.ServiceRegistrar, name string)
- func DeregisterUserKeyStoreEnhancedServer(s grpc.ServiceRegistrar, name string)
- func RegisterNodeKeyManagerEnhancedServer(s grpc.ServiceRegistrar, srv NamedNodeKeyManagerServer)
- func RegisterNodeKeyManagerServer(s grpc.ServiceRegistrar, srv NodeKeyManagerServer)
- func RegisterUserKeyStoreEnhancedServer(s grpc.ServiceRegistrar, srv NamedUserKeyStoreServer)
- func RegisterUserKeyStoreServer(s grpc.ServiceRegistrar, srv UserKeyStoreServer)
- type AddKeyRequest
- func (*AddKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddKeyRequest) GetKey() *Key
- func (x *AddKeyRequest) GetStrPassword() string
- func (*AddKeyRequest) ProtoMessage()
- func (x *AddKeyRequest) ProtoReflect() protoreflect.Message
- func (x *AddKeyRequest) Reset()
- func (x *AddKeyRequest) String() string
- func (this *AddKeyRequest) Validate() error
- type AddKeyResponse
- func (*AddKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddKeyResponse) GetSuccess() bool
- func (*AddKeyResponse) ProtoMessage()
- func (x *AddKeyResponse) ProtoReflect() protoreflect.Message
- func (x *AddKeyResponse) Reset()
- func (x *AddKeyResponse) String() string
- func (this *AddKeyResponse) Validate() error
- type AdminCreateKeyRequest
- func (*AdminCreateKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminCreateKeyRequest) GetKeyID() string
- func (x *AdminCreateKeyRequest) GetLabel() string
- func (*AdminCreateKeyRequest) ProtoMessage()
- func (x *AdminCreateKeyRequest) ProtoReflect() protoreflect.Message
- func (x *AdminCreateKeyRequest) Reset()
- func (x *AdminCreateKeyRequest) String() string
- func (this *AdminCreateKeyRequest) Validate() error
- type AdminCreateKeyResponse
- func (*AdminCreateKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminCreateKeyResponse) GetSuccess() bool
- func (*AdminCreateKeyResponse) ProtoMessage()
- func (x *AdminCreateKeyResponse) ProtoReflect() protoreflect.Message
- func (x *AdminCreateKeyResponse) Reset()
- func (x *AdminCreateKeyResponse) String() string
- func (this *AdminCreateKeyResponse) Validate() error
- type AdminDeleteKeyRequest
- func (*AdminDeleteKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminDeleteKeyRequest) GetKeyID() string
- func (*AdminDeleteKeyRequest) ProtoMessage()
- func (x *AdminDeleteKeyRequest) ProtoReflect() protoreflect.Message
- func (x *AdminDeleteKeyRequest) Reset()
- func (x *AdminDeleteKeyRequest) String() string
- func (this *AdminDeleteKeyRequest) Validate() error
- type AdminDeleteKeyResponse
- func (*AdminDeleteKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminDeleteKeyResponse) GetSuccess() bool
- func (*AdminDeleteKeyResponse) ProtoMessage()
- func (x *AdminDeleteKeyResponse) ProtoReflect() protoreflect.Message
- func (x *AdminDeleteKeyResponse) Reset()
- func (x *AdminDeleteKeyResponse) String() string
- func (this *AdminDeleteKeyResponse) Validate() error
- type AdminExportKeyRequest
- func (*AdminExportKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminExportKeyRequest) GetKeyID() string
- func (x *AdminExportKeyRequest) GetStrPassword() string
- func (*AdminExportKeyRequest) ProtoMessage()
- func (x *AdminExportKeyRequest) ProtoReflect() protoreflect.Message
- func (x *AdminExportKeyRequest) Reset()
- func (x *AdminExportKeyRequest) String() string
- func (this *AdminExportKeyRequest) Validate() error
- type AdminExportKeyResponse
- func (*AdminExportKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminExportKeyResponse) GetKey() *Key
- func (*AdminExportKeyResponse) ProtoMessage()
- func (x *AdminExportKeyResponse) ProtoReflect() protoreflect.Message
- func (x *AdminExportKeyResponse) Reset()
- func (x *AdminExportKeyResponse) String() string
- func (this *AdminExportKeyResponse) Validate() error
- type AdminImportKeyRequest
- func (*AdminImportKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminImportKeyRequest) GetKey() *Key
- func (x *AdminImportKeyRequest) GetOverride() bool
- func (x *AdminImportKeyRequest) GetStrPassword() string
- func (*AdminImportKeyRequest) ProtoMessage()
- func (x *AdminImportKeyRequest) ProtoReflect() protoreflect.Message
- func (x *AdminImportKeyRequest) Reset()
- func (x *AdminImportKeyRequest) String() string
- func (this *AdminImportKeyRequest) Validate() error
- type AdminImportKeyResponse
- func (*AdminImportKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminImportKeyResponse) GetSuccess() bool
- func (*AdminImportKeyResponse) ProtoMessage()
- func (x *AdminImportKeyResponse) ProtoReflect() protoreflect.Message
- func (x *AdminImportKeyResponse) Reset()
- func (x *AdminImportKeyResponse) String() string
- func (this *AdminImportKeyResponse) Validate() error
- type AdminListKeysRequest
- func (*AdminListKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (*AdminListKeysRequest) ProtoMessage()
- func (x *AdminListKeysRequest) ProtoReflect() protoreflect.Message
- func (x *AdminListKeysRequest) Reset()
- func (x *AdminListKeysRequest) String() string
- func (this *AdminListKeysRequest) Validate() error
- type AdminListKeysResponse
- func (*AdminListKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminListKeysResponse) GetKeys() []*Key
- func (*AdminListKeysResponse) ProtoMessage()
- func (x *AdminListKeysResponse) ProtoReflect() protoreflect.Message
- func (x *AdminListKeysResponse) Reset()
- func (x *AdminListKeysResponse) String() string
- func (this *AdminListKeysResponse) Validate() error
- type Block
- func (*Block) Descriptor() ([]byte, []int)deprecated
- func (x *Block) GetBlockSize() uint32
- func (x *Block) GetHeaderSize() uint32
- func (x *Block) GetNonce() []byte
- func (x *Block) GetOwnerId() string
- func (x *Block) GetPartId() uint32
- func (x *Block) GetPosition() uint32
- func (*Block) ProtoMessage()
- func (x *Block) ProtoReflect() protoreflect.Message
- func (x *Block) Reset()
- func (x *Block) String() string
- func (this *Block) Validate() error
- type CopyNodeInfoRequest
- func (*CopyNodeInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CopyNodeInfoRequest) GetNodeCopyUuid() string
- func (x *CopyNodeInfoRequest) GetNodeUuid() string
- func (*CopyNodeInfoRequest) ProtoMessage()
- func (x *CopyNodeInfoRequest) ProtoReflect() protoreflect.Message
- func (x *CopyNodeInfoRequest) Reset()
- func (x *CopyNodeInfoRequest) String() string
- func (this *CopyNodeInfoRequest) Validate() error
- type CopyNodeInfoResponse
- func (*CopyNodeInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (*CopyNodeInfoResponse) ProtoMessage()
- func (x *CopyNodeInfoResponse) ProtoReflect() protoreflect.Message
- func (x *CopyNodeInfoResponse) Reset()
- func (x *CopyNodeInfoResponse) String() string
- func (this *CopyNodeInfoResponse) Validate() error
- type DeleteNodeKeyRequest
- func (*DeleteNodeKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNodeKeyRequest) GetNodeId() string
- func (x *DeleteNodeKeyRequest) GetUserId() string
- func (*DeleteNodeKeyRequest) ProtoMessage()
- func (x *DeleteNodeKeyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNodeKeyRequest) Reset()
- func (x *DeleteNodeKeyRequest) String() string
- func (this *DeleteNodeKeyRequest) Validate() error
- type DeleteNodeKeyResponse
- func (*DeleteNodeKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteNodeKeyResponse) ProtoMessage()
- func (x *DeleteNodeKeyResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteNodeKeyResponse) Reset()
- func (x *DeleteNodeKeyResponse) String() string
- func (this *DeleteNodeKeyResponse) Validate() error
- type DeleteNodeRequest
- func (*DeleteNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNodeRequest) GetNodeId() string
- func (*DeleteNodeRequest) ProtoMessage()
- func (x *DeleteNodeRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNodeRequest) Reset()
- func (x *DeleteNodeRequest) String() string
- func (this *DeleteNodeRequest) Validate() error
- type DeleteNodeResponse
- func (*DeleteNodeResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteNodeResponse) ProtoMessage()
- func (x *DeleteNodeResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteNodeResponse) Reset()
- func (x *DeleteNodeResponse) String() string
- func (this *DeleteNodeResponse) Validate() error
- type DeleteNodeSharedKeyRequest
- func (*DeleteNodeSharedKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNodeSharedKeyRequest) GetNodeId() string
- func (x *DeleteNodeSharedKeyRequest) GetOwnerId() string
- func (x *DeleteNodeSharedKeyRequest) GetUserId() string
- func (*DeleteNodeSharedKeyRequest) ProtoMessage()
- func (x *DeleteNodeSharedKeyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNodeSharedKeyRequest) Reset()
- func (x *DeleteNodeSharedKeyRequest) String() string
- func (this *DeleteNodeSharedKeyRequest) Validate() error
- type DeleteNodeSharedKeyResponse
- func (*DeleteNodeSharedKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteNodeSharedKeyResponse) ProtoMessage()
- func (x *DeleteNodeSharedKeyResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteNodeSharedKeyResponse) Reset()
- func (x *DeleteNodeSharedKeyResponse) String() string
- func (this *DeleteNodeSharedKeyResponse) Validate() error
- type Export
- type GetKeyRequest
- func (*GetKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetKeyRequest) GetKeyID() string
- func (x *GetKeyRequest) GetOwner() string
- func (x *GetKeyRequest) GetStrPassword() string
- func (*GetKeyRequest) ProtoMessage()
- func (x *GetKeyRequest) ProtoReflect() protoreflect.Message
- func (x *GetKeyRequest) Reset()
- func (x *GetKeyRequest) String() string
- func (this *GetKeyRequest) Validate() error
- type GetKeyResponse
- func (*GetKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetKeyResponse) GetKey() *Key
- func (*GetKeyResponse) ProtoMessage()
- func (x *GetKeyResponse) ProtoReflect() protoreflect.Message
- func (x *GetKeyResponse) Reset()
- func (x *GetKeyResponse) String() string
- func (this *GetKeyResponse) Validate() error
- type GetNodeInfoRequest
- func (*GetNodeInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeInfoRequest) GetNodeId() string
- func (x *GetNodeInfoRequest) GetPlainLength() int64
- func (x *GetNodeInfoRequest) GetPlainOffset() int64
- func (x *GetNodeInfoRequest) GetUserId() string
- func (x *GetNodeInfoRequest) GetWithRange() bool
- func (*GetNodeInfoRequest) ProtoMessage()
- func (x *GetNodeInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetNodeInfoRequest) Reset()
- func (x *GetNodeInfoRequest) String() string
- func (this *GetNodeInfoRequest) Validate() error
- type GetNodeInfoResponse
- func (*GetNodeInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeInfoResponse) GetEncryptedCount() int64
- func (x *GetNodeInfoResponse) GetEncryptedOffset() int64
- func (x *GetNodeInfoResponse) GetHeadSKippedPlainBytesCount() int64
- func (x *GetNodeInfoResponse) GetNodeInfo() *NodeInfo
- func (x *GetNodeInfoResponse) GetWithRange() bool
- func (*GetNodeInfoResponse) ProtoMessage()
- func (x *GetNodeInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetNodeInfoResponse) Reset()
- func (x *GetNodeInfoResponse) String() string
- func (this *GetNodeInfoResponse) Validate() error
- type GetNodePlainSizeRequest
- func (*GetNodePlainSizeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodePlainSizeRequest) GetNodeId() string
- func (x *GetNodePlainSizeRequest) GetUserId() string
- func (*GetNodePlainSizeRequest) ProtoMessage()
- func (x *GetNodePlainSizeRequest) ProtoReflect() protoreflect.Message
- func (x *GetNodePlainSizeRequest) Reset()
- func (x *GetNodePlainSizeRequest) String() string
- func (this *GetNodePlainSizeRequest) Validate() error
- type GetNodePlainSizeResponse
- func (*GetNodePlainSizeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodePlainSizeResponse) GetSize() int64
- func (*GetNodePlainSizeResponse) ProtoMessage()
- func (x *GetNodePlainSizeResponse) ProtoReflect() protoreflect.Message
- func (x *GetNodePlainSizeResponse) Reset()
- func (x *GetNodePlainSizeResponse) String() string
- func (this *GetNodePlainSizeResponse) Validate() error
- type Import
- type Key
- func (*Key) Descriptor() ([]byte, []int)deprecated
- func (x *Key) GetContent() string
- func (x *Key) GetCreationDate() int32
- func (x *Key) GetID() string
- func (x *Key) GetInfo() *KeyInfo
- func (x *Key) GetLabel() string
- func (x *Key) GetOwner() string
- func (*Key) ProtoMessage()
- func (x *Key) ProtoReflect() protoreflect.Message
- func (x *Key) Reset()
- func (x *Key) String() string
- func (this *Key) Validate() error
- type KeyInfo
- func (*KeyInfo) Descriptor() ([]byte, []int)deprecated
- func (x *KeyInfo) GetExports() []*Export
- func (x *KeyInfo) GetImports() []*Import
- func (*KeyInfo) ProtoMessage()
- func (x *KeyInfo) ProtoReflect() protoreflect.Message
- func (x *KeyInfo) Reset()
- func (x *KeyInfo) String() string
- func (this *KeyInfo) Validate() error
- type NamedNodeKeyManagerServer
- type NamedUserKeyStoreServer
- type Node
- type NodeInfo
- func (*NodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo) GetBlock() *Block
- func (x *NodeInfo) GetNode() *Node
- func (x *NodeInfo) GetNodeKey() *NodeKey
- func (*NodeInfo) ProtoMessage()
- func (x *NodeInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo) Reset()
- func (x *NodeInfo) String() string
- func (this *NodeInfo) Validate() error
- type NodeKey
- func (*NodeKey) Descriptor() ([]byte, []int)deprecated
- func (x *NodeKey) GetKeyData() []byte
- func (x *NodeKey) GetNodeId() string
- func (x *NodeKey) GetOwnerId() string
- func (x *NodeKey) GetUserId() string
- func (*NodeKey) ProtoMessage()
- func (x *NodeKey) ProtoReflect() protoreflect.Message
- func (x *NodeKey) Reset()
- func (x *NodeKey) String() string
- func (this *NodeKey) Validate() error
- type NodeKeyManagerClient
- type NodeKeyManagerEnhancedServer
- func (m NodeKeyManagerEnhancedServer) CopyNodeInfo(ctx context.Context, r *CopyNodeInfoRequest) (*CopyNodeInfoResponse, error)
- func (m NodeKeyManagerEnhancedServer) DeleteNode(ctx context.Context, r *DeleteNodeRequest) (*DeleteNodeResponse, error)
- func (m NodeKeyManagerEnhancedServer) DeleteNodeKey(ctx context.Context, r *DeleteNodeKeyRequest) (*DeleteNodeKeyResponse, error)
- func (m NodeKeyManagerEnhancedServer) DeleteNodeSharedKey(ctx context.Context, r *DeleteNodeSharedKeyRequest) (*DeleteNodeSharedKeyResponse, error)
- func (m NodeKeyManagerEnhancedServer) GetNodeInfo(ctx context.Context, r *GetNodeInfoRequest) (*GetNodeInfoResponse, error)
- func (m NodeKeyManagerEnhancedServer) GetNodePlainSize(ctx context.Context, r *GetNodePlainSizeRequest) (*GetNodePlainSizeResponse, error)
- func (m NodeKeyManagerEnhancedServer) SetNodeInfo(s NodeKeyManager_SetNodeInfoServer) error
- type NodeKeyManagerServer
- type NodeKeyManager_SetNodeInfoClient
- type NodeKeyManager_SetNodeInfoServer
- type RangedBlock
- func (*RangedBlock) Descriptor() ([]byte, []int)deprecated
- func (x *RangedBlock) GetBlockSize() uint32
- func (x *RangedBlock) GetHeaderSize() uint32
- func (x *RangedBlock) GetOwnerId() string
- func (x *RangedBlock) GetPartId() uint32
- func (x *RangedBlock) GetSeqEnd() uint32
- func (x *RangedBlock) GetSeqStart() uint32
- func (*RangedBlock) ProtoMessage()
- func (x *RangedBlock) ProtoReflect() protoreflect.Message
- func (x *RangedBlock) Reset()
- func (x *RangedBlock) String() string
- func (this *RangedBlock) Validate() error
- type SetNodeBlockRequest
- func (*SetNodeBlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetNodeBlockRequest) GetBlock() *Block
- func (x *SetNodeBlockRequest) GetNodeUuid() string
- func (*SetNodeBlockRequest) ProtoMessage()
- func (x *SetNodeBlockRequest) ProtoReflect() protoreflect.Message
- func (x *SetNodeBlockRequest) Reset()
- func (x *SetNodeBlockRequest) String() string
- func (this *SetNodeBlockRequest) Validate() error
- type SetNodeBlockResponse
- func (*SetNodeBlockResponse) Descriptor() ([]byte, []int)deprecated
- func (*SetNodeBlockResponse) ProtoMessage()
- func (x *SetNodeBlockResponse) ProtoReflect() protoreflect.Message
- func (x *SetNodeBlockResponse) Reset()
- func (x *SetNodeBlockResponse) String() string
- func (this *SetNodeBlockResponse) Validate() error
- type SetNodeInfoRequest
- func (*SetNodeInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetNodeInfoRequest) GetAction() string
- func (x *SetNodeInfoRequest) GetSetBlock() *SetNodeBlockRequest
- func (x *SetNodeInfoRequest) GetSetNodeKey() *SetNodeKeyRequest
- func (*SetNodeInfoRequest) ProtoMessage()
- func (x *SetNodeInfoRequest) ProtoReflect() protoreflect.Message
- func (x *SetNodeInfoRequest) Reset()
- func (x *SetNodeInfoRequest) String() string
- func (this *SetNodeInfoRequest) Validate() error
- type SetNodeInfoResponse
- func (*SetNodeInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetNodeInfoResponse) GetErrorText() string
- func (x *SetNodeInfoResponse) GetSetBlock() *SetNodeBlockResponse
- func (x *SetNodeInfoResponse) GetSetNodeKey() *SetNodeKeyResponse
- func (*SetNodeInfoResponse) ProtoMessage()
- func (x *SetNodeInfoResponse) ProtoReflect() protoreflect.Message
- func (x *SetNodeInfoResponse) Reset()
- func (x *SetNodeInfoResponse) String() string
- func (this *SetNodeInfoResponse) Validate() error
- type SetNodeKeyRequest
- func (*SetNodeKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetNodeKeyRequest) GetNodeKey() *NodeKey
- func (*SetNodeKeyRequest) ProtoMessage()
- func (x *SetNodeKeyRequest) ProtoReflect() protoreflect.Message
- func (x *SetNodeKeyRequest) Reset()
- func (x *SetNodeKeyRequest) String() string
- func (this *SetNodeKeyRequest) Validate() error
- type SetNodeKeyResponse
- func (*SetNodeKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (*SetNodeKeyResponse) ProtoMessage()
- func (x *SetNodeKeyResponse) ProtoReflect() protoreflect.Message
- func (x *SetNodeKeyResponse) Reset()
- func (x *SetNodeKeyResponse) String() string
- func (this *SetNodeKeyResponse) Validate() error
- type UnimplementedNodeKeyManagerServer
- func (UnimplementedNodeKeyManagerServer) CopyNodeInfo(context.Context, *CopyNodeInfoRequest) (*CopyNodeInfoResponse, error)
- func (UnimplementedNodeKeyManagerServer) DeleteNode(context.Context, *DeleteNodeRequest) (*DeleteNodeResponse, error)
- func (UnimplementedNodeKeyManagerServer) DeleteNodeKey(context.Context, *DeleteNodeKeyRequest) (*DeleteNodeKeyResponse, error)
- func (UnimplementedNodeKeyManagerServer) DeleteNodeSharedKey(context.Context, *DeleteNodeSharedKeyRequest) (*DeleteNodeSharedKeyResponse, error)
- func (UnimplementedNodeKeyManagerServer) GetNodeInfo(context.Context, *GetNodeInfoRequest) (*GetNodeInfoResponse, error)
- func (UnimplementedNodeKeyManagerServer) GetNodePlainSize(context.Context, *GetNodePlainSizeRequest) (*GetNodePlainSizeResponse, error)
- func (UnimplementedNodeKeyManagerServer) SetNodeInfo(NodeKeyManager_SetNodeInfoServer) error
- type UnimplementedUserKeyStoreServer
- func (UnimplementedUserKeyStoreServer) AddKey(context.Context, *AddKeyRequest) (*AddKeyResponse, error)
- func (UnimplementedUserKeyStoreServer) AdminCreateKey(context.Context, *AdminCreateKeyRequest) (*AdminCreateKeyResponse, error)
- func (UnimplementedUserKeyStoreServer) AdminDeleteKey(context.Context, *AdminDeleteKeyRequest) (*AdminDeleteKeyResponse, error)
- func (UnimplementedUserKeyStoreServer) AdminExportKey(context.Context, *AdminExportKeyRequest) (*AdminExportKeyResponse, error)
- func (UnimplementedUserKeyStoreServer) AdminImportKey(context.Context, *AdminImportKeyRequest) (*AdminImportKeyResponse, error)
- func (UnimplementedUserKeyStoreServer) AdminListKeys(context.Context, *AdminListKeysRequest) (*AdminListKeysResponse, error)
- func (UnimplementedUserKeyStoreServer) GetKey(context.Context, *GetKeyRequest) (*GetKeyResponse, error)
- type UnsafeNodeKeyManagerServer
- type UnsafeUserKeyStoreServer
- type UserKeyStoreClient
- type UserKeyStoreEnhancedServer
- func (m UserKeyStoreEnhancedServer) AddKey(ctx context.Context, r *AddKeyRequest) (*AddKeyResponse, error)
- func (m UserKeyStoreEnhancedServer) AdminCreateKey(ctx context.Context, r *AdminCreateKeyRequest) (*AdminCreateKeyResponse, error)
- func (m UserKeyStoreEnhancedServer) AdminDeleteKey(ctx context.Context, r *AdminDeleteKeyRequest) (*AdminDeleteKeyResponse, error)
- func (m UserKeyStoreEnhancedServer) AdminExportKey(ctx context.Context, r *AdminExportKeyRequest) (*AdminExportKeyResponse, error)
- func (m UserKeyStoreEnhancedServer) AdminImportKey(ctx context.Context, r *AdminImportKeyRequest) (*AdminImportKeyResponse, error)
- func (m UserKeyStoreEnhancedServer) AdminListKeys(ctx context.Context, r *AdminListKeysRequest) (*AdminListKeysResponse, error)
- func (m UserKeyStoreEnhancedServer) GetKey(ctx context.Context, r *GetKeyRequest) (*GetKeyResponse, error)
- type UserKeyStoreServer
Constants ¶
This section is empty.
Variables ¶
var File_cells_encryption_proto protoreflect.FileDescriptor
var NodeKeyManager_ServiceDesc = grpc.ServiceDesc{ ServiceName: "encryption.NodeKeyManager", HandlerType: (*NodeKeyManagerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetNodeInfo", Handler: _NodeKeyManager_GetNodeInfo_Handler, }, { MethodName: "GetNodePlainSize", Handler: _NodeKeyManager_GetNodePlainSize_Handler, }, { MethodName: "CopyNodeInfo", Handler: _NodeKeyManager_CopyNodeInfo_Handler, }, { MethodName: "DeleteNode", Handler: _NodeKeyManager_DeleteNode_Handler, }, { MethodName: "DeleteNodeKey", Handler: _NodeKeyManager_DeleteNodeKey_Handler, }, { MethodName: "DeleteNodeSharedKey", Handler: _NodeKeyManager_DeleteNodeSharedKey_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SetNodeInfo", Handler: _NodeKeyManager_SetNodeInfo_Handler, ClientStreams: true, }, }, Metadata: "cells-encryption.proto", }
NodeKeyManager_ServiceDesc is the grpc.ServiceDesc for NodeKeyManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserKeyStore_ServiceDesc = grpc.ServiceDesc{ ServiceName: "encryption.UserKeyStore", HandlerType: (*UserKeyStoreServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddKey", Handler: _UserKeyStore_AddKey_Handler, }, { MethodName: "GetKey", Handler: _UserKeyStore_GetKey_Handler, }, { MethodName: "AdminListKeys", Handler: _UserKeyStore_AdminListKeys_Handler, }, { MethodName: "AdminCreateKey", Handler: _UserKeyStore_AdminCreateKey_Handler, }, { MethodName: "AdminDeleteKey", Handler: _UserKeyStore_AdminDeleteKey_Handler, }, { MethodName: "AdminExportKey", Handler: _UserKeyStore_AdminExportKey_Handler, }, { MethodName: "AdminImportKey", Handler: _UserKeyStore_AdminImportKey_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cells-encryption.proto", }
UserKeyStore_ServiceDesc is the grpc.ServiceDesc for UserKeyStore service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func DeregisterNodeKeyManagerEnhancedServer ¶
func DeregisterNodeKeyManagerEnhancedServer(s grpc.ServiceRegistrar, name string)
func DeregisterUserKeyStoreEnhancedServer ¶
func DeregisterUserKeyStoreEnhancedServer(s grpc.ServiceRegistrar, name string)
func RegisterNodeKeyManagerEnhancedServer ¶
func RegisterNodeKeyManagerEnhancedServer(s grpc.ServiceRegistrar, srv NamedNodeKeyManagerServer)
func RegisterNodeKeyManagerServer ¶
func RegisterNodeKeyManagerServer(s grpc.ServiceRegistrar, srv NodeKeyManagerServer)
func RegisterUserKeyStoreEnhancedServer ¶
func RegisterUserKeyStoreEnhancedServer(s grpc.ServiceRegistrar, srv NamedUserKeyStoreServer)
func RegisterUserKeyStoreServer ¶
func RegisterUserKeyStoreServer(s grpc.ServiceRegistrar, srv UserKeyStoreServer)
Types ¶
type AddKeyRequest ¶
type AddKeyRequest struct { // Key to add Key *Key `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` // Key password as string StrPassword string `protobuf:"bytes,2,opt,name=StrPassword,proto3" json:"StrPassword,omitempty"` // contains filtered or unexported fields }
func (*AddKeyRequest) Descriptor
deprecated
func (*AddKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddKeyRequest.ProtoReflect.Descriptor instead.
func (*AddKeyRequest) GetKey ¶
func (x *AddKeyRequest) GetKey() *Key
func (*AddKeyRequest) GetStrPassword ¶
func (x *AddKeyRequest) GetStrPassword() string
func (*AddKeyRequest) ProtoMessage ¶
func (*AddKeyRequest) ProtoMessage()
func (*AddKeyRequest) ProtoReflect ¶
func (x *AddKeyRequest) ProtoReflect() protoreflect.Message
func (*AddKeyRequest) Reset ¶
func (x *AddKeyRequest) Reset()
func (*AddKeyRequest) String ¶
func (x *AddKeyRequest) String() string
func (*AddKeyRequest) Validate ¶
func (this *AddKeyRequest) Validate() error
type AddKeyResponse ¶
type AddKeyResponse struct { Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"` // contains filtered or unexported fields }
func (*AddKeyResponse) Descriptor
deprecated
func (*AddKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddKeyResponse.ProtoReflect.Descriptor instead.
func (*AddKeyResponse) GetSuccess ¶
func (x *AddKeyResponse) GetSuccess() bool
func (*AddKeyResponse) ProtoMessage ¶
func (*AddKeyResponse) ProtoMessage()
func (*AddKeyResponse) ProtoReflect ¶
func (x *AddKeyResponse) ProtoReflect() protoreflect.Message
func (*AddKeyResponse) Reset ¶
func (x *AddKeyResponse) Reset()
func (*AddKeyResponse) String ¶
func (x *AddKeyResponse) String() string
func (*AddKeyResponse) Validate ¶
func (this *AddKeyResponse) Validate() error
type AdminCreateKeyRequest ¶
type AdminCreateKeyRequest struct { // Create a key with this ID KeyID string `protobuf:"bytes,1,opt,name=KeyID,proto3" json:"KeyID,omitempty"` // Provide label for the newly created key Label string `protobuf:"bytes,2,opt,name=Label,proto3" json:"Label,omitempty"` // contains filtered or unexported fields }
func (*AdminCreateKeyRequest) Descriptor
deprecated
func (*AdminCreateKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminCreateKeyRequest.ProtoReflect.Descriptor instead.
func (*AdminCreateKeyRequest) GetKeyID ¶
func (x *AdminCreateKeyRequest) GetKeyID() string
func (*AdminCreateKeyRequest) GetLabel ¶
func (x *AdminCreateKeyRequest) GetLabel() string
func (*AdminCreateKeyRequest) ProtoMessage ¶
func (*AdminCreateKeyRequest) ProtoMessage()
func (*AdminCreateKeyRequest) ProtoReflect ¶
func (x *AdminCreateKeyRequest) ProtoReflect() protoreflect.Message
func (*AdminCreateKeyRequest) Reset ¶
func (x *AdminCreateKeyRequest) Reset()
func (*AdminCreateKeyRequest) String ¶
func (x *AdminCreateKeyRequest) String() string
func (*AdminCreateKeyRequest) Validate ¶
func (this *AdminCreateKeyRequest) Validate() error
type AdminCreateKeyResponse ¶
type AdminCreateKeyResponse struct { Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"` // contains filtered or unexported fields }
func (*AdminCreateKeyResponse) Descriptor
deprecated
func (*AdminCreateKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminCreateKeyResponse.ProtoReflect.Descriptor instead.
func (*AdminCreateKeyResponse) GetSuccess ¶
func (x *AdminCreateKeyResponse) GetSuccess() bool
func (*AdminCreateKeyResponse) ProtoMessage ¶
func (*AdminCreateKeyResponse) ProtoMessage()
func (*AdminCreateKeyResponse) ProtoReflect ¶
func (x *AdminCreateKeyResponse) ProtoReflect() protoreflect.Message
func (*AdminCreateKeyResponse) Reset ¶
func (x *AdminCreateKeyResponse) Reset()
func (*AdminCreateKeyResponse) String ¶
func (x *AdminCreateKeyResponse) String() string
func (*AdminCreateKeyResponse) Validate ¶
func (this *AdminCreateKeyResponse) Validate() error
type AdminDeleteKeyRequest ¶
type AdminDeleteKeyRequest struct { // Id of the key to delete KeyID string `protobuf:"bytes,1,opt,name=KeyID,proto3" json:"KeyID,omitempty"` // contains filtered or unexported fields }
func (*AdminDeleteKeyRequest) Descriptor
deprecated
func (*AdminDeleteKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminDeleteKeyRequest.ProtoReflect.Descriptor instead.
func (*AdminDeleteKeyRequest) GetKeyID ¶
func (x *AdminDeleteKeyRequest) GetKeyID() string
func (*AdminDeleteKeyRequest) ProtoMessage ¶
func (*AdminDeleteKeyRequest) ProtoMessage()
func (*AdminDeleteKeyRequest) ProtoReflect ¶
func (x *AdminDeleteKeyRequest) ProtoReflect() protoreflect.Message
func (*AdminDeleteKeyRequest) Reset ¶
func (x *AdminDeleteKeyRequest) Reset()
func (*AdminDeleteKeyRequest) String ¶
func (x *AdminDeleteKeyRequest) String() string
func (*AdminDeleteKeyRequest) Validate ¶
func (this *AdminDeleteKeyRequest) Validate() error
type AdminDeleteKeyResponse ¶
type AdminDeleteKeyResponse struct { Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"` // contains filtered or unexported fields }
func (*AdminDeleteKeyResponse) Descriptor
deprecated
func (*AdminDeleteKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminDeleteKeyResponse.ProtoReflect.Descriptor instead.
func (*AdminDeleteKeyResponse) GetSuccess ¶
func (x *AdminDeleteKeyResponse) GetSuccess() bool
func (*AdminDeleteKeyResponse) ProtoMessage ¶
func (*AdminDeleteKeyResponse) ProtoMessage()
func (*AdminDeleteKeyResponse) ProtoReflect ¶
func (x *AdminDeleteKeyResponse) ProtoReflect() protoreflect.Message
func (*AdminDeleteKeyResponse) Reset ¶
func (x *AdminDeleteKeyResponse) Reset()
func (*AdminDeleteKeyResponse) String ¶
func (x *AdminDeleteKeyResponse) String() string
func (*AdminDeleteKeyResponse) Validate ¶
func (this *AdminDeleteKeyResponse) Validate() error
type AdminExportKeyRequest ¶
type AdminExportKeyRequest struct { // Id of the key to export KeyID string `protobuf:"bytes,1,opt,name=KeyID,proto3" json:"KeyID,omitempty"` // Associated password as string StrPassword string `protobuf:"bytes,2,opt,name=StrPassword,proto3" json:"StrPassword,omitempty"` // contains filtered or unexported fields }
func (*AdminExportKeyRequest) Descriptor
deprecated
func (*AdminExportKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminExportKeyRequest.ProtoReflect.Descriptor instead.
func (*AdminExportKeyRequest) GetKeyID ¶
func (x *AdminExportKeyRequest) GetKeyID() string
func (*AdminExportKeyRequest) GetStrPassword ¶
func (x *AdminExportKeyRequest) GetStrPassword() string
func (*AdminExportKeyRequest) ProtoMessage ¶
func (*AdminExportKeyRequest) ProtoMessage()
func (*AdminExportKeyRequest) ProtoReflect ¶
func (x *AdminExportKeyRequest) ProtoReflect() protoreflect.Message
func (*AdminExportKeyRequest) Reset ¶
func (x *AdminExportKeyRequest) Reset()
func (*AdminExportKeyRequest) String ¶
func (x *AdminExportKeyRequest) String() string
func (*AdminExportKeyRequest) Validate ¶
func (this *AdminExportKeyRequest) Validate() error
type AdminExportKeyResponse ¶
type AdminExportKeyResponse struct { Key *Key `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` // contains filtered or unexported fields }
func (*AdminExportKeyResponse) Descriptor
deprecated
func (*AdminExportKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminExportKeyResponse.ProtoReflect.Descriptor instead.
func (*AdminExportKeyResponse) GetKey ¶
func (x *AdminExportKeyResponse) GetKey() *Key
func (*AdminExportKeyResponse) ProtoMessage ¶
func (*AdminExportKeyResponse) ProtoMessage()
func (*AdminExportKeyResponse) ProtoReflect ¶
func (x *AdminExportKeyResponse) ProtoReflect() protoreflect.Message
func (*AdminExportKeyResponse) Reset ¶
func (x *AdminExportKeyResponse) Reset()
func (*AdminExportKeyResponse) String ¶
func (x *AdminExportKeyResponse) String() string
func (*AdminExportKeyResponse) Validate ¶
func (this *AdminExportKeyResponse) Validate() error
type AdminImportKeyRequest ¶
type AdminImportKeyRequest struct { // Imported key data Key *Key `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` // Key password StrPassword string `protobuf:"bytes,2,opt,name=StrPassword,proto3" json:"StrPassword,omitempty"` // Whether to override if a key with same ID already exists Override bool `protobuf:"varint,3,opt,name=Override,proto3" json:"Override,omitempty"` // contains filtered or unexported fields }
func (*AdminImportKeyRequest) Descriptor
deprecated
func (*AdminImportKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminImportKeyRequest.ProtoReflect.Descriptor instead.
func (*AdminImportKeyRequest) GetKey ¶
func (x *AdminImportKeyRequest) GetKey() *Key
func (*AdminImportKeyRequest) GetOverride ¶
func (x *AdminImportKeyRequest) GetOverride() bool
func (*AdminImportKeyRequest) GetStrPassword ¶
func (x *AdminImportKeyRequest) GetStrPassword() string
func (*AdminImportKeyRequest) ProtoMessage ¶
func (*AdminImportKeyRequest) ProtoMessage()
func (*AdminImportKeyRequest) ProtoReflect ¶
func (x *AdminImportKeyRequest) ProtoReflect() protoreflect.Message
func (*AdminImportKeyRequest) Reset ¶
func (x *AdminImportKeyRequest) Reset()
func (*AdminImportKeyRequest) String ¶
func (x *AdminImportKeyRequest) String() string
func (*AdminImportKeyRequest) Validate ¶
func (this *AdminImportKeyRequest) Validate() error
type AdminImportKeyResponse ¶
type AdminImportKeyResponse struct { Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"` // contains filtered or unexported fields }
func (*AdminImportKeyResponse) Descriptor
deprecated
func (*AdminImportKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminImportKeyResponse.ProtoReflect.Descriptor instead.
func (*AdminImportKeyResponse) GetSuccess ¶
func (x *AdminImportKeyResponse) GetSuccess() bool
func (*AdminImportKeyResponse) ProtoMessage ¶
func (*AdminImportKeyResponse) ProtoMessage()
func (*AdminImportKeyResponse) ProtoReflect ¶
func (x *AdminImportKeyResponse) ProtoReflect() protoreflect.Message
func (*AdminImportKeyResponse) Reset ¶
func (x *AdminImportKeyResponse) Reset()
func (*AdminImportKeyResponse) String ¶
func (x *AdminImportKeyResponse) String() string
func (*AdminImportKeyResponse) Validate ¶
func (this *AdminImportKeyResponse) Validate() error
type AdminListKeysRequest ¶
type AdminListKeysRequest struct {
// contains filtered or unexported fields
}
func (*AdminListKeysRequest) Descriptor
deprecated
func (*AdminListKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminListKeysRequest.ProtoReflect.Descriptor instead.
func (*AdminListKeysRequest) ProtoMessage ¶
func (*AdminListKeysRequest) ProtoMessage()
func (*AdminListKeysRequest) ProtoReflect ¶
func (x *AdminListKeysRequest) ProtoReflect() protoreflect.Message
func (*AdminListKeysRequest) Reset ¶
func (x *AdminListKeysRequest) Reset()
func (*AdminListKeysRequest) String ¶
func (x *AdminListKeysRequest) String() string
func (*AdminListKeysRequest) Validate ¶
func (this *AdminListKeysRequest) Validate() error
type AdminListKeysResponse ¶
type AdminListKeysResponse struct { Keys []*Key `protobuf:"bytes,1,rep,name=Keys,proto3" json:"Keys,omitempty"` // contains filtered or unexported fields }
func (*AdminListKeysResponse) Descriptor
deprecated
func (*AdminListKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminListKeysResponse.ProtoReflect.Descriptor instead.
func (*AdminListKeysResponse) GetKeys ¶
func (x *AdminListKeysResponse) GetKeys() []*Key
func (*AdminListKeysResponse) ProtoMessage ¶
func (*AdminListKeysResponse) ProtoMessage()
func (*AdminListKeysResponse) ProtoReflect ¶
func (x *AdminListKeysResponse) ProtoReflect() protoreflect.Message
func (*AdminListKeysResponse) Reset ¶
func (x *AdminListKeysResponse) Reset()
func (*AdminListKeysResponse) String ¶
func (x *AdminListKeysResponse) String() string
func (*AdminListKeysResponse) Validate ¶
func (this *AdminListKeysResponse) Validate() error
type Block ¶
type Block struct { OwnerId string `protobuf:"bytes,1,opt,name=OwnerId,proto3" json:"OwnerId,omitempty"` PartId uint32 `protobuf:"varint,2,opt,name=PartId,proto3" json:"PartId,omitempty"` Position uint32 `protobuf:"varint,3,opt,name=Position,proto3" json:"Position,omitempty"` HeaderSize uint32 `protobuf:"varint,4,opt,name=HeaderSize,proto3" json:"HeaderSize,omitempty"` BlockSize uint32 `protobuf:"varint,5,opt,name=BlockSize,proto3" json:"BlockSize,omitempty"` Nonce []byte `protobuf:"bytes,6,opt,name=Nonce,proto3" json:"Nonce,omitempty"` // contains filtered or unexported fields }
func (*Block) Descriptor
deprecated
func (*Block) GetBlockSize ¶
func (*Block) GetHeaderSize ¶
func (*Block) GetOwnerId ¶
func (*Block) GetPosition ¶
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type CopyNodeInfoRequest ¶
type CopyNodeInfoRequest struct { NodeUuid string `protobuf:"bytes,1,opt,name=NodeUuid,proto3" json:"NodeUuid,omitempty"` NodeCopyUuid string `protobuf:"bytes,2,opt,name=NodeCopyUuid,proto3" json:"NodeCopyUuid,omitempty"` // contains filtered or unexported fields }
func (*CopyNodeInfoRequest) Descriptor
deprecated
func (*CopyNodeInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CopyNodeInfoRequest.ProtoReflect.Descriptor instead.
func (*CopyNodeInfoRequest) GetNodeCopyUuid ¶
func (x *CopyNodeInfoRequest) GetNodeCopyUuid() string
func (*CopyNodeInfoRequest) GetNodeUuid ¶
func (x *CopyNodeInfoRequest) GetNodeUuid() string
func (*CopyNodeInfoRequest) ProtoMessage ¶
func (*CopyNodeInfoRequest) ProtoMessage()
func (*CopyNodeInfoRequest) ProtoReflect ¶
func (x *CopyNodeInfoRequest) ProtoReflect() protoreflect.Message
func (*CopyNodeInfoRequest) Reset ¶
func (x *CopyNodeInfoRequest) Reset()
func (*CopyNodeInfoRequest) String ¶
func (x *CopyNodeInfoRequest) String() string
func (*CopyNodeInfoRequest) Validate ¶
func (this *CopyNodeInfoRequest) Validate() error
type CopyNodeInfoResponse ¶
type CopyNodeInfoResponse struct {
// contains filtered or unexported fields
}
func (*CopyNodeInfoResponse) Descriptor
deprecated
func (*CopyNodeInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use CopyNodeInfoResponse.ProtoReflect.Descriptor instead.
func (*CopyNodeInfoResponse) ProtoMessage ¶
func (*CopyNodeInfoResponse) ProtoMessage()
func (*CopyNodeInfoResponse) ProtoReflect ¶
func (x *CopyNodeInfoResponse) ProtoReflect() protoreflect.Message
func (*CopyNodeInfoResponse) Reset ¶
func (x *CopyNodeInfoResponse) Reset()
func (*CopyNodeInfoResponse) String ¶
func (x *CopyNodeInfoResponse) String() string
func (*CopyNodeInfoResponse) Validate ¶
func (this *CopyNodeInfoResponse) Validate() error
type DeleteNodeKeyRequest ¶
type DeleteNodeKeyRequest struct { UserId string `protobuf:"bytes,1,opt,name=UserId,proto3" json:"UserId,omitempty"` NodeId string `protobuf:"bytes,2,opt,name=NodeId,proto3" json:"NodeId,omitempty"` // contains filtered or unexported fields }
func (*DeleteNodeKeyRequest) Descriptor
deprecated
func (*DeleteNodeKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodeKeyRequest.ProtoReflect.Descriptor instead.
func (*DeleteNodeKeyRequest) GetNodeId ¶
func (x *DeleteNodeKeyRequest) GetNodeId() string
func (*DeleteNodeKeyRequest) GetUserId ¶
func (x *DeleteNodeKeyRequest) GetUserId() string
func (*DeleteNodeKeyRequest) ProtoMessage ¶
func (*DeleteNodeKeyRequest) ProtoMessage()
func (*DeleteNodeKeyRequest) ProtoReflect ¶
func (x *DeleteNodeKeyRequest) ProtoReflect() protoreflect.Message
func (*DeleteNodeKeyRequest) Reset ¶
func (x *DeleteNodeKeyRequest) Reset()
func (*DeleteNodeKeyRequest) String ¶
func (x *DeleteNodeKeyRequest) String() string
func (*DeleteNodeKeyRequest) Validate ¶
func (this *DeleteNodeKeyRequest) Validate() error
type DeleteNodeKeyResponse ¶
type DeleteNodeKeyResponse struct {
// contains filtered or unexported fields
}
func (*DeleteNodeKeyResponse) Descriptor
deprecated
func (*DeleteNodeKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodeKeyResponse.ProtoReflect.Descriptor instead.
func (*DeleteNodeKeyResponse) ProtoMessage ¶
func (*DeleteNodeKeyResponse) ProtoMessage()
func (*DeleteNodeKeyResponse) ProtoReflect ¶
func (x *DeleteNodeKeyResponse) ProtoReflect() protoreflect.Message
func (*DeleteNodeKeyResponse) Reset ¶
func (x *DeleteNodeKeyResponse) Reset()
func (*DeleteNodeKeyResponse) String ¶
func (x *DeleteNodeKeyResponse) String() string
func (*DeleteNodeKeyResponse) Validate ¶
func (this *DeleteNodeKeyResponse) Validate() error
type DeleteNodeRequest ¶
type DeleteNodeRequest struct { NodeId string `protobuf:"bytes,1,opt,name=NodeId,proto3" json:"NodeId,omitempty"` // contains filtered or unexported fields }
func (*DeleteNodeRequest) Descriptor
deprecated
func (*DeleteNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodeRequest.ProtoReflect.Descriptor instead.
func (*DeleteNodeRequest) GetNodeId ¶
func (x *DeleteNodeRequest) GetNodeId() string
func (*DeleteNodeRequest) ProtoMessage ¶
func (*DeleteNodeRequest) ProtoMessage()
func (*DeleteNodeRequest) ProtoReflect ¶
func (x *DeleteNodeRequest) ProtoReflect() protoreflect.Message
func (*DeleteNodeRequest) Reset ¶
func (x *DeleteNodeRequest) Reset()
func (*DeleteNodeRequest) String ¶
func (x *DeleteNodeRequest) String() string
func (*DeleteNodeRequest) Validate ¶
func (this *DeleteNodeRequest) Validate() error
type DeleteNodeResponse ¶
type DeleteNodeResponse struct {
// contains filtered or unexported fields
}
func (*DeleteNodeResponse) Descriptor
deprecated
func (*DeleteNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodeResponse.ProtoReflect.Descriptor instead.
func (*DeleteNodeResponse) ProtoMessage ¶
func (*DeleteNodeResponse) ProtoMessage()
func (*DeleteNodeResponse) ProtoReflect ¶
func (x *DeleteNodeResponse) ProtoReflect() protoreflect.Message
func (*DeleteNodeResponse) Reset ¶
func (x *DeleteNodeResponse) Reset()
func (*DeleteNodeResponse) String ¶
func (x *DeleteNodeResponse) String() string
func (*DeleteNodeResponse) Validate ¶
func (this *DeleteNodeResponse) Validate() error
type DeleteNodeSharedKeyRequest ¶
type DeleteNodeSharedKeyRequest struct { // contains filtered or unexported fields }
func (*DeleteNodeSharedKeyRequest) Descriptor
deprecated
func (*DeleteNodeSharedKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodeSharedKeyRequest.ProtoReflect.Descriptor instead.
func (*DeleteNodeSharedKeyRequest) GetNodeId ¶
func (x *DeleteNodeSharedKeyRequest) GetNodeId() string
func (*DeleteNodeSharedKeyRequest) GetOwnerId ¶
func (x *DeleteNodeSharedKeyRequest) GetOwnerId() string
func (*DeleteNodeSharedKeyRequest) GetUserId ¶
func (x *DeleteNodeSharedKeyRequest) GetUserId() string
func (*DeleteNodeSharedKeyRequest) ProtoMessage ¶
func (*DeleteNodeSharedKeyRequest) ProtoMessage()
func (*DeleteNodeSharedKeyRequest) ProtoReflect ¶
func (x *DeleteNodeSharedKeyRequest) ProtoReflect() protoreflect.Message
func (*DeleteNodeSharedKeyRequest) Reset ¶
func (x *DeleteNodeSharedKeyRequest) Reset()
func (*DeleteNodeSharedKeyRequest) String ¶
func (x *DeleteNodeSharedKeyRequest) String() string
func (*DeleteNodeSharedKeyRequest) Validate ¶
func (this *DeleteNodeSharedKeyRequest) Validate() error
type DeleteNodeSharedKeyResponse ¶
type DeleteNodeSharedKeyResponse struct {
// contains filtered or unexported fields
}
func (*DeleteNodeSharedKeyResponse) Descriptor
deprecated
func (*DeleteNodeSharedKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodeSharedKeyResponse.ProtoReflect.Descriptor instead.
func (*DeleteNodeSharedKeyResponse) ProtoMessage ¶
func (*DeleteNodeSharedKeyResponse) ProtoMessage()
func (*DeleteNodeSharedKeyResponse) ProtoReflect ¶
func (x *DeleteNodeSharedKeyResponse) ProtoReflect() protoreflect.Message
func (*DeleteNodeSharedKeyResponse) Reset ¶
func (x *DeleteNodeSharedKeyResponse) Reset()
func (*DeleteNodeSharedKeyResponse) String ¶
func (x *DeleteNodeSharedKeyResponse) String() string
func (*DeleteNodeSharedKeyResponse) Validate ¶
func (this *DeleteNodeSharedKeyResponse) Validate() error
type Export ¶
type Export struct { // Name of exporter By string `protobuf:"bytes,1,opt,name=By,proto3" json:"By,omitempty"` // Date of export Date int32 `protobuf:"varint,2,opt,name=Date,proto3" json:"Date,omitempty"` // contains filtered or unexported fields }
func (*Export) Descriptor
deprecated
func (*Export) ProtoMessage ¶
func (*Export) ProtoMessage()
func (*Export) ProtoReflect ¶
func (x *Export) ProtoReflect() protoreflect.Message
type GetKeyRequest ¶
type GetKeyRequest struct { Owner string `protobuf:"bytes,1,opt,name=Owner,proto3" json:"Owner,omitempty"` KeyID string `protobuf:"bytes,2,opt,name=KeyID,proto3" json:"KeyID,omitempty"` StrPassword string `protobuf:"bytes,3,opt,name=StrPassword,proto3" json:"StrPassword,omitempty"` // contains filtered or unexported fields }
func (*GetKeyRequest) Descriptor
deprecated
func (*GetKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetKeyRequest.ProtoReflect.Descriptor instead.
func (*GetKeyRequest) GetKeyID ¶
func (x *GetKeyRequest) GetKeyID() string
func (*GetKeyRequest) GetOwner ¶
func (x *GetKeyRequest) GetOwner() string
func (*GetKeyRequest) GetStrPassword ¶
func (x *GetKeyRequest) GetStrPassword() string
func (*GetKeyRequest) ProtoMessage ¶
func (*GetKeyRequest) ProtoMessage()
func (*GetKeyRequest) ProtoReflect ¶
func (x *GetKeyRequest) ProtoReflect() protoreflect.Message
func (*GetKeyRequest) Reset ¶
func (x *GetKeyRequest) Reset()
func (*GetKeyRequest) String ¶
func (x *GetKeyRequest) String() string
func (*GetKeyRequest) Validate ¶
func (this *GetKeyRequest) Validate() error
type GetKeyResponse ¶
type GetKeyResponse struct { Key *Key `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` // contains filtered or unexported fields }
func (*GetKeyResponse) Descriptor
deprecated
func (*GetKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetKeyResponse.ProtoReflect.Descriptor instead.
func (*GetKeyResponse) GetKey ¶
func (x *GetKeyResponse) GetKey() *Key
func (*GetKeyResponse) ProtoMessage ¶
func (*GetKeyResponse) ProtoMessage()
func (*GetKeyResponse) ProtoReflect ¶
func (x *GetKeyResponse) ProtoReflect() protoreflect.Message
func (*GetKeyResponse) Reset ¶
func (x *GetKeyResponse) Reset()
func (*GetKeyResponse) String ¶
func (x *GetKeyResponse) String() string
func (*GetKeyResponse) Validate ¶
func (this *GetKeyResponse) Validate() error
type GetNodeInfoRequest ¶
type GetNodeInfoRequest struct { UserId string `protobuf:"bytes,1,opt,name=UserId,proto3" json:"UserId,omitempty"` NodeId string `protobuf:"bytes,2,opt,name=NodeId,proto3" json:"NodeId,omitempty"` WithRange bool `protobuf:"varint,3,opt,name=WithRange,proto3" json:"WithRange,omitempty"` PlainOffset int64 `protobuf:"varint,4,opt,name=PlainOffset,proto3" json:"PlainOffset,omitempty"` PlainLength int64 `protobuf:"varint,5,opt,name=PlainLength,proto3" json:"PlainLength,omitempty"` // contains filtered or unexported fields }
func (*GetNodeInfoRequest) Descriptor
deprecated
func (*GetNodeInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeInfoRequest.ProtoReflect.Descriptor instead.
func (*GetNodeInfoRequest) GetNodeId ¶
func (x *GetNodeInfoRequest) GetNodeId() string
func (*GetNodeInfoRequest) GetPlainLength ¶
func (x *GetNodeInfoRequest) GetPlainLength() int64
func (*GetNodeInfoRequest) GetPlainOffset ¶
func (x *GetNodeInfoRequest) GetPlainOffset() int64
func (*GetNodeInfoRequest) GetUserId ¶
func (x *GetNodeInfoRequest) GetUserId() string
func (*GetNodeInfoRequest) GetWithRange ¶
func (x *GetNodeInfoRequest) GetWithRange() bool
func (*GetNodeInfoRequest) ProtoMessage ¶
func (*GetNodeInfoRequest) ProtoMessage()
func (*GetNodeInfoRequest) ProtoReflect ¶
func (x *GetNodeInfoRequest) ProtoReflect() protoreflect.Message
func (*GetNodeInfoRequest) Reset ¶
func (x *GetNodeInfoRequest) Reset()
func (*GetNodeInfoRequest) String ¶
func (x *GetNodeInfoRequest) String() string
func (*GetNodeInfoRequest) Validate ¶
func (this *GetNodeInfoRequest) Validate() error
type GetNodeInfoResponse ¶
type GetNodeInfoResponse struct { NodeInfo *NodeInfo `protobuf:"bytes,1,opt,name=NodeInfo,proto3" json:"NodeInfo,omitempty"` HeadSKippedPlainBytesCount int64 `protobuf:"varint,2,opt,name=HeadSKippedPlainBytesCount,proto3" json:"HeadSKippedPlainBytesCount,omitempty"` WithRange bool `protobuf:"varint,3,opt,name=WithRange,proto3" json:"WithRange,omitempty"` EncryptedOffset int64 `protobuf:"varint,4,opt,name=EncryptedOffset,proto3" json:"EncryptedOffset,omitempty"` EncryptedCount int64 `protobuf:"varint,5,opt,name=EncryptedCount,proto3" json:"EncryptedCount,omitempty"` // contains filtered or unexported fields }
func (*GetNodeInfoResponse) Descriptor
deprecated
func (*GetNodeInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeInfoResponse.ProtoReflect.Descriptor instead.
func (*GetNodeInfoResponse) GetEncryptedCount ¶
func (x *GetNodeInfoResponse) GetEncryptedCount() int64
func (*GetNodeInfoResponse) GetEncryptedOffset ¶
func (x *GetNodeInfoResponse) GetEncryptedOffset() int64
func (*GetNodeInfoResponse) GetHeadSKippedPlainBytesCount ¶
func (x *GetNodeInfoResponse) GetHeadSKippedPlainBytesCount() int64
func (*GetNodeInfoResponse) GetNodeInfo ¶
func (x *GetNodeInfoResponse) GetNodeInfo() *NodeInfo
func (*GetNodeInfoResponse) GetWithRange ¶
func (x *GetNodeInfoResponse) GetWithRange() bool
func (*GetNodeInfoResponse) ProtoMessage ¶
func (*GetNodeInfoResponse) ProtoMessage()
func (*GetNodeInfoResponse) ProtoReflect ¶
func (x *GetNodeInfoResponse) ProtoReflect() protoreflect.Message
func (*GetNodeInfoResponse) Reset ¶
func (x *GetNodeInfoResponse) Reset()
func (*GetNodeInfoResponse) String ¶
func (x *GetNodeInfoResponse) String() string
func (*GetNodeInfoResponse) Validate ¶
func (this *GetNodeInfoResponse) Validate() error
type GetNodePlainSizeRequest ¶
type GetNodePlainSizeRequest struct { UserId string `protobuf:"bytes,1,opt,name=UserId,proto3" json:"UserId,omitempty"` NodeId string `protobuf:"bytes,2,opt,name=NodeId,proto3" json:"NodeId,omitempty"` // contains filtered or unexported fields }
func (*GetNodePlainSizeRequest) Descriptor
deprecated
func (*GetNodePlainSizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodePlainSizeRequest.ProtoReflect.Descriptor instead.
func (*GetNodePlainSizeRequest) GetNodeId ¶
func (x *GetNodePlainSizeRequest) GetNodeId() string
func (*GetNodePlainSizeRequest) GetUserId ¶
func (x *GetNodePlainSizeRequest) GetUserId() string
func (*GetNodePlainSizeRequest) ProtoMessage ¶
func (*GetNodePlainSizeRequest) ProtoMessage()
func (*GetNodePlainSizeRequest) ProtoReflect ¶
func (x *GetNodePlainSizeRequest) ProtoReflect() protoreflect.Message
func (*GetNodePlainSizeRequest) Reset ¶
func (x *GetNodePlainSizeRequest) Reset()
func (*GetNodePlainSizeRequest) String ¶
func (x *GetNodePlainSizeRequest) String() string
func (*GetNodePlainSizeRequest) Validate ¶
func (this *GetNodePlainSizeRequest) Validate() error
type GetNodePlainSizeResponse ¶
type GetNodePlainSizeResponse struct { Size int64 `protobuf:"varint,1,opt,name=Size,proto3" json:"Size,omitempty"` // contains filtered or unexported fields }
func (*GetNodePlainSizeResponse) Descriptor
deprecated
func (*GetNodePlainSizeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNodePlainSizeResponse.ProtoReflect.Descriptor instead.
func (*GetNodePlainSizeResponse) GetSize ¶
func (x *GetNodePlainSizeResponse) GetSize() int64
func (*GetNodePlainSizeResponse) ProtoMessage ¶
func (*GetNodePlainSizeResponse) ProtoMessage()
func (*GetNodePlainSizeResponse) ProtoReflect ¶
func (x *GetNodePlainSizeResponse) ProtoReflect() protoreflect.Message
func (*GetNodePlainSizeResponse) Reset ¶
func (x *GetNodePlainSizeResponse) Reset()
func (*GetNodePlainSizeResponse) String ¶
func (x *GetNodePlainSizeResponse) String() string
func (*GetNodePlainSizeResponse) Validate ¶
func (this *GetNodePlainSizeResponse) Validate() error
type Import ¶
type Import struct { // Name of importer By string `protobuf:"bytes,1,opt,name=By,proto3" json:"By,omitempty"` // Date of import Date int32 `protobuf:"varint,3,opt,name=Date,proto3" json:"Date,omitempty"` // contains filtered or unexported fields }
func (*Import) Descriptor
deprecated
func (*Import) ProtoMessage ¶
func (*Import) ProtoMessage()
func (*Import) ProtoReflect ¶
func (x *Import) ProtoReflect() protoreflect.Message
type Key ¶
type Key struct { // Key owner Owner string `protobuf:"bytes,1,opt,name=Owner,proto3" json:"Owner,omitempty"` // Key ID ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"` // Key label Label string `protobuf:"bytes,3,opt,name=Label,proto3" json:"Label,omitempty"` // Key content Content string `protobuf:"bytes,4,opt,name=Content,proto3" json:"Content,omitempty"` // Key creation date CreationDate int32 `protobuf:"varint,5,opt,name=CreationDate,proto3" json:"CreationDate,omitempty"` // Additional key info Info *KeyInfo `protobuf:"bytes,6,opt,name=Info,proto3" json:"Info,omitempty"` // contains filtered or unexported fields }
func (*Key) Descriptor
deprecated
func (*Key) GetContent ¶
func (*Key) GetCreationDate ¶
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) ProtoReflect ¶
func (x *Key) ProtoReflect() protoreflect.Message
type KeyInfo ¶
type KeyInfo struct { Exports []*Export `protobuf:"bytes,1,rep,name=Exports,proto3" json:"Exports,omitempty"` Imports []*Import `protobuf:"bytes,2,rep,name=Imports,proto3" json:"Imports,omitempty"` // contains filtered or unexported fields }
func (*KeyInfo) Descriptor
deprecated
func (*KeyInfo) GetExports ¶
func (*KeyInfo) GetImports ¶
func (*KeyInfo) ProtoMessage ¶
func (*KeyInfo) ProtoMessage()
func (*KeyInfo) ProtoReflect ¶
func (x *KeyInfo) ProtoReflect() protoreflect.Message
type NamedNodeKeyManagerServer ¶
type NamedNodeKeyManagerServer interface { NodeKeyManagerServer Name() string }
type NamedUserKeyStoreServer ¶
type NamedUserKeyStoreServer interface { UserKeyStoreServer Name() string }
type Node ¶
type Node struct { NodeId string `protobuf:"bytes,1,opt,name=NodeId,proto3" json:"NodeId,omitempty"` Legacy bool `protobuf:"varint,2,opt,name=Legacy,proto3" json:"Legacy,omitempty"` // contains filtered or unexported fields }
func (*Node) Descriptor
deprecated
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type NodeInfo ¶
type NodeInfo struct { Node *Node `protobuf:"bytes,1,opt,name=Node,proto3" json:"Node,omitempty"` NodeKey *NodeKey `protobuf:"bytes,2,opt,name=NodeKey,proto3" json:"NodeKey,omitempty"` Block *Block `protobuf:"bytes,3,opt,name=Block,proto3" json:"Block,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo) Descriptor
deprecated
func (*NodeInfo) GetNodeKey ¶
func (*NodeInfo) ProtoMessage ¶
func (*NodeInfo) ProtoMessage()
func (*NodeInfo) ProtoReflect ¶
func (x *NodeInfo) ProtoReflect() protoreflect.Message
type NodeKey ¶
type NodeKey struct { NodeId string `protobuf:"bytes,1,opt,name=NodeId,proto3" json:"NodeId,omitempty"` UserId string `protobuf:"bytes,2,opt,name=UserId,proto3" json:"UserId,omitempty"` OwnerId string `protobuf:"bytes,3,opt,name=OwnerId,proto3" json:"OwnerId,omitempty"` KeyData []byte `protobuf:"bytes,6,opt,name=KeyData,proto3" json:"KeyData,omitempty"` // contains filtered or unexported fields }
func (*NodeKey) Descriptor
deprecated
func (*NodeKey) GetKeyData ¶
func (*NodeKey) GetOwnerId ¶
func (*NodeKey) ProtoMessage ¶
func (*NodeKey) ProtoMessage()
func (*NodeKey) ProtoReflect ¶
func (x *NodeKey) ProtoReflect() protoreflect.Message
type NodeKeyManagerClient ¶
type NodeKeyManagerClient interface { GetNodeInfo(ctx context.Context, in *GetNodeInfoRequest, opts ...grpc.CallOption) (*GetNodeInfoResponse, error) GetNodePlainSize(ctx context.Context, in *GetNodePlainSizeRequest, opts ...grpc.CallOption) (*GetNodePlainSizeResponse, error) SetNodeInfo(ctx context.Context, opts ...grpc.CallOption) (NodeKeyManager_SetNodeInfoClient, error) CopyNodeInfo(ctx context.Context, in *CopyNodeInfoRequest, opts ...grpc.CallOption) (*CopyNodeInfoResponse, error) DeleteNode(ctx context.Context, in *DeleteNodeRequest, opts ...grpc.CallOption) (*DeleteNodeResponse, error) DeleteNodeKey(ctx context.Context, in *DeleteNodeKeyRequest, opts ...grpc.CallOption) (*DeleteNodeKeyResponse, error) }
NodeKeyManagerClient is the client API for NodeKeyManager 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.
func NewNodeKeyManagerClient ¶
func NewNodeKeyManagerClient(cc grpc.ClientConnInterface) NodeKeyManagerClient
type NodeKeyManagerEnhancedServer ¶
type NodeKeyManagerEnhancedServer map[string]NamedNodeKeyManagerServer
func (NodeKeyManagerEnhancedServer) CopyNodeInfo ¶
func (m NodeKeyManagerEnhancedServer) CopyNodeInfo(ctx context.Context, r *CopyNodeInfoRequest) (*CopyNodeInfoResponse, error)
func (NodeKeyManagerEnhancedServer) DeleteNode ¶
func (m NodeKeyManagerEnhancedServer) DeleteNode(ctx context.Context, r *DeleteNodeRequest) (*DeleteNodeResponse, error)
func (NodeKeyManagerEnhancedServer) DeleteNodeKey ¶
func (m NodeKeyManagerEnhancedServer) DeleteNodeKey(ctx context.Context, r *DeleteNodeKeyRequest) (*DeleteNodeKeyResponse, error)
func (NodeKeyManagerEnhancedServer) DeleteNodeSharedKey ¶
func (m NodeKeyManagerEnhancedServer) DeleteNodeSharedKey(ctx context.Context, r *DeleteNodeSharedKeyRequest) (*DeleteNodeSharedKeyResponse, error)
func (NodeKeyManagerEnhancedServer) GetNodeInfo ¶
func (m NodeKeyManagerEnhancedServer) GetNodeInfo(ctx context.Context, r *GetNodeInfoRequest) (*GetNodeInfoResponse, error)
func (NodeKeyManagerEnhancedServer) GetNodePlainSize ¶
func (m NodeKeyManagerEnhancedServer) GetNodePlainSize(ctx context.Context, r *GetNodePlainSizeRequest) (*GetNodePlainSizeResponse, error)
func (NodeKeyManagerEnhancedServer) SetNodeInfo ¶
func (m NodeKeyManagerEnhancedServer) SetNodeInfo(s NodeKeyManager_SetNodeInfoServer) error
type NodeKeyManagerServer ¶
type NodeKeyManagerServer interface { GetNodeInfo(context.Context, *GetNodeInfoRequest) (*GetNodeInfoResponse, error) GetNodePlainSize(context.Context, *GetNodePlainSizeRequest) (*GetNodePlainSizeResponse, error) SetNodeInfo(NodeKeyManager_SetNodeInfoServer) error CopyNodeInfo(context.Context, *CopyNodeInfoRequest) (*CopyNodeInfoResponse, error) DeleteNode(context.Context, *DeleteNodeRequest) (*DeleteNodeResponse, error) DeleteNodeKey(context.Context, *DeleteNodeKeyRequest) (*DeleteNodeKeyResponse, error) // contains filtered or unexported methods }
NodeKeyManagerServer is the server API for NodeKeyManager service. All implementations must embed UnimplementedNodeKeyManagerServer for forward compatibility
type NodeKeyManager_SetNodeInfoClient ¶
type NodeKeyManager_SetNodeInfoClient interface { Send(*SetNodeInfoRequest) error CloseAndRecv() (*SetNodeInfoResponse, error) grpc.ClientStream }
type NodeKeyManager_SetNodeInfoServer ¶
type NodeKeyManager_SetNodeInfoServer interface { SendAndClose(*SetNodeInfoResponse) error Recv() (*SetNodeInfoRequest, error) grpc.ServerStream }
type RangedBlock ¶
type RangedBlock struct { OwnerId string `protobuf:"bytes,1,opt,name=OwnerId,proto3" json:"OwnerId,omitempty"` PartId uint32 `protobuf:"varint,2,opt,name=PartId,proto3" json:"PartId,omitempty"` SeqStart uint32 `protobuf:"varint,3,opt,name=SeqStart,proto3" json:"SeqStart,omitempty"` SeqEnd uint32 `protobuf:"varint,4,opt,name=SeqEnd,proto3" json:"SeqEnd,omitempty"` HeaderSize uint32 `protobuf:"varint,5,opt,name=HeaderSize,proto3" json:"HeaderSize,omitempty"` BlockSize uint32 `protobuf:"varint,6,opt,name=BlockSize,proto3" json:"BlockSize,omitempty"` // contains filtered or unexported fields }
func (*RangedBlock) Descriptor
deprecated
func (*RangedBlock) Descriptor() ([]byte, []int)
Deprecated: Use RangedBlock.ProtoReflect.Descriptor instead.
func (*RangedBlock) GetBlockSize ¶
func (x *RangedBlock) GetBlockSize() uint32
func (*RangedBlock) GetHeaderSize ¶
func (x *RangedBlock) GetHeaderSize() uint32
func (*RangedBlock) GetOwnerId ¶
func (x *RangedBlock) GetOwnerId() string
func (*RangedBlock) GetPartId ¶
func (x *RangedBlock) GetPartId() uint32
func (*RangedBlock) GetSeqEnd ¶
func (x *RangedBlock) GetSeqEnd() uint32
func (*RangedBlock) GetSeqStart ¶
func (x *RangedBlock) GetSeqStart() uint32
func (*RangedBlock) ProtoMessage ¶
func (*RangedBlock) ProtoMessage()
func (*RangedBlock) ProtoReflect ¶
func (x *RangedBlock) ProtoReflect() protoreflect.Message
func (*RangedBlock) Reset ¶
func (x *RangedBlock) Reset()
func (*RangedBlock) String ¶
func (x *RangedBlock) String() string
func (*RangedBlock) Validate ¶
func (this *RangedBlock) Validate() error
type SetNodeBlockRequest ¶
type SetNodeBlockRequest struct { NodeUuid string `protobuf:"bytes,1,opt,name=NodeUuid,proto3" json:"NodeUuid,omitempty"` Block *Block `protobuf:"bytes,2,opt,name=Block,proto3" json:"Block,omitempty"` // contains filtered or unexported fields }
func (*SetNodeBlockRequest) Descriptor
deprecated
func (*SetNodeBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetNodeBlockRequest.ProtoReflect.Descriptor instead.
func (*SetNodeBlockRequest) GetBlock ¶
func (x *SetNodeBlockRequest) GetBlock() *Block
func (*SetNodeBlockRequest) GetNodeUuid ¶
func (x *SetNodeBlockRequest) GetNodeUuid() string
func (*SetNodeBlockRequest) ProtoMessage ¶
func (*SetNodeBlockRequest) ProtoMessage()
func (*SetNodeBlockRequest) ProtoReflect ¶
func (x *SetNodeBlockRequest) ProtoReflect() protoreflect.Message
func (*SetNodeBlockRequest) Reset ¶
func (x *SetNodeBlockRequest) Reset()
func (*SetNodeBlockRequest) String ¶
func (x *SetNodeBlockRequest) String() string
func (*SetNodeBlockRequest) Validate ¶
func (this *SetNodeBlockRequest) Validate() error
type SetNodeBlockResponse ¶
type SetNodeBlockResponse struct {
// contains filtered or unexported fields
}
func (*SetNodeBlockResponse) Descriptor
deprecated
func (*SetNodeBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetNodeBlockResponse.ProtoReflect.Descriptor instead.
func (*SetNodeBlockResponse) ProtoMessage ¶
func (*SetNodeBlockResponse) ProtoMessage()
func (*SetNodeBlockResponse) ProtoReflect ¶
func (x *SetNodeBlockResponse) ProtoReflect() protoreflect.Message
func (*SetNodeBlockResponse) Reset ¶
func (x *SetNodeBlockResponse) Reset()
func (*SetNodeBlockResponse) String ¶
func (x *SetNodeBlockResponse) String() string
func (*SetNodeBlockResponse) Validate ¶
func (this *SetNodeBlockResponse) Validate() error
type SetNodeInfoRequest ¶
type SetNodeInfoRequest struct { Action string `protobuf:"bytes,1,opt,name=Action,proto3" json:"Action,omitempty"` SetNodeKey *SetNodeKeyRequest `protobuf:"bytes,2,opt,name=SetNodeKey,proto3" json:"SetNodeKey,omitempty"` SetBlock *SetNodeBlockRequest `protobuf:"bytes,3,opt,name=SetBlock,proto3" json:"SetBlock,omitempty"` // contains filtered or unexported fields }
func (*SetNodeInfoRequest) Descriptor
deprecated
func (*SetNodeInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetNodeInfoRequest.ProtoReflect.Descriptor instead.
func (*SetNodeInfoRequest) GetAction ¶
func (x *SetNodeInfoRequest) GetAction() string
func (*SetNodeInfoRequest) GetSetBlock ¶
func (x *SetNodeInfoRequest) GetSetBlock() *SetNodeBlockRequest
func (*SetNodeInfoRequest) GetSetNodeKey ¶
func (x *SetNodeInfoRequest) GetSetNodeKey() *SetNodeKeyRequest
func (*SetNodeInfoRequest) ProtoMessage ¶
func (*SetNodeInfoRequest) ProtoMessage()
func (*SetNodeInfoRequest) ProtoReflect ¶
func (x *SetNodeInfoRequest) ProtoReflect() protoreflect.Message
func (*SetNodeInfoRequest) Reset ¶
func (x *SetNodeInfoRequest) Reset()
func (*SetNodeInfoRequest) String ¶
func (x *SetNodeInfoRequest) String() string
func (*SetNodeInfoRequest) Validate ¶
func (this *SetNodeInfoRequest) Validate() error
type SetNodeInfoResponse ¶
type SetNodeInfoResponse struct { ErrorText string `protobuf:"bytes,1,opt,name=ErrorText,proto3" json:"ErrorText,omitempty"` SetNodeKey *SetNodeKeyResponse `protobuf:"bytes,2,opt,name=SetNodeKey,proto3" json:"SetNodeKey,omitempty"` SetBlock *SetNodeBlockResponse `protobuf:"bytes,3,opt,name=SetBlock,proto3" json:"SetBlock,omitempty"` // contains filtered or unexported fields }
func (*SetNodeInfoResponse) Descriptor
deprecated
func (*SetNodeInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetNodeInfoResponse.ProtoReflect.Descriptor instead.
func (*SetNodeInfoResponse) GetErrorText ¶
func (x *SetNodeInfoResponse) GetErrorText() string
func (*SetNodeInfoResponse) GetSetBlock ¶
func (x *SetNodeInfoResponse) GetSetBlock() *SetNodeBlockResponse
func (*SetNodeInfoResponse) GetSetNodeKey ¶
func (x *SetNodeInfoResponse) GetSetNodeKey() *SetNodeKeyResponse
func (*SetNodeInfoResponse) ProtoMessage ¶
func (*SetNodeInfoResponse) ProtoMessage()
func (*SetNodeInfoResponse) ProtoReflect ¶
func (x *SetNodeInfoResponse) ProtoReflect() protoreflect.Message
func (*SetNodeInfoResponse) Reset ¶
func (x *SetNodeInfoResponse) Reset()
func (*SetNodeInfoResponse) String ¶
func (x *SetNodeInfoResponse) String() string
func (*SetNodeInfoResponse) Validate ¶
func (this *SetNodeInfoResponse) Validate() error
type SetNodeKeyRequest ¶
type SetNodeKeyRequest struct { NodeKey *NodeKey `protobuf:"bytes,1,opt,name=NodeKey,proto3" json:"NodeKey,omitempty"` // contains filtered or unexported fields }
func (*SetNodeKeyRequest) Descriptor
deprecated
func (*SetNodeKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetNodeKeyRequest.ProtoReflect.Descriptor instead.
func (*SetNodeKeyRequest) GetNodeKey ¶
func (x *SetNodeKeyRequest) GetNodeKey() *NodeKey
func (*SetNodeKeyRequest) ProtoMessage ¶
func (*SetNodeKeyRequest) ProtoMessage()
func (*SetNodeKeyRequest) ProtoReflect ¶
func (x *SetNodeKeyRequest) ProtoReflect() protoreflect.Message
func (*SetNodeKeyRequest) Reset ¶
func (x *SetNodeKeyRequest) Reset()
func (*SetNodeKeyRequest) String ¶
func (x *SetNodeKeyRequest) String() string
func (*SetNodeKeyRequest) Validate ¶
func (this *SetNodeKeyRequest) Validate() error
type SetNodeKeyResponse ¶
type SetNodeKeyResponse struct {
// contains filtered or unexported fields
}
func (*SetNodeKeyResponse) Descriptor
deprecated
func (*SetNodeKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetNodeKeyResponse.ProtoReflect.Descriptor instead.
func (*SetNodeKeyResponse) ProtoMessage ¶
func (*SetNodeKeyResponse) ProtoMessage()
func (*SetNodeKeyResponse) ProtoReflect ¶
func (x *SetNodeKeyResponse) ProtoReflect() protoreflect.Message
func (*SetNodeKeyResponse) Reset ¶
func (x *SetNodeKeyResponse) Reset()
func (*SetNodeKeyResponse) String ¶
func (x *SetNodeKeyResponse) String() string
func (*SetNodeKeyResponse) Validate ¶
func (this *SetNodeKeyResponse) Validate() error
type UnimplementedNodeKeyManagerServer ¶
type UnimplementedNodeKeyManagerServer struct { }
UnimplementedNodeKeyManagerServer must be embedded to have forward compatible implementations.
func (UnimplementedNodeKeyManagerServer) CopyNodeInfo ¶
func (UnimplementedNodeKeyManagerServer) CopyNodeInfo(context.Context, *CopyNodeInfoRequest) (*CopyNodeInfoResponse, error)
func (UnimplementedNodeKeyManagerServer) DeleteNode ¶
func (UnimplementedNodeKeyManagerServer) DeleteNode(context.Context, *DeleteNodeRequest) (*DeleteNodeResponse, error)
func (UnimplementedNodeKeyManagerServer) DeleteNodeKey ¶
func (UnimplementedNodeKeyManagerServer) DeleteNodeKey(context.Context, *DeleteNodeKeyRequest) (*DeleteNodeKeyResponse, error)
func (UnimplementedNodeKeyManagerServer) DeleteNodeSharedKey ¶
func (UnimplementedNodeKeyManagerServer) DeleteNodeSharedKey(context.Context, *DeleteNodeSharedKeyRequest) (*DeleteNodeSharedKeyResponse, error)
func (UnimplementedNodeKeyManagerServer) GetNodeInfo ¶
func (UnimplementedNodeKeyManagerServer) GetNodeInfo(context.Context, *GetNodeInfoRequest) (*GetNodeInfoResponse, error)
func (UnimplementedNodeKeyManagerServer) GetNodePlainSize ¶
func (UnimplementedNodeKeyManagerServer) GetNodePlainSize(context.Context, *GetNodePlainSizeRequest) (*GetNodePlainSizeResponse, error)
func (UnimplementedNodeKeyManagerServer) SetNodeInfo ¶
func (UnimplementedNodeKeyManagerServer) SetNodeInfo(NodeKeyManager_SetNodeInfoServer) error
type UnimplementedUserKeyStoreServer ¶
type UnimplementedUserKeyStoreServer struct { }
UnimplementedUserKeyStoreServer must be embedded to have forward compatible implementations.
func (UnimplementedUserKeyStoreServer) AddKey ¶
func (UnimplementedUserKeyStoreServer) AddKey(context.Context, *AddKeyRequest) (*AddKeyResponse, error)
func (UnimplementedUserKeyStoreServer) AdminCreateKey ¶
func (UnimplementedUserKeyStoreServer) AdminCreateKey(context.Context, *AdminCreateKeyRequest) (*AdminCreateKeyResponse, error)
func (UnimplementedUserKeyStoreServer) AdminDeleteKey ¶
func (UnimplementedUserKeyStoreServer) AdminDeleteKey(context.Context, *AdminDeleteKeyRequest) (*AdminDeleteKeyResponse, error)
func (UnimplementedUserKeyStoreServer) AdminExportKey ¶
func (UnimplementedUserKeyStoreServer) AdminExportKey(context.Context, *AdminExportKeyRequest) (*AdminExportKeyResponse, error)
func (UnimplementedUserKeyStoreServer) AdminImportKey ¶
func (UnimplementedUserKeyStoreServer) AdminImportKey(context.Context, *AdminImportKeyRequest) (*AdminImportKeyResponse, error)
func (UnimplementedUserKeyStoreServer) AdminListKeys ¶
func (UnimplementedUserKeyStoreServer) AdminListKeys(context.Context, *AdminListKeysRequest) (*AdminListKeysResponse, error)
func (UnimplementedUserKeyStoreServer) GetKey ¶
func (UnimplementedUserKeyStoreServer) GetKey(context.Context, *GetKeyRequest) (*GetKeyResponse, error)
type UnsafeNodeKeyManagerServer ¶
type UnsafeNodeKeyManagerServer interface {
// contains filtered or unexported methods
}
UnsafeNodeKeyManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NodeKeyManagerServer will result in compilation errors.
type UnsafeUserKeyStoreServer ¶
type UnsafeUserKeyStoreServer interface {
// contains filtered or unexported methods
}
UnsafeUserKeyStoreServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserKeyStoreServer will result in compilation errors.
type UserKeyStoreClient ¶
type UserKeyStoreClient interface { AddKey(ctx context.Context, in *AddKeyRequest, opts ...grpc.CallOption) (*AddKeyResponse, error) GetKey(ctx context.Context, in *GetKeyRequest, opts ...grpc.CallOption) (*GetKeyResponse, error) AdminListKeys(ctx context.Context, in *AdminListKeysRequest, opts ...grpc.CallOption) (*AdminListKeysResponse, error) AdminCreateKey(ctx context.Context, in *AdminCreateKeyRequest, opts ...grpc.CallOption) (*AdminCreateKeyResponse, error) AdminDeleteKey(ctx context.Context, in *AdminDeleteKeyRequest, opts ...grpc.CallOption) (*AdminDeleteKeyResponse, error) AdminExportKey(ctx context.Context, in *AdminExportKeyRequest, opts ...grpc.CallOption) (*AdminExportKeyResponse, error) AdminImportKey(ctx context.Context, in *AdminImportKeyRequest, opts ...grpc.CallOption) (*AdminImportKeyResponse, error) }
UserKeyStoreClient is the client API for UserKeyStore 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.
func NewUserKeyStoreClient ¶
func NewUserKeyStoreClient(cc grpc.ClientConnInterface) UserKeyStoreClient
type UserKeyStoreEnhancedServer ¶
type UserKeyStoreEnhancedServer map[string]NamedUserKeyStoreServer
func (UserKeyStoreEnhancedServer) AddKey ¶
func (m UserKeyStoreEnhancedServer) AddKey(ctx context.Context, r *AddKeyRequest) (*AddKeyResponse, error)
func (UserKeyStoreEnhancedServer) AdminCreateKey ¶
func (m UserKeyStoreEnhancedServer) AdminCreateKey(ctx context.Context, r *AdminCreateKeyRequest) (*AdminCreateKeyResponse, error)
func (UserKeyStoreEnhancedServer) AdminDeleteKey ¶
func (m UserKeyStoreEnhancedServer) AdminDeleteKey(ctx context.Context, r *AdminDeleteKeyRequest) (*AdminDeleteKeyResponse, error)
func (UserKeyStoreEnhancedServer) AdminExportKey ¶
func (m UserKeyStoreEnhancedServer) AdminExportKey(ctx context.Context, r *AdminExportKeyRequest) (*AdminExportKeyResponse, error)
func (UserKeyStoreEnhancedServer) AdminImportKey ¶
func (m UserKeyStoreEnhancedServer) AdminImportKey(ctx context.Context, r *AdminImportKeyRequest) (*AdminImportKeyResponse, error)
func (UserKeyStoreEnhancedServer) AdminListKeys ¶
func (m UserKeyStoreEnhancedServer) AdminListKeys(ctx context.Context, r *AdminListKeysRequest) (*AdminListKeysResponse, error)
func (UserKeyStoreEnhancedServer) GetKey ¶
func (m UserKeyStoreEnhancedServer) GetKey(ctx context.Context, r *GetKeyRequest) (*GetKeyResponse, error)
type UserKeyStoreServer ¶
type UserKeyStoreServer interface { AddKey(context.Context, *AddKeyRequest) (*AddKeyResponse, error) GetKey(context.Context, *GetKeyRequest) (*GetKeyResponse, error) AdminListKeys(context.Context, *AdminListKeysRequest) (*AdminListKeysResponse, error) AdminCreateKey(context.Context, *AdminCreateKeyRequest) (*AdminCreateKeyResponse, error) AdminDeleteKey(context.Context, *AdminDeleteKeyRequest) (*AdminDeleteKeyResponse, error) AdminExportKey(context.Context, *AdminExportKeyRequest) (*AdminExportKeyResponse, error) AdminImportKey(context.Context, *AdminImportKeyRequest) (*AdminImportKeyResponse, error) // contains filtered or unexported methods }
UserKeyStoreServer is the server API for UserKeyStore service. All implementations must embed UnimplementedUserKeyStoreServer for forward compatibility