Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockHookServiceClient
- func (m *MockHookServiceClient) EXPECT() *MockHookServiceClientMockRecorder
- func (m *MockHookServiceClient) GetHookByRecordId(ctx context.Context, in *services.GetHookByRecordIdRequest, ...) (*services.GetHookByRecordIdResponse, error)
- func (m *MockHookServiceClient) GetHooksForRecord(ctx context.Context, in *services.GetHooksForRecordRequest, ...) (*services.GetHooksForRecordResponse, error)
- func (m *MockHookServiceClient) NotifyHooksOfRecordEvent(ctx context.Context, in *services.NotifyHooksOfRecordEventRequest, ...) (*services.NotifyHooksOfRecordEventResponse, error)
- func (m *MockHookServiceClient) RegisterHook(ctx context.Context, in *services.RegisterHookRequest, opts ...grpc.CallOption) (*services.RegisterHookResponse, error)
- func (m *MockHookServiceClient) UpdateHook(ctx context.Context, in *services.UpdateHookRequest, opts ...grpc.CallOption) (*services.UpdateHookResponse, error)
- type MockHookServiceClientMockRecorder
- func (mr *MockHookServiceClientMockRecorder) GetHookByRecordId(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockHookServiceClientMockRecorder) GetHooksForRecord(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockHookServiceClientMockRecorder) NotifyHooksOfRecordEvent(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockHookServiceClientMockRecorder) RegisterHook(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockHookServiceClientMockRecorder) UpdateHook(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockHookServiceServer
- func (m *MockHookServiceServer) EXPECT() *MockHookServiceServerMockRecorder
- func (m *MockHookServiceServer) GetHookByRecordId(arg0 context.Context, arg1 *services.GetHookByRecordIdRequest) (*services.GetHookByRecordIdResponse, error)
- func (m *MockHookServiceServer) GetHooksForRecord(arg0 context.Context, arg1 *services.GetHooksForRecordRequest) (*services.GetHooksForRecordResponse, error)
- func (m *MockHookServiceServer) NotifyHooksOfRecordEvent(arg0 context.Context, arg1 *services.NotifyHooksOfRecordEventRequest) (*services.NotifyHooksOfRecordEventResponse, error)
- func (m *MockHookServiceServer) RegisterHook(arg0 context.Context, arg1 *services.RegisterHookRequest) (*services.RegisterHookResponse, error)
- func (m *MockHookServiceServer) UpdateHook(arg0 context.Context, arg1 *services.UpdateHookRequest) (*services.UpdateHookResponse, error)
- type MockHookServiceServerMockRecorder
- func (mr *MockHookServiceServerMockRecorder) GetHookByRecordId(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHookServiceServerMockRecorder) GetHooksForRecord(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHookServiceServerMockRecorder) NotifyHooksOfRecordEvent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHookServiceServerMockRecorder) RegisterHook(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHookServiceServerMockRecorder) UpdateHook(arg0, arg1 interface{}) *gomock.Call
- type MockHookStore
- func (m *MockHookStore) CreateHookRecord(ctx context.Context, hookRecord *storage.HookRecord, ...) error
- func (m *MockHookStore) DeleteHookRecord(ctx context.Context, hookRecordId string) error
- func (m *MockHookStore) EXPECT() *MockHookStoreMockRecorder
- func (m *MockHookStore) FindHookRecordsForDataRecord(ctx context.Context, dataRecordId string) (map[*storage.HookRecord]*storage.HookConfigurationEntry, error)
- func (m *MockHookStore) FindHookRecordsForSchemaAndProtocol(ctx context.Context, schemaUri, protocol, protocolVersion string) (map[*storage.HookRecord]*storage.HookConfigurationEntry, error)
- func (m *MockHookStore) GetHookRecord(ctx context.Context, hookRecordId string) (*storage.HookRecord, *storage.HookConfigurationEntry, error)
- func (m *MockHookStore) GetHookRecordConfigurationEntries(ctx context.Context, hookRecordId string) (*storage.HookRecord, []*storage.HookConfigurationEntry, error)
- func (m *MockHookStore) UpdateHookRecord(ctx context.Context, hookRecordId string, ...) error
- type MockHookStoreMockRecorder
- func (mr *MockHookStoreMockRecorder) CreateHookRecord(ctx, hookRecord, initialConfiguration interface{}) *gomock.Call
- func (mr *MockHookStoreMockRecorder) DeleteHookRecord(ctx, hookRecordId interface{}) *gomock.Call
- func (mr *MockHookStoreMockRecorder) FindHookRecordsForDataRecord(ctx, dataRecordId interface{}) *gomock.Call
- func (mr *MockHookStoreMockRecorder) FindHookRecordsForSchemaAndProtocol(ctx, schemaUri, protocol, protocolVersion interface{}) *gomock.Call
- func (mr *MockHookStoreMockRecorder) GetHookRecord(ctx, hookRecordId interface{}) *gomock.Call
- func (mr *MockHookStoreMockRecorder) GetHookRecordConfigurationEntries(ctx, hookRecordId interface{}) *gomock.Call
- func (mr *MockHookStoreMockRecorder) UpdateHookRecord(ctx, hookRecordId, updatedConfiguration interface{}) *gomock.Call
- type MockKeyServiceClient
- type MockKeyServiceClientMockRecorder
- type MockKeyServiceServer
- type MockKeyServiceServerMockRecorder
- type MockRecordServiceClient
- func (m *MockRecordServiceClient) Commit(ctx context.Context, in *services.CommitRecordRequest, opts ...grpc.CallOption) (*services.CommitRecordResponse, error)
- func (m *MockRecordServiceClient) CreateSchema(ctx context.Context, in *services.CreateSchemaRequest, opts ...grpc.CallOption) (*services.CreateSchemaResponse, error)
- func (m *MockRecordServiceClient) Delete(ctx context.Context, in *services.DeleteRecordRequest, opts ...grpc.CallOption) (*services.DeleteRecordResponse, error)
- func (m *MockRecordServiceClient) EXPECT() *MockRecordServiceClientMockRecorder
- func (m *MockRecordServiceClient) FindRecord(ctx context.Context, in *services.FindRecordRequest, opts ...grpc.CallOption) (*services.FindRecordResponse, error)
- func (m *MockRecordServiceClient) InvalidateSchema(ctx context.Context, in *services.InvalidateSchemaRequest, ...) (*services.InvalidateSchemaResponse, error)
- func (m *MockRecordServiceClient) Query(ctx context.Context, in *services.QueryRecordRequest, opts ...grpc.CallOption) (*services.QueryRecordResponse, error)
- func (m *MockRecordServiceClient) ValidateRecord(ctx context.Context, in *services.ValidateRecordRequest, ...) (*services.ValidateRecordResponse, error)
- func (m *MockRecordServiceClient) Write(ctx context.Context, in *services.WriteRecordRequest, opts ...grpc.CallOption) (*services.WriteRecordResponse, error)
- type MockRecordServiceClientMockRecorder
- func (mr *MockRecordServiceClientMockRecorder) Commit(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecordServiceClientMockRecorder) CreateSchema(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecordServiceClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecordServiceClientMockRecorder) FindRecord(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecordServiceClientMockRecorder) InvalidateSchema(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecordServiceClientMockRecorder) Query(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecordServiceClientMockRecorder) ValidateRecord(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRecordServiceClientMockRecorder) Write(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockRecordServiceServer
- func (m *MockRecordServiceServer) Commit(arg0 context.Context, arg1 *services.CommitRecordRequest) (*services.CommitRecordResponse, error)
- func (m *MockRecordServiceServer) CreateSchema(arg0 context.Context, arg1 *services.CreateSchemaRequest) (*services.CreateSchemaResponse, error)
- func (m *MockRecordServiceServer) Delete(arg0 context.Context, arg1 *services.DeleteRecordRequest) (*services.DeleteRecordResponse, error)
- func (m *MockRecordServiceServer) EXPECT() *MockRecordServiceServerMockRecorder
- func (m *MockRecordServiceServer) FindRecord(arg0 context.Context, arg1 *services.FindRecordRequest) (*services.FindRecordResponse, error)
- func (m *MockRecordServiceServer) InvalidateSchema(arg0 context.Context, arg1 *services.InvalidateSchemaRequest) (*services.InvalidateSchemaResponse, error)
- func (m *MockRecordServiceServer) Query(arg0 context.Context, arg1 *services.QueryRecordRequest) (*services.QueryRecordResponse, error)
- func (m *MockRecordServiceServer) ValidateRecord(arg0 context.Context, arg1 *services.ValidateRecordRequest) (*services.ValidateRecordResponse, error)
- func (m *MockRecordServiceServer) Write(arg0 context.Context, arg1 *services.WriteRecordRequest) (*services.WriteRecordResponse, error)
- type MockRecordServiceServerMockRecorder
- func (mr *MockRecordServiceServerMockRecorder) Commit(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecordServiceServerMockRecorder) CreateSchema(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecordServiceServerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecordServiceServerMockRecorder) FindRecord(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecordServiceServerMockRecorder) InvalidateSchema(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecordServiceServerMockRecorder) Query(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecordServiceServerMockRecorder) ValidateRecord(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRecordServiceServerMockRecorder) Write(arg0, arg1 interface{}) *gomock.Call
- type MockRecordStore
- func (m *MockRecordStore) AddMessageEntry(entry *storage.MessageEntry) error
- func (m *MockRecordStore) CreateRecord(record *storage.Record, initialEntry *storage.MessageEntry) error
- func (m *MockRecordStore) DeleteMessageEntry(entry *storage.MessageEntry) error
- func (m *MockRecordStore) DeleteMessageEntryByID(messageEntryId string) error
- func (m *MockRecordStore) EXPECT() *MockRecordStoreMockRecorder
- func (m *MockRecordStore) GetMessageEntryByID(messageEntryID string) *storage.MessageEntry
- func (m *MockRecordStore) GetRecord(recordId string) *storage.Record
- func (m *MockRecordStore) GetRecordForCommit(recordId string) (*storage.Record, *storage.MessageEntry)
- func (m *MockRecordStore) SaveRecord(record *storage.Record) error
- type MockRecordStoreMockRecorder
- func (mr *MockRecordStoreMockRecorder) AddMessageEntry(entry interface{}) *gomock.Call
- func (mr *MockRecordStoreMockRecorder) CreateRecord(record, initialEntry interface{}) *gomock.Call
- func (mr *MockRecordStoreMockRecorder) DeleteMessageEntry(entry interface{}) *gomock.Call
- func (mr *MockRecordStoreMockRecorder) DeleteMessageEntryByID(messageEntryId interface{}) *gomock.Call
- func (mr *MockRecordStoreMockRecorder) GetMessageEntryByID(messageEntryID interface{}) *gomock.Call
- func (mr *MockRecordStoreMockRecorder) GetRecord(recordId interface{}) *gomock.Call
- func (mr *MockRecordStoreMockRecorder) GetRecordForCommit(recordId interface{}) *gomock.Call
- func (mr *MockRecordStoreMockRecorder) SaveRecord(record interface{}) *gomock.Call
- type MockUnsafeHookServiceServer
- type MockUnsafeHookServiceServerMockRecorder
- type MockUnsafeKeyServiceServer
- type MockUnsafeKeyServiceServerMockRecorder
- type MockUnsafeRecordServiceServer
- type MockUnsafeRecordServiceServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHookServiceClient ¶
type MockHookServiceClient struct {
// contains filtered or unexported fields
}
MockHookServiceClient is a mock of HookServiceClient interface.
func NewMockHookServiceClient ¶
func NewMockHookServiceClient(ctrl *gomock.Controller) *MockHookServiceClient
NewMockHookServiceClient creates a new mock instance.
func (*MockHookServiceClient) EXPECT ¶
func (m *MockHookServiceClient) EXPECT() *MockHookServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHookServiceClient) GetHookByRecordId ¶
func (m *MockHookServiceClient) GetHookByRecordId(ctx context.Context, in *services.GetHookByRecordIdRequest, opts ...grpc.CallOption) (*services.GetHookByRecordIdResponse, error)
GetHookByRecordId mocks base method.
func (*MockHookServiceClient) GetHooksForRecord ¶
func (m *MockHookServiceClient) GetHooksForRecord(ctx context.Context, in *services.GetHooksForRecordRequest, opts ...grpc.CallOption) (*services.GetHooksForRecordResponse, error)
GetHooksForRecord mocks base method.
func (*MockHookServiceClient) NotifyHooksOfRecordEvent ¶
func (m *MockHookServiceClient) NotifyHooksOfRecordEvent(ctx context.Context, in *services.NotifyHooksOfRecordEventRequest, opts ...grpc.CallOption) (*services.NotifyHooksOfRecordEventResponse, error)
NotifyHooksOfRecordEvent mocks base method.
func (*MockHookServiceClient) RegisterHook ¶
func (m *MockHookServiceClient) RegisterHook(ctx context.Context, in *services.RegisterHookRequest, opts ...grpc.CallOption) (*services.RegisterHookResponse, error)
RegisterHook mocks base method.
func (*MockHookServiceClient) UpdateHook ¶
func (m *MockHookServiceClient) UpdateHook(ctx context.Context, in *services.UpdateHookRequest, opts ...grpc.CallOption) (*services.UpdateHookResponse, error)
UpdateHook mocks base method.
type MockHookServiceClientMockRecorder ¶
type MockHookServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockHookServiceClientMockRecorder is the mock recorder for MockHookServiceClient.
func (*MockHookServiceClientMockRecorder) GetHookByRecordId ¶
func (mr *MockHookServiceClientMockRecorder) GetHookByRecordId(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetHookByRecordId indicates an expected call of GetHookByRecordId.
func (*MockHookServiceClientMockRecorder) GetHooksForRecord ¶
func (mr *MockHookServiceClientMockRecorder) GetHooksForRecord(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetHooksForRecord indicates an expected call of GetHooksForRecord.
func (*MockHookServiceClientMockRecorder) NotifyHooksOfRecordEvent ¶
func (mr *MockHookServiceClientMockRecorder) NotifyHooksOfRecordEvent(ctx, in interface{}, opts ...interface{}) *gomock.Call
NotifyHooksOfRecordEvent indicates an expected call of NotifyHooksOfRecordEvent.
func (*MockHookServiceClientMockRecorder) RegisterHook ¶
func (mr *MockHookServiceClientMockRecorder) RegisterHook(ctx, in interface{}, opts ...interface{}) *gomock.Call
RegisterHook indicates an expected call of RegisterHook.
func (*MockHookServiceClientMockRecorder) UpdateHook ¶
func (mr *MockHookServiceClientMockRecorder) UpdateHook(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateHook indicates an expected call of UpdateHook.
type MockHookServiceServer ¶
type MockHookServiceServer struct {
// contains filtered or unexported fields
}
MockHookServiceServer is a mock of HookServiceServer interface.
func NewMockHookServiceServer ¶
func NewMockHookServiceServer(ctrl *gomock.Controller) *MockHookServiceServer
NewMockHookServiceServer creates a new mock instance.
func (*MockHookServiceServer) EXPECT ¶
func (m *MockHookServiceServer) EXPECT() *MockHookServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHookServiceServer) GetHookByRecordId ¶
func (m *MockHookServiceServer) GetHookByRecordId(arg0 context.Context, arg1 *services.GetHookByRecordIdRequest) (*services.GetHookByRecordIdResponse, error)
GetHookByRecordId mocks base method.
func (*MockHookServiceServer) GetHooksForRecord ¶
func (m *MockHookServiceServer) GetHooksForRecord(arg0 context.Context, arg1 *services.GetHooksForRecordRequest) (*services.GetHooksForRecordResponse, error)
GetHooksForRecord mocks base method.
func (*MockHookServiceServer) NotifyHooksOfRecordEvent ¶
func (m *MockHookServiceServer) NotifyHooksOfRecordEvent(arg0 context.Context, arg1 *services.NotifyHooksOfRecordEventRequest) (*services.NotifyHooksOfRecordEventResponse, error)
NotifyHooksOfRecordEvent mocks base method.
func (*MockHookServiceServer) RegisterHook ¶
func (m *MockHookServiceServer) RegisterHook(arg0 context.Context, arg1 *services.RegisterHookRequest) (*services.RegisterHookResponse, error)
RegisterHook mocks base method.
func (*MockHookServiceServer) UpdateHook ¶
func (m *MockHookServiceServer) UpdateHook(arg0 context.Context, arg1 *services.UpdateHookRequest) (*services.UpdateHookResponse, error)
UpdateHook mocks base method.
type MockHookServiceServerMockRecorder ¶
type MockHookServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockHookServiceServerMockRecorder is the mock recorder for MockHookServiceServer.
func (*MockHookServiceServerMockRecorder) GetHookByRecordId ¶
func (mr *MockHookServiceServerMockRecorder) GetHookByRecordId(arg0, arg1 interface{}) *gomock.Call
GetHookByRecordId indicates an expected call of GetHookByRecordId.
func (*MockHookServiceServerMockRecorder) GetHooksForRecord ¶
func (mr *MockHookServiceServerMockRecorder) GetHooksForRecord(arg0, arg1 interface{}) *gomock.Call
GetHooksForRecord indicates an expected call of GetHooksForRecord.
func (*MockHookServiceServerMockRecorder) NotifyHooksOfRecordEvent ¶
func (mr *MockHookServiceServerMockRecorder) NotifyHooksOfRecordEvent(arg0, arg1 interface{}) *gomock.Call
NotifyHooksOfRecordEvent indicates an expected call of NotifyHooksOfRecordEvent.
func (*MockHookServiceServerMockRecorder) RegisterHook ¶
func (mr *MockHookServiceServerMockRecorder) RegisterHook(arg0, arg1 interface{}) *gomock.Call
RegisterHook indicates an expected call of RegisterHook.
func (*MockHookServiceServerMockRecorder) UpdateHook ¶
func (mr *MockHookServiceServerMockRecorder) UpdateHook(arg0, arg1 interface{}) *gomock.Call
UpdateHook indicates an expected call of UpdateHook.
type MockHookStore ¶
type MockHookStore struct {
// contains filtered or unexported fields
}
MockHookStore is a mock of HookStore interface.
func NewMockHookStore ¶
func NewMockHookStore(ctrl *gomock.Controller) *MockHookStore
NewMockHookStore creates a new mock instance.
func (*MockHookStore) CreateHookRecord ¶
func (m *MockHookStore) CreateHookRecord(ctx context.Context, hookRecord *storage.HookRecord, initialConfiguration *storage.HookConfigurationEntry) error
CreateHookRecord mocks base method.
func (*MockHookStore) DeleteHookRecord ¶
func (m *MockHookStore) DeleteHookRecord(ctx context.Context, hookRecordId string) error
DeleteHookRecord mocks base method.
func (*MockHookStore) EXPECT ¶
func (m *MockHookStore) EXPECT() *MockHookStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHookStore) FindHookRecordsForDataRecord ¶
func (m *MockHookStore) FindHookRecordsForDataRecord(ctx context.Context, dataRecordId string) (map[*storage.HookRecord]*storage.HookConfigurationEntry, error)
FindHookRecordsForDataRecord mocks base method.
func (*MockHookStore) FindHookRecordsForSchemaAndProtocol ¶
func (m *MockHookStore) FindHookRecordsForSchemaAndProtocol(ctx context.Context, schemaUri, protocol, protocolVersion string) (map[*storage.HookRecord]*storage.HookConfigurationEntry, error)
FindHookRecordsForSchemaAndProtocol mocks base method.
func (*MockHookStore) GetHookRecord ¶
func (m *MockHookStore) GetHookRecord(ctx context.Context, hookRecordId string) (*storage.HookRecord, *storage.HookConfigurationEntry, error)
GetHookRecord mocks base method.
func (*MockHookStore) GetHookRecordConfigurationEntries ¶
func (m *MockHookStore) GetHookRecordConfigurationEntries(ctx context.Context, hookRecordId string) (*storage.HookRecord, []*storage.HookConfigurationEntry, error)
GetHookRecordConfigurationEntries mocks base method.
func (*MockHookStore) UpdateHookRecord ¶
func (m *MockHookStore) UpdateHookRecord(ctx context.Context, hookRecordId string, updatedConfiguration *storage.HookConfigurationEntry) error
UpdateHookRecord mocks base method.
type MockHookStoreMockRecorder ¶
type MockHookStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockHookStoreMockRecorder is the mock recorder for MockHookStore.
func (*MockHookStoreMockRecorder) CreateHookRecord ¶
func (mr *MockHookStoreMockRecorder) CreateHookRecord(ctx, hookRecord, initialConfiguration interface{}) *gomock.Call
CreateHookRecord indicates an expected call of CreateHookRecord.
func (*MockHookStoreMockRecorder) DeleteHookRecord ¶
func (mr *MockHookStoreMockRecorder) DeleteHookRecord(ctx, hookRecordId interface{}) *gomock.Call
DeleteHookRecord indicates an expected call of DeleteHookRecord.
func (*MockHookStoreMockRecorder) FindHookRecordsForDataRecord ¶
func (mr *MockHookStoreMockRecorder) FindHookRecordsForDataRecord(ctx, dataRecordId interface{}) *gomock.Call
FindHookRecordsForDataRecord indicates an expected call of FindHookRecordsForDataRecord.
func (*MockHookStoreMockRecorder) FindHookRecordsForSchemaAndProtocol ¶
func (mr *MockHookStoreMockRecorder) FindHookRecordsForSchemaAndProtocol(ctx, schemaUri, protocol, protocolVersion interface{}) *gomock.Call
FindHookRecordsForSchemaAndProtocol indicates an expected call of FindHookRecordsForSchemaAndProtocol.
func (*MockHookStoreMockRecorder) GetHookRecord ¶
func (mr *MockHookStoreMockRecorder) GetHookRecord(ctx, hookRecordId interface{}) *gomock.Call
GetHookRecord indicates an expected call of GetHookRecord.
func (*MockHookStoreMockRecorder) GetHookRecordConfigurationEntries ¶
func (mr *MockHookStoreMockRecorder) GetHookRecordConfigurationEntries(ctx, hookRecordId interface{}) *gomock.Call
GetHookRecordConfigurationEntries indicates an expected call of GetHookRecordConfigurationEntries.
func (*MockHookStoreMockRecorder) UpdateHookRecord ¶
func (mr *MockHookStoreMockRecorder) UpdateHookRecord(ctx, hookRecordId, updatedConfiguration interface{}) *gomock.Call
UpdateHookRecord indicates an expected call of UpdateHookRecord.
type MockKeyServiceClient ¶
type MockKeyServiceClient struct {
// contains filtered or unexported fields
}
MockKeyServiceClient is a mock of KeyServiceClient interface.
func NewMockKeyServiceClient ¶
func NewMockKeyServiceClient(ctrl *gomock.Controller) *MockKeyServiceClient
NewMockKeyServiceClient creates a new mock instance.
func (*MockKeyServiceClient) EXPECT ¶
func (m *MockKeyServiceClient) EXPECT() *MockKeyServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKeyServiceClient) VerifyMessageAttestation ¶
func (m *MockKeyServiceClient) VerifyMessageAttestation(ctx context.Context, in *services.VerifyMessageAttestationRequest, opts ...grpc.CallOption) (*services.VerifyMessageAttestationResponse, error)
VerifyMessageAttestation mocks base method.
type MockKeyServiceClientMockRecorder ¶
type MockKeyServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockKeyServiceClientMockRecorder is the mock recorder for MockKeyServiceClient.
func (*MockKeyServiceClientMockRecorder) VerifyMessageAttestation ¶
func (mr *MockKeyServiceClientMockRecorder) VerifyMessageAttestation(ctx, in interface{}, opts ...interface{}) *gomock.Call
VerifyMessageAttestation indicates an expected call of VerifyMessageAttestation.
type MockKeyServiceServer ¶
type MockKeyServiceServer struct {
// contains filtered or unexported fields
}
MockKeyServiceServer is a mock of KeyServiceServer interface.
func NewMockKeyServiceServer ¶
func NewMockKeyServiceServer(ctrl *gomock.Controller) *MockKeyServiceServer
NewMockKeyServiceServer creates a new mock instance.
func (*MockKeyServiceServer) EXPECT ¶
func (m *MockKeyServiceServer) EXPECT() *MockKeyServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKeyServiceServer) VerifyMessageAttestation ¶
func (m *MockKeyServiceServer) VerifyMessageAttestation(arg0 context.Context, arg1 *services.VerifyMessageAttestationRequest) (*services.VerifyMessageAttestationResponse, error)
VerifyMessageAttestation mocks base method.
type MockKeyServiceServerMockRecorder ¶
type MockKeyServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockKeyServiceServerMockRecorder is the mock recorder for MockKeyServiceServer.
func (*MockKeyServiceServerMockRecorder) VerifyMessageAttestation ¶
func (mr *MockKeyServiceServerMockRecorder) VerifyMessageAttestation(arg0, arg1 interface{}) *gomock.Call
VerifyMessageAttestation indicates an expected call of VerifyMessageAttestation.
type MockRecordServiceClient ¶
type MockRecordServiceClient struct {
// contains filtered or unexported fields
}
MockRecordServiceClient is a mock of RecordServiceClient interface.
func NewMockRecordServiceClient ¶
func NewMockRecordServiceClient(ctrl *gomock.Controller) *MockRecordServiceClient
NewMockRecordServiceClient creates a new mock instance.
func (*MockRecordServiceClient) Commit ¶
func (m *MockRecordServiceClient) Commit(ctx context.Context, in *services.CommitRecordRequest, opts ...grpc.CallOption) (*services.CommitRecordResponse, error)
Commit mocks base method.
func (*MockRecordServiceClient) CreateSchema ¶
func (m *MockRecordServiceClient) CreateSchema(ctx context.Context, in *services.CreateSchemaRequest, opts ...grpc.CallOption) (*services.CreateSchemaResponse, error)
CreateSchema mocks base method.
func (*MockRecordServiceClient) Delete ¶
func (m *MockRecordServiceClient) Delete(ctx context.Context, in *services.DeleteRecordRequest, opts ...grpc.CallOption) (*services.DeleteRecordResponse, error)
Delete mocks base method.
func (*MockRecordServiceClient) EXPECT ¶
func (m *MockRecordServiceClient) EXPECT() *MockRecordServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRecordServiceClient) FindRecord ¶
func (m *MockRecordServiceClient) FindRecord(ctx context.Context, in *services.FindRecordRequest, opts ...grpc.CallOption) (*services.FindRecordResponse, error)
FindRecord mocks base method.
func (*MockRecordServiceClient) InvalidateSchema ¶
func (m *MockRecordServiceClient) InvalidateSchema(ctx context.Context, in *services.InvalidateSchemaRequest, opts ...grpc.CallOption) (*services.InvalidateSchemaResponse, error)
InvalidateSchema mocks base method.
func (*MockRecordServiceClient) Query ¶
func (m *MockRecordServiceClient) Query(ctx context.Context, in *services.QueryRecordRequest, opts ...grpc.CallOption) (*services.QueryRecordResponse, error)
Query mocks base method.
func (*MockRecordServiceClient) ValidateRecord ¶
func (m *MockRecordServiceClient) ValidateRecord(ctx context.Context, in *services.ValidateRecordRequest, opts ...grpc.CallOption) (*services.ValidateRecordResponse, error)
ValidateRecord mocks base method.
func (*MockRecordServiceClient) Write ¶
func (m *MockRecordServiceClient) Write(ctx context.Context, in *services.WriteRecordRequest, opts ...grpc.CallOption) (*services.WriteRecordResponse, error)
Write mocks base method.
type MockRecordServiceClientMockRecorder ¶
type MockRecordServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRecordServiceClientMockRecorder is the mock recorder for MockRecordServiceClient.
func (*MockRecordServiceClientMockRecorder) Commit ¶
func (mr *MockRecordServiceClientMockRecorder) Commit(ctx, in interface{}, opts ...interface{}) *gomock.Call
Commit indicates an expected call of Commit.
func (*MockRecordServiceClientMockRecorder) CreateSchema ¶
func (mr *MockRecordServiceClientMockRecorder) CreateSchema(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateSchema indicates an expected call of CreateSchema.
func (*MockRecordServiceClientMockRecorder) Delete ¶
func (mr *MockRecordServiceClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockRecordServiceClientMockRecorder) FindRecord ¶
func (mr *MockRecordServiceClientMockRecorder) FindRecord(ctx, in interface{}, opts ...interface{}) *gomock.Call
FindRecord indicates an expected call of FindRecord.
func (*MockRecordServiceClientMockRecorder) InvalidateSchema ¶
func (mr *MockRecordServiceClientMockRecorder) InvalidateSchema(ctx, in interface{}, opts ...interface{}) *gomock.Call
InvalidateSchema indicates an expected call of InvalidateSchema.
func (*MockRecordServiceClientMockRecorder) Query ¶
func (mr *MockRecordServiceClientMockRecorder) Query(ctx, in interface{}, opts ...interface{}) *gomock.Call
Query indicates an expected call of Query.
func (*MockRecordServiceClientMockRecorder) ValidateRecord ¶
func (mr *MockRecordServiceClientMockRecorder) ValidateRecord(ctx, in interface{}, opts ...interface{}) *gomock.Call
ValidateRecord indicates an expected call of ValidateRecord.
func (*MockRecordServiceClientMockRecorder) Write ¶
func (mr *MockRecordServiceClientMockRecorder) Write(ctx, in interface{}, opts ...interface{}) *gomock.Call
Write indicates an expected call of Write.
type MockRecordServiceServer ¶
type MockRecordServiceServer struct {
// contains filtered or unexported fields
}
MockRecordServiceServer is a mock of RecordServiceServer interface.
func NewMockRecordServiceServer ¶
func NewMockRecordServiceServer(ctrl *gomock.Controller) *MockRecordServiceServer
NewMockRecordServiceServer creates a new mock instance.
func (*MockRecordServiceServer) Commit ¶
func (m *MockRecordServiceServer) Commit(arg0 context.Context, arg1 *services.CommitRecordRequest) (*services.CommitRecordResponse, error)
Commit mocks base method.
func (*MockRecordServiceServer) CreateSchema ¶
func (m *MockRecordServiceServer) CreateSchema(arg0 context.Context, arg1 *services.CreateSchemaRequest) (*services.CreateSchemaResponse, error)
CreateSchema mocks base method.
func (*MockRecordServiceServer) Delete ¶
func (m *MockRecordServiceServer) Delete(arg0 context.Context, arg1 *services.DeleteRecordRequest) (*services.DeleteRecordResponse, error)
Delete mocks base method.
func (*MockRecordServiceServer) EXPECT ¶
func (m *MockRecordServiceServer) EXPECT() *MockRecordServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRecordServiceServer) FindRecord ¶
func (m *MockRecordServiceServer) FindRecord(arg0 context.Context, arg1 *services.FindRecordRequest) (*services.FindRecordResponse, error)
FindRecord mocks base method.
func (*MockRecordServiceServer) InvalidateSchema ¶
func (m *MockRecordServiceServer) InvalidateSchema(arg0 context.Context, arg1 *services.InvalidateSchemaRequest) (*services.InvalidateSchemaResponse, error)
InvalidateSchema mocks base method.
func (*MockRecordServiceServer) Query ¶
func (m *MockRecordServiceServer) Query(arg0 context.Context, arg1 *services.QueryRecordRequest) (*services.QueryRecordResponse, error)
Query mocks base method.
func (*MockRecordServiceServer) ValidateRecord ¶
func (m *MockRecordServiceServer) ValidateRecord(arg0 context.Context, arg1 *services.ValidateRecordRequest) (*services.ValidateRecordResponse, error)
ValidateRecord mocks base method.
func (*MockRecordServiceServer) Write ¶
func (m *MockRecordServiceServer) Write(arg0 context.Context, arg1 *services.WriteRecordRequest) (*services.WriteRecordResponse, error)
Write mocks base method.
type MockRecordServiceServerMockRecorder ¶
type MockRecordServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockRecordServiceServerMockRecorder is the mock recorder for MockRecordServiceServer.
func (*MockRecordServiceServerMockRecorder) Commit ¶
func (mr *MockRecordServiceServerMockRecorder) Commit(arg0, arg1 interface{}) *gomock.Call
Commit indicates an expected call of Commit.
func (*MockRecordServiceServerMockRecorder) CreateSchema ¶
func (mr *MockRecordServiceServerMockRecorder) CreateSchema(arg0, arg1 interface{}) *gomock.Call
CreateSchema indicates an expected call of CreateSchema.
func (*MockRecordServiceServerMockRecorder) Delete ¶
func (mr *MockRecordServiceServerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockRecordServiceServerMockRecorder) FindRecord ¶
func (mr *MockRecordServiceServerMockRecorder) FindRecord(arg0, arg1 interface{}) *gomock.Call
FindRecord indicates an expected call of FindRecord.
func (*MockRecordServiceServerMockRecorder) InvalidateSchema ¶
func (mr *MockRecordServiceServerMockRecorder) InvalidateSchema(arg0, arg1 interface{}) *gomock.Call
InvalidateSchema indicates an expected call of InvalidateSchema.
func (*MockRecordServiceServerMockRecorder) Query ¶
func (mr *MockRecordServiceServerMockRecorder) Query(arg0, arg1 interface{}) *gomock.Call
Query indicates an expected call of Query.
func (*MockRecordServiceServerMockRecorder) ValidateRecord ¶
func (mr *MockRecordServiceServerMockRecorder) ValidateRecord(arg0, arg1 interface{}) *gomock.Call
ValidateRecord indicates an expected call of ValidateRecord.
func (*MockRecordServiceServerMockRecorder) Write ¶
func (mr *MockRecordServiceServerMockRecorder) Write(arg0, arg1 interface{}) *gomock.Call
Write indicates an expected call of Write.
type MockRecordStore ¶
type MockRecordStore struct {
// contains filtered or unexported fields
}
MockRecordStore is a mock of RecordStore interface.
func NewMockRecordStore ¶
func NewMockRecordStore(ctrl *gomock.Controller) *MockRecordStore
NewMockRecordStore creates a new mock instance.
func (*MockRecordStore) AddMessageEntry ¶
func (m *MockRecordStore) AddMessageEntry(entry *storage.MessageEntry) error
AddMessageEntry mocks base method.
func (*MockRecordStore) CreateRecord ¶
func (m *MockRecordStore) CreateRecord(record *storage.Record, initialEntry *storage.MessageEntry) error
CreateRecord mocks base method.
func (*MockRecordStore) DeleteMessageEntry ¶
func (m *MockRecordStore) DeleteMessageEntry(entry *storage.MessageEntry) error
DeleteMessageEntry mocks base method.
func (*MockRecordStore) DeleteMessageEntryByID ¶
func (m *MockRecordStore) DeleteMessageEntryByID(messageEntryId string) error
DeleteMessageEntryByID mocks base method.
func (*MockRecordStore) EXPECT ¶
func (m *MockRecordStore) EXPECT() *MockRecordStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRecordStore) GetMessageEntryByID ¶
func (m *MockRecordStore) GetMessageEntryByID(messageEntryID string) *storage.MessageEntry
GetMessageEntryByID mocks base method.
func (*MockRecordStore) GetRecord ¶
func (m *MockRecordStore) GetRecord(recordId string) *storage.Record
GetRecord mocks base method.
func (*MockRecordStore) GetRecordForCommit ¶
func (m *MockRecordStore) GetRecordForCommit(recordId string) (*storage.Record, *storage.MessageEntry)
GetRecordForCommit mocks base method.
func (*MockRecordStore) SaveRecord ¶
func (m *MockRecordStore) SaveRecord(record *storage.Record) error
SaveRecord mocks base method.
type MockRecordStoreMockRecorder ¶
type MockRecordStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockRecordStoreMockRecorder is the mock recorder for MockRecordStore.
func (*MockRecordStoreMockRecorder) AddMessageEntry ¶
func (mr *MockRecordStoreMockRecorder) AddMessageEntry(entry interface{}) *gomock.Call
AddMessageEntry indicates an expected call of AddMessageEntry.
func (*MockRecordStoreMockRecorder) CreateRecord ¶
func (mr *MockRecordStoreMockRecorder) CreateRecord(record, initialEntry interface{}) *gomock.Call
CreateRecord indicates an expected call of CreateRecord.
func (*MockRecordStoreMockRecorder) DeleteMessageEntry ¶
func (mr *MockRecordStoreMockRecorder) DeleteMessageEntry(entry interface{}) *gomock.Call
DeleteMessageEntry indicates an expected call of DeleteMessageEntry.
func (*MockRecordStoreMockRecorder) DeleteMessageEntryByID ¶
func (mr *MockRecordStoreMockRecorder) DeleteMessageEntryByID(messageEntryId interface{}) *gomock.Call
DeleteMessageEntryByID indicates an expected call of DeleteMessageEntryByID.
func (*MockRecordStoreMockRecorder) GetMessageEntryByID ¶
func (mr *MockRecordStoreMockRecorder) GetMessageEntryByID(messageEntryID interface{}) *gomock.Call
GetMessageEntryByID indicates an expected call of GetMessageEntryByID.
func (*MockRecordStoreMockRecorder) GetRecord ¶
func (mr *MockRecordStoreMockRecorder) GetRecord(recordId interface{}) *gomock.Call
GetRecord indicates an expected call of GetRecord.
func (*MockRecordStoreMockRecorder) GetRecordForCommit ¶
func (mr *MockRecordStoreMockRecorder) GetRecordForCommit(recordId interface{}) *gomock.Call
GetRecordForCommit indicates an expected call of GetRecordForCommit.
func (*MockRecordStoreMockRecorder) SaveRecord ¶
func (mr *MockRecordStoreMockRecorder) SaveRecord(record interface{}) *gomock.Call
SaveRecord indicates an expected call of SaveRecord.
type MockUnsafeHookServiceServer ¶
type MockUnsafeHookServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeHookServiceServer is a mock of UnsafeHookServiceServer interface.
func NewMockUnsafeHookServiceServer ¶
func NewMockUnsafeHookServiceServer(ctrl *gomock.Controller) *MockUnsafeHookServiceServer
NewMockUnsafeHookServiceServer creates a new mock instance.
func (*MockUnsafeHookServiceServer) EXPECT ¶
func (m *MockUnsafeHookServiceServer) EXPECT() *MockUnsafeHookServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeHookServiceServerMockRecorder ¶
type MockUnsafeHookServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeHookServiceServerMockRecorder is the mock recorder for MockUnsafeHookServiceServer.
type MockUnsafeKeyServiceServer ¶
type MockUnsafeKeyServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeKeyServiceServer is a mock of UnsafeKeyServiceServer interface.
func NewMockUnsafeKeyServiceServer ¶
func NewMockUnsafeKeyServiceServer(ctrl *gomock.Controller) *MockUnsafeKeyServiceServer
NewMockUnsafeKeyServiceServer creates a new mock instance.
func (*MockUnsafeKeyServiceServer) EXPECT ¶
func (m *MockUnsafeKeyServiceServer) EXPECT() *MockUnsafeKeyServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeKeyServiceServerMockRecorder ¶
type MockUnsafeKeyServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeKeyServiceServerMockRecorder is the mock recorder for MockUnsafeKeyServiceServer.
type MockUnsafeRecordServiceServer ¶
type MockUnsafeRecordServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeRecordServiceServer is a mock of UnsafeRecordServiceServer interface.
func NewMockUnsafeRecordServiceServer ¶
func NewMockUnsafeRecordServiceServer(ctrl *gomock.Controller) *MockUnsafeRecordServiceServer
NewMockUnsafeRecordServiceServer creates a new mock instance.
func (*MockUnsafeRecordServiceServer) EXPECT ¶
func (m *MockUnsafeRecordServiceServer) EXPECT() *MockUnsafeRecordServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeRecordServiceServerMockRecorder ¶
type MockUnsafeRecordServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeRecordServiceServerMockRecorder is the mock recorder for MockUnsafeRecordServiceServer.