Documentation ¶
Index ¶
- Variables
- func RegisterDataSubjectsServiceServer(s grpc.ServiceRegistrar, srv DataSubjectsServiceServer)
- func RegisterRtbfServiceServer(s grpc.ServiceRegistrar, srv RtbfServiceServer)
- type AddKeyLinkRequest
- func (*AddKeyLinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddKeyLinkRequest) GetKeyLink() []*KeyLinks
- func (*AddKeyLinkRequest) ProtoMessage()
- func (x *AddKeyLinkRequest) ProtoReflect() protoreflect.Message
- func (x *AddKeyLinkRequest) Reset()
- func (x *AddKeyLinkRequest) String() string
- type AddKeyLinkResponse
- type DataSubjectsServiceClient
- type DataSubjectsServiceServer
- type DeleteDataSubjectsRequest
- func (*DeleteDataSubjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDataSubjectsRequest) GetDataSubjects() []string
- func (*DeleteDataSubjectsRequest) ProtoMessage()
- func (x *DeleteDataSubjectsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDataSubjectsRequest) Reset()
- func (x *DeleteDataSubjectsRequest) String() string
- type DeleteDataSubjectsResponse
- func (*DeleteDataSubjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDataSubjectsResponse) GetDataSubjects() []string
- func (*DeleteDataSubjectsResponse) ProtoMessage()
- func (x *DeleteDataSubjectsResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteDataSubjectsResponse) Reset()
- func (x *DeleteDataSubjectsResponse) String() string
- type GetKeyLinksRequest
- func (*GetKeyLinksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetKeyLinksRequest) GetDataOwnerId() []string
- func (*GetKeyLinksRequest) ProtoMessage()
- func (x *GetKeyLinksRequest) ProtoReflect() protoreflect.Message
- func (x *GetKeyLinksRequest) Reset()
- func (x *GetKeyLinksRequest) String() string
- type GetKeyLinksResponse
- func (*GetKeyLinksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetKeyLinksResponse) GetKeyLinks() []*KeyLinks
- func (*GetKeyLinksResponse) ProtoMessage()
- func (x *GetKeyLinksResponse) ProtoReflect() protoreflect.Message
- func (x *GetKeyLinksResponse) Reset()
- func (x *GetKeyLinksResponse) String() string
- type KeyLinks
- func (*KeyLinks) Descriptor() ([]byte, []int)deprecated
- func (x *KeyLinks) GetDataOwner() string
- func (x *KeyLinks) GetKeysAndTimestamps() []*KeyLinks_KeysAndTimestamps
- func (*KeyLinks) ProtoMessage()
- func (x *KeyLinks) ProtoReflect() protoreflect.Message
- func (x *KeyLinks) Reset()
- func (x *KeyLinks) String() string
- type KeyLinks_KeysAndTimestamps
- func (*KeyLinks_KeysAndTimestamps) Descriptor() ([]byte, []int)deprecated
- func (x *KeyLinks_KeysAndTimestamps) GetExpiryTime() *timestamppb.Timestamp
- func (x *KeyLinks_KeysAndTimestamps) GetKeyLink() string
- func (*KeyLinks_KeysAndTimestamps) ProtoMessage()
- func (x *KeyLinks_KeysAndTimestamps) ProtoReflect() protoreflect.Message
- func (x *KeyLinks_KeysAndTimestamps) Reset()
- func (x *KeyLinks_KeysAndTimestamps) String() string
- type RtbfServiceClient
- type RtbfServiceServer
- type UnimplementedDataSubjectsServiceServer
- func (UnimplementedDataSubjectsServiceServer) AddKeyLink(context.Context, *AddKeyLinkRequest) (*AddKeyLinkResponse, error)
- func (UnimplementedDataSubjectsServiceServer) DeleteDataSubjects(context.Context, *DeleteDataSubjectsRequest) (*DeleteDataSubjectsResponse, error)
- func (UnimplementedDataSubjectsServiceServer) GetKeyLinks(context.Context, *GetKeyLinksRequest) (*GetKeyLinksResponse, error)
- type UnimplementedRtbfServiceServer
- type UnsafeDataSubjectsServiceServer
- type UnsafeRtbfServiceServer
Constants ¶
This section is empty.
Variables ¶
var DataSubjectsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "strmprivacy.api.data_subjects.v1.DataSubjectsService", HandlerType: (*DataSubjectsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetKeyLinks", Handler: _DataSubjectsService_GetKeyLinks_Handler, }, { MethodName: "AddKeyLink", Handler: _DataSubjectsService_AddKeyLink_Handler, }, { MethodName: "DeleteDataSubjects", Handler: _DataSubjectsService_DeleteDataSubjects_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "strmprivacy/api/data_subjects/v1/data_subjects_v1.proto", }
DataSubjectsService_ServiceDesc is the grpc.ServiceDesc for DataSubjectsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_strmprivacy_api_data_subjects_v1_data_subjects_v1_proto protoreflect.FileDescriptor
var File_strmprivacy_api_rtbf_v1_rtbf_v1_proto protoreflect.FileDescriptor
var RtbfService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "strmprivacy.api.rtbf.v1.RtbfService", HandlerType: (*RtbfServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetKeyLinks", Handler: _RtbfService_GetKeyLinks_Handler, }, { MethodName: "AddKeyLink", Handler: _RtbfService_AddKeyLink_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "strmprivacy/api/rtbf/v1/rtbf_v1.proto", }
RtbfService_ServiceDesc is the grpc.ServiceDesc for RtbfService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterDataSubjectsServiceServer ¶ added in v2.44.0
func RegisterDataSubjectsServiceServer(s grpc.ServiceRegistrar, srv DataSubjectsServiceServer)
func RegisterRtbfServiceServer ¶
func RegisterRtbfServiceServer(s grpc.ServiceRegistrar, srv RtbfServiceServer)
Types ¶
type AddKeyLinkRequest ¶ added in v2.44.0
type AddKeyLinkRequest struct { KeyLink *KeyLinks `protobuf:"bytes,1,opt,name=key_link,json=keyLink,proto3" json:"key_link,omitempty"` // contains filtered or unexported fields }
* called by an entity that can create key link(s) typically (but not necessarily) only one key link is added at the same time.
func (*AddKeyLinkRequest) Descriptor
deprecated
added in
v2.44.0
func (*AddKeyLinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddKeyLinkRequest.ProtoReflect.Descriptor instead.
func (*AddKeyLinkRequest) GetKeyLink ¶ added in v2.44.0
func (x *AddKeyLinkRequest) GetKeyLink() []*KeyLinks
func (*AddKeyLinkRequest) ProtoMessage ¶ added in v2.44.0
func (*AddKeyLinkRequest) ProtoMessage()
func (*AddKeyLinkRequest) ProtoReflect ¶ added in v2.44.0
func (x *AddKeyLinkRequest) ProtoReflect() protoreflect.Message
type AddKeyLinkResponse ¶ added in v2.44.0
type AddKeyLinkResponse struct {
// contains filtered or unexported fields
}
func (*AddKeyLinkResponse) Descriptor
deprecated
added in
v2.44.0
func (*AddKeyLinkResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddKeyLinkResponse.ProtoReflect.Descriptor instead.
func (*AddKeyLinkResponse) ProtoMessage ¶ added in v2.44.0
func (*AddKeyLinkResponse) ProtoMessage()
func (*AddKeyLinkResponse) ProtoReflect ¶ added in v2.44.0
func (x *AddKeyLinkResponse) ProtoReflect() protoreflect.Message
type DataSubjectsServiceClient ¶ added in v2.44.0
type DataSubjectsServiceClient interface { GetKeyLinks(ctx context.Context, in *GetKeyLinksRequest, opts ...grpc.CallOption) (*GetKeyLinksResponse, error) AddKeyLink(ctx context.Context, in *AddKeyLinkRequest, opts ...grpc.CallOption) (*AddKeyLinkResponse, error) DeleteDataSubjects(ctx context.Context, in *DeleteDataSubjectsRequest, opts ...grpc.CallOption) (*DeleteDataSubjectsResponse, error) }
DataSubjectsServiceClient is the client API for DataSubjectsService 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 NewDataSubjectsServiceClient ¶ added in v2.44.0
func NewDataSubjectsServiceClient(cc grpc.ClientConnInterface) DataSubjectsServiceClient
type DataSubjectsServiceServer ¶ added in v2.44.0
type DataSubjectsServiceServer interface { GetKeyLinks(context.Context, *GetKeyLinksRequest) (*GetKeyLinksResponse, error) AddKeyLink(context.Context, *AddKeyLinkRequest) (*AddKeyLinkResponse, error) DeleteDataSubjects(context.Context, *DeleteDataSubjectsRequest) (*DeleteDataSubjectsResponse, error) // contains filtered or unexported methods }
DataSubjectsServiceServer is the server API for DataSubjectsService service. All implementations must embed UnimplementedDataSubjectsServiceServer for forward compatibility
type DeleteDataSubjectsRequest ¶ added in v2.44.0
type DeleteDataSubjectsRequest struct { DataSubjects []string `protobuf:"bytes,1,rep,name=data_subjects,json=dataSubjects,proto3" json:"data_subjects,omitempty"` // contains filtered or unexported fields }
* remove data-subjects from database
func (*DeleteDataSubjectsRequest) Descriptor
deprecated
added in
v2.44.0
func (*DeleteDataSubjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDataSubjectsRequest.ProtoReflect.Descriptor instead.
func (*DeleteDataSubjectsRequest) GetDataSubjects ¶ added in v2.44.0
func (x *DeleteDataSubjectsRequest) GetDataSubjects() []string
func (*DeleteDataSubjectsRequest) ProtoMessage ¶ added in v2.44.0
func (*DeleteDataSubjectsRequest) ProtoMessage()
func (*DeleteDataSubjectsRequest) ProtoReflect ¶ added in v2.44.0
func (x *DeleteDataSubjectsRequest) ProtoReflect() protoreflect.Message
func (*DeleteDataSubjectsRequest) Reset ¶ added in v2.44.0
func (x *DeleteDataSubjectsRequest) Reset()
func (*DeleteDataSubjectsRequest) String ¶ added in v2.44.0
func (x *DeleteDataSubjectsRequest) String() string
type DeleteDataSubjectsResponse ¶ added in v2.44.0
type DeleteDataSubjectsResponse struct { DataSubjects []string `protobuf:"bytes,1,rep,name=data_subjects,json=dataSubjects,proto3" json:"data_subjects,omitempty"` // contains filtered or unexported fields }
* removed data-subjects
func (*DeleteDataSubjectsResponse) Descriptor
deprecated
added in
v2.44.0
func (*DeleteDataSubjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDataSubjectsResponse.ProtoReflect.Descriptor instead.
func (*DeleteDataSubjectsResponse) GetDataSubjects ¶ added in v2.44.0
func (x *DeleteDataSubjectsResponse) GetDataSubjects() []string
func (*DeleteDataSubjectsResponse) ProtoMessage ¶ added in v2.44.0
func (*DeleteDataSubjectsResponse) ProtoMessage()
func (*DeleteDataSubjectsResponse) ProtoReflect ¶ added in v2.44.0
func (x *DeleteDataSubjectsResponse) ProtoReflect() protoreflect.Message
func (*DeleteDataSubjectsResponse) Reset ¶ added in v2.44.0
func (x *DeleteDataSubjectsResponse) Reset()
func (*DeleteDataSubjectsResponse) String ¶ added in v2.44.0
func (x *DeleteDataSubjectsResponse) String() string
type GetKeyLinksRequest ¶
type GetKeyLinksRequest struct { DataOwnerId []string `protobuf:"bytes,1,rep,name=data_owner_id,json=dataOwnerId,proto3" json:"data_owner_id,omitempty"` // contains filtered or unexported fields }
* Retrieve all key links associated with certain data owner(s)
func (*GetKeyLinksRequest) Descriptor
deprecated
func (*GetKeyLinksRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetKeyLinksRequest.ProtoReflect.Descriptor instead.
func (*GetKeyLinksRequest) GetDataOwnerId ¶ added in v2.44.0
func (x *GetKeyLinksRequest) GetDataOwnerId() []string
func (*GetKeyLinksRequest) ProtoMessage ¶
func (*GetKeyLinksRequest) ProtoMessage()
func (*GetKeyLinksRequest) ProtoReflect ¶
func (x *GetKeyLinksRequest) ProtoReflect() protoreflect.Message
type GetKeyLinksResponse ¶
type GetKeyLinksResponse struct { KeyLinks []*KeyLinks `protobuf:"bytes,1,rep,name=key_links,json=keyLinks,proto3" json:"key_links,omitempty"` // contains filtered or unexported fields }
* returns a list of data owners with their associated key links and their expiry.
func (*GetKeyLinksResponse) Descriptor
deprecated
func (*GetKeyLinksResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetKeyLinksResponse.ProtoReflect.Descriptor instead.
func (*GetKeyLinksResponse) GetKeyLinks ¶
func (x *GetKeyLinksResponse) GetKeyLinks() []*KeyLinks
func (*GetKeyLinksResponse) ProtoMessage ¶
func (*GetKeyLinksResponse) ProtoMessage()
func (*GetKeyLinksResponse) ProtoReflect ¶
func (x *GetKeyLinksResponse) ProtoReflect() protoreflect.Message
type KeyLinks ¶ added in v2.44.0
type KeyLinks struct { DataOwner string `protobuf:"bytes,1,opt,name=data_owner,json=dataOwner,proto3" json:"data_owner,omitempty"` KeysAndTimestamps []*KeyLinks_KeysAndTimestamps `protobuf:"bytes,2,rep,name=keys_and_timestamps,json=keysAndTimestamps,proto3" json:"keys_and_timestamps,omitempty"` // contains filtered or unexported fields }
* one data owner 0 or more key links, each of which could have been used to encrypt data up to a certain point in time.
func (*KeyLinks) Descriptor
deprecated
added in
v2.44.0
func (*KeyLinks) GetDataOwner ¶ added in v2.44.0
func (x *KeyLinks) GetDataOwner() string
func (*KeyLinks) GetKeysAndTimestamps ¶ added in v2.44.0
func (x *KeyLinks) GetKeysAndTimestamps() []*KeyLinks_KeysAndTimestamps
func (*KeyLinks) ProtoMessage ¶ added in v2.44.0
func (*KeyLinks) ProtoMessage()
func (*KeyLinks) ProtoReflect ¶ added in v2.44.0
func (x *KeyLinks) ProtoReflect() protoreflect.Message
type KeyLinks_KeysAndTimestamps ¶ added in v2.44.0
type KeyLinks_KeysAndTimestamps struct { KeyLink string `protobuf:"bytes,1,opt,name=key_link,json=keyLink,proto3" json:"key_link,omitempty"` ExpiryTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"` // contains filtered or unexported fields }
func (*KeyLinks_KeysAndTimestamps) Descriptor
deprecated
added in
v2.44.0
func (*KeyLinks_KeysAndTimestamps) Descriptor() ([]byte, []int)
Deprecated: Use KeyLinks_KeysAndTimestamps.ProtoReflect.Descriptor instead.
func (*KeyLinks_KeysAndTimestamps) GetExpiryTime ¶ added in v2.44.0
func (x *KeyLinks_KeysAndTimestamps) GetExpiryTime() *timestamppb.Timestamp
func (*KeyLinks_KeysAndTimestamps) GetKeyLink ¶ added in v2.44.0
func (x *KeyLinks_KeysAndTimestamps) GetKeyLink() string
func (*KeyLinks_KeysAndTimestamps) ProtoMessage ¶ added in v2.44.0
func (*KeyLinks_KeysAndTimestamps) ProtoMessage()
func (*KeyLinks_KeysAndTimestamps) ProtoReflect ¶ added in v2.44.0
func (x *KeyLinks_KeysAndTimestamps) ProtoReflect() protoreflect.Message
type RtbfServiceClient ¶
type RtbfServiceClient interface { GetKeyLinks(ctx context.Context, in *GetKeyLinksRequest, opts ...grpc.CallOption) (*GetKeyLinksResponse, error) AddKeyLink(ctx context.Context, in *AddKeyLinkRequest, opts ...grpc.CallOption) (*AddKeyLinkResponse, error) }
RtbfServiceClient is the client API for RtbfService 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 NewRtbfServiceClient ¶
func NewRtbfServiceClient(cc grpc.ClientConnInterface) RtbfServiceClient
type RtbfServiceServer ¶
type RtbfServiceServer interface { GetKeyLinks(context.Context, *GetKeyLinksRequest) (*GetKeyLinksResponse, error) AddKeyLink(context.Context, *AddKeyLinkRequest) (*AddKeyLinkResponse, error) // contains filtered or unexported methods }
RtbfServiceServer is the server API for RtbfService service. All implementations must embed UnimplementedRtbfServiceServer for forward compatibility
type UnimplementedDataSubjectsServiceServer ¶ added in v2.44.0
type UnimplementedDataSubjectsServiceServer struct { }
UnimplementedDataSubjectsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedDataSubjectsServiceServer) AddKeyLink ¶ added in v2.44.0
func (UnimplementedDataSubjectsServiceServer) AddKeyLink(context.Context, *AddKeyLinkRequest) (*AddKeyLinkResponse, error)
func (UnimplementedDataSubjectsServiceServer) DeleteDataSubjects ¶ added in v2.44.0
func (UnimplementedDataSubjectsServiceServer) DeleteDataSubjects(context.Context, *DeleteDataSubjectsRequest) (*DeleteDataSubjectsResponse, error)
func (UnimplementedDataSubjectsServiceServer) GetKeyLinks ¶ added in v2.44.0
func (UnimplementedDataSubjectsServiceServer) GetKeyLinks(context.Context, *GetKeyLinksRequest) (*GetKeyLinksResponse, error)
type UnimplementedRtbfServiceServer ¶
type UnimplementedRtbfServiceServer struct { }
UnimplementedRtbfServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedRtbfServiceServer) AddKeyLink ¶ added in v2.44.0
func (UnimplementedRtbfServiceServer) AddKeyLink(context.Context, *AddKeyLinkRequest) (*AddKeyLinkResponse, error)
func (UnimplementedRtbfServiceServer) GetKeyLinks ¶
func (UnimplementedRtbfServiceServer) GetKeyLinks(context.Context, *GetKeyLinksRequest) (*GetKeyLinksResponse, error)
type UnsafeDataSubjectsServiceServer ¶ added in v2.44.0
type UnsafeDataSubjectsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDataSubjectsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DataSubjectsServiceServer will result in compilation errors.
type UnsafeRtbfServiceServer ¶
type UnsafeRtbfServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRtbfServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RtbfServiceServer will result in compilation errors.