Documentation ¶
Index ¶
- type MPCKeyServiceClient
- func (_m *MPCKeyServiceClient) AddDevice(ctx context.Context, in *v1.AddDeviceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
- func (_m *MPCKeyServiceClient) CreateDeviceGroup(ctx context.Context, in *v1.CreateDeviceGroupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
- func (_m *MPCKeyServiceClient) CreateMPCKey(ctx context.Context, in *v1.CreateMPCKeyRequest, opts ...grpc.CallOption) (*v1.MPCKey, error)
- func (_m *MPCKeyServiceClient) CreateSignature(ctx context.Context, in *v1.CreateSignatureRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
- func (_m *MPCKeyServiceClient) GetDevice(ctx context.Context, in *v1.GetDeviceRequest, opts ...grpc.CallOption) (*v1.Device, error)
- func (_m *MPCKeyServiceClient) GetDeviceGroup(ctx context.Context, in *v1.GetDeviceGroupRequest, opts ...grpc.CallOption) (*v1.DeviceGroup, error)
- func (_m *MPCKeyServiceClient) GetMPCKey(ctx context.Context, in *v1.GetMPCKeyRequest, opts ...grpc.CallOption) (*v1.MPCKey, error)
- func (_m *MPCKeyServiceClient) ListMPCOperations(ctx context.Context, in *v1.ListMPCOperationsRequest, opts ...grpc.CallOption) (*v1.ListMPCOperationsResponse, error)
- func (_m *MPCKeyServiceClient) PrepareDeviceArchive(ctx context.Context, in *v1.PrepareDeviceArchiveRequest, ...) (*longrunningpb.Operation, error)
- func (_m *MPCKeyServiceClient) PrepareDeviceBackup(ctx context.Context, in *v1.PrepareDeviceBackupRequest, ...) (*longrunningpb.Operation, error)
- func (_m *MPCKeyServiceClient) RegisterDevice(ctx context.Context, in *v1.RegisterDeviceRequest, opts ...grpc.CallOption) (*v1.Device, error)
- func (_m *MPCKeyServiceClient) RevokeDevice(ctx context.Context, in *v1.RevokeDeviceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- type MPCKeyServiceServer
- func (_m *MPCKeyServiceServer) AddDevice(_a0 context.Context, _a1 *v1.AddDeviceRequest) (*longrunningpb.Operation, error)
- func (_m *MPCKeyServiceServer) CreateDeviceGroup(_a0 context.Context, _a1 *v1.CreateDeviceGroupRequest) (*longrunningpb.Operation, error)
- func (_m *MPCKeyServiceServer) CreateMPCKey(_a0 context.Context, _a1 *v1.CreateMPCKeyRequest) (*v1.MPCKey, error)
- func (_m *MPCKeyServiceServer) CreateSignature(_a0 context.Context, _a1 *v1.CreateSignatureRequest) (*longrunningpb.Operation, error)
- func (_m *MPCKeyServiceServer) GetDevice(_a0 context.Context, _a1 *v1.GetDeviceRequest) (*v1.Device, error)
- func (_m *MPCKeyServiceServer) GetDeviceGroup(_a0 context.Context, _a1 *v1.GetDeviceGroupRequest) (*v1.DeviceGroup, error)
- func (_m *MPCKeyServiceServer) GetMPCKey(_a0 context.Context, _a1 *v1.GetMPCKeyRequest) (*v1.MPCKey, error)
- func (_m *MPCKeyServiceServer) ListMPCOperations(_a0 context.Context, _a1 *v1.ListMPCOperationsRequest) (*v1.ListMPCOperationsResponse, error)
- func (_m *MPCKeyServiceServer) PrepareDeviceArchive(_a0 context.Context, _a1 *v1.PrepareDeviceArchiveRequest) (*longrunningpb.Operation, error)
- func (_m *MPCKeyServiceServer) PrepareDeviceBackup(_a0 context.Context, _a1 *v1.PrepareDeviceBackupRequest) (*longrunningpb.Operation, error)
- func (_m *MPCKeyServiceServer) RegisterDevice(_a0 context.Context, _a1 *v1.RegisterDeviceRequest) (*v1.Device, error)
- func (_m *MPCKeyServiceServer) RevokeDevice(_a0 context.Context, _a1 *v1.RevokeDeviceRequest) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MPCKeyServiceClient ¶
MPCKeyServiceClient is an autogenerated mock type for the MPCKeyServiceClient type
func NewMPCKeyServiceClient ¶
func NewMPCKeyServiceClient(t interface { mock.TestingT Cleanup(func()) }) *MPCKeyServiceClient
NewMPCKeyServiceClient creates a new instance of MPCKeyServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MPCKeyServiceClient) AddDevice ¶
func (_m *MPCKeyServiceClient) AddDevice(ctx context.Context, in *v1.AddDeviceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
AddDevice provides a mock function with given fields: ctx, in, opts
func (*MPCKeyServiceClient) CreateDeviceGroup ¶
func (_m *MPCKeyServiceClient) CreateDeviceGroup(ctx context.Context, in *v1.CreateDeviceGroupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
CreateDeviceGroup provides a mock function with given fields: ctx, in, opts
func (*MPCKeyServiceClient) CreateMPCKey ¶
func (_m *MPCKeyServiceClient) CreateMPCKey(ctx context.Context, in *v1.CreateMPCKeyRequest, opts ...grpc.CallOption) (*v1.MPCKey, error)
CreateMPCKey provides a mock function with given fields: ctx, in, opts
func (*MPCKeyServiceClient) CreateSignature ¶
func (_m *MPCKeyServiceClient) CreateSignature(ctx context.Context, in *v1.CreateSignatureRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
CreateSignature provides a mock function with given fields: ctx, in, opts
func (*MPCKeyServiceClient) GetDevice ¶
func (_m *MPCKeyServiceClient) GetDevice(ctx context.Context, in *v1.GetDeviceRequest, opts ...grpc.CallOption) (*v1.Device, error)
GetDevice provides a mock function with given fields: ctx, in, opts
func (*MPCKeyServiceClient) GetDeviceGroup ¶
func (_m *MPCKeyServiceClient) GetDeviceGroup(ctx context.Context, in *v1.GetDeviceGroupRequest, opts ...grpc.CallOption) (*v1.DeviceGroup, error)
GetDeviceGroup provides a mock function with given fields: ctx, in, opts
func (*MPCKeyServiceClient) GetMPCKey ¶
func (_m *MPCKeyServiceClient) GetMPCKey(ctx context.Context, in *v1.GetMPCKeyRequest, opts ...grpc.CallOption) (*v1.MPCKey, error)
GetMPCKey provides a mock function with given fields: ctx, in, opts
func (*MPCKeyServiceClient) ListMPCOperations ¶
func (_m *MPCKeyServiceClient) ListMPCOperations(ctx context.Context, in *v1.ListMPCOperationsRequest, opts ...grpc.CallOption) (*v1.ListMPCOperationsResponse, error)
ListMPCOperations provides a mock function with given fields: ctx, in, opts
func (*MPCKeyServiceClient) PrepareDeviceArchive ¶
func (_m *MPCKeyServiceClient) PrepareDeviceArchive(ctx context.Context, in *v1.PrepareDeviceArchiveRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
PrepareDeviceArchive provides a mock function with given fields: ctx, in, opts
func (*MPCKeyServiceClient) PrepareDeviceBackup ¶
func (_m *MPCKeyServiceClient) PrepareDeviceBackup(ctx context.Context, in *v1.PrepareDeviceBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
PrepareDeviceBackup provides a mock function with given fields: ctx, in, opts
func (*MPCKeyServiceClient) RegisterDevice ¶
func (_m *MPCKeyServiceClient) RegisterDevice(ctx context.Context, in *v1.RegisterDeviceRequest, opts ...grpc.CallOption) (*v1.Device, error)
RegisterDevice provides a mock function with given fields: ctx, in, opts
func (*MPCKeyServiceClient) RevokeDevice ¶
func (_m *MPCKeyServiceClient) RevokeDevice(ctx context.Context, in *v1.RevokeDeviceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
RevokeDevice provides a mock function with given fields: ctx, in, opts
type MPCKeyServiceServer ¶
MPCKeyServiceServer is an autogenerated mock type for the MPCKeyServiceServer type
func NewMPCKeyServiceServer ¶
func NewMPCKeyServiceServer(t interface { mock.TestingT Cleanup(func()) }) *MPCKeyServiceServer
NewMPCKeyServiceServer creates a new instance of MPCKeyServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MPCKeyServiceServer) AddDevice ¶
func (_m *MPCKeyServiceServer) AddDevice(_a0 context.Context, _a1 *v1.AddDeviceRequest) (*longrunningpb.Operation, error)
AddDevice provides a mock function with given fields: _a0, _a1
func (*MPCKeyServiceServer) CreateDeviceGroup ¶
func (_m *MPCKeyServiceServer) CreateDeviceGroup(_a0 context.Context, _a1 *v1.CreateDeviceGroupRequest) (*longrunningpb.Operation, error)
CreateDeviceGroup provides a mock function with given fields: _a0, _a1
func (*MPCKeyServiceServer) CreateMPCKey ¶
func (_m *MPCKeyServiceServer) CreateMPCKey(_a0 context.Context, _a1 *v1.CreateMPCKeyRequest) (*v1.MPCKey, error)
CreateMPCKey provides a mock function with given fields: _a0, _a1
func (*MPCKeyServiceServer) CreateSignature ¶
func (_m *MPCKeyServiceServer) CreateSignature(_a0 context.Context, _a1 *v1.CreateSignatureRequest) (*longrunningpb.Operation, error)
CreateSignature provides a mock function with given fields: _a0, _a1
func (*MPCKeyServiceServer) GetDevice ¶
func (_m *MPCKeyServiceServer) GetDevice(_a0 context.Context, _a1 *v1.GetDeviceRequest) (*v1.Device, error)
GetDevice provides a mock function with given fields: _a0, _a1
func (*MPCKeyServiceServer) GetDeviceGroup ¶
func (_m *MPCKeyServiceServer) GetDeviceGroup(_a0 context.Context, _a1 *v1.GetDeviceGroupRequest) (*v1.DeviceGroup, error)
GetDeviceGroup provides a mock function with given fields: _a0, _a1
func (*MPCKeyServiceServer) GetMPCKey ¶
func (_m *MPCKeyServiceServer) GetMPCKey(_a0 context.Context, _a1 *v1.GetMPCKeyRequest) (*v1.MPCKey, error)
GetMPCKey provides a mock function with given fields: _a0, _a1
func (*MPCKeyServiceServer) ListMPCOperations ¶
func (_m *MPCKeyServiceServer) ListMPCOperations(_a0 context.Context, _a1 *v1.ListMPCOperationsRequest) (*v1.ListMPCOperationsResponse, error)
ListMPCOperations provides a mock function with given fields: _a0, _a1
func (*MPCKeyServiceServer) PrepareDeviceArchive ¶
func (_m *MPCKeyServiceServer) PrepareDeviceArchive(_a0 context.Context, _a1 *v1.PrepareDeviceArchiveRequest) (*longrunningpb.Operation, error)
PrepareDeviceArchive provides a mock function with given fields: _a0, _a1
func (*MPCKeyServiceServer) PrepareDeviceBackup ¶
func (_m *MPCKeyServiceServer) PrepareDeviceBackup(_a0 context.Context, _a1 *v1.PrepareDeviceBackupRequest) (*longrunningpb.Operation, error)
PrepareDeviceBackup provides a mock function with given fields: _a0, _a1
func (*MPCKeyServiceServer) RegisterDevice ¶
func (_m *MPCKeyServiceServer) RegisterDevice(_a0 context.Context, _a1 *v1.RegisterDeviceRequest) (*v1.Device, error)
RegisterDevice provides a mock function with given fields: _a0, _a1
func (*MPCKeyServiceServer) RevokeDevice ¶
func (_m *MPCKeyServiceServer) RevokeDevice(_a0 context.Context, _a1 *v1.RevokeDeviceRequest) (*emptypb.Empty, error)
RevokeDevice provides a mock function with given fields: _a0, _a1