Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockConsentStoreClient
- func (m *MockConsentStoreClient) ConsentAuth(context context.Context, custodian, subject, actor, dataClass string, ...) (bool, error)
- func (m *MockConsentStoreClient) DeleteConsentRecordByHash(context context.Context, consentRecordHash string) (bool, error)
- func (m *MockConsentStoreClient) EXPECT() *MockConsentStoreClientMockRecorder
- func (m *MockConsentStoreClient) FindConsentRecordByHash(context context.Context, consentRecordHash string, latest bool) (pkg.ConsentRecord, error)
- func (m *MockConsentStoreClient) QueryConsent(context context.Context, actor, custodian, subject *string, validAt *time.Time) ([]pkg.PatientConsent, error)
- func (m *MockConsentStoreClient) RecordConsent(context context.Context, consent []pkg.PatientConsent) error
- type MockConsentStoreClientMockRecorder
- func (mr *MockConsentStoreClientMockRecorder) ConsentAuth(context, custodian, subject, actor, dataClass, checkpoint interface{}) *gomock.Call
- func (mr *MockConsentStoreClientMockRecorder) DeleteConsentRecordByHash(context, consentRecordHash interface{}) *gomock.Call
- func (mr *MockConsentStoreClientMockRecorder) FindConsentRecordByHash(context, consentRecordHash, latest interface{}) *gomock.Call
- func (mr *MockConsentStoreClientMockRecorder) QueryConsent(context, actor, custodian, subject, validAt interface{}) *gomock.Call
- func (mr *MockConsentStoreClientMockRecorder) RecordConsent(context, consent interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConsentStoreClient ¶
type MockConsentStoreClient struct {
// contains filtered or unexported fields
}
MockConsentStoreClient is a mock of ConsentStoreClient interface
func NewMockConsentStoreClient ¶
func NewMockConsentStoreClient(ctrl *gomock.Controller) *MockConsentStoreClient
NewMockConsentStoreClient creates a new mock instance
func (*MockConsentStoreClient) ConsentAuth ¶
func (m *MockConsentStoreClient) ConsentAuth(context context.Context, custodian, subject, actor, dataClass string, checkpoint *time.Time) (bool, error)
ConsentAuth mocks base method
func (*MockConsentStoreClient) DeleteConsentRecordByHash ¶
func (m *MockConsentStoreClient) DeleteConsentRecordByHash(context context.Context, consentRecordHash string) (bool, error)
DeleteConsentRecordByHash mocks base method
func (*MockConsentStoreClient) EXPECT ¶
func (m *MockConsentStoreClient) EXPECT() *MockConsentStoreClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockConsentStoreClient) FindConsentRecordByHash ¶
func (m *MockConsentStoreClient) FindConsentRecordByHash(context context.Context, consentRecordHash string, latest bool) (pkg.ConsentRecord, error)
FindConsentRecordByHash mocks base method
func (*MockConsentStoreClient) QueryConsent ¶
func (m *MockConsentStoreClient) QueryConsent(context context.Context, actor, custodian, subject *string, validAt *time.Time) ([]pkg.PatientConsent, error)
QueryConsent mocks base method
func (*MockConsentStoreClient) RecordConsent ¶
func (m *MockConsentStoreClient) RecordConsent(context context.Context, consent []pkg.PatientConsent) error
RecordConsent mocks base method
type MockConsentStoreClientMockRecorder ¶
type MockConsentStoreClientMockRecorder struct {
// contains filtered or unexported fields
}
MockConsentStoreClientMockRecorder is the mock recorder for MockConsentStoreClient
func (*MockConsentStoreClientMockRecorder) ConsentAuth ¶
func (mr *MockConsentStoreClientMockRecorder) ConsentAuth(context, custodian, subject, actor, dataClass, checkpoint interface{}) *gomock.Call
ConsentAuth indicates an expected call of ConsentAuth
func (*MockConsentStoreClientMockRecorder) DeleteConsentRecordByHash ¶
func (mr *MockConsentStoreClientMockRecorder) DeleteConsentRecordByHash(context, consentRecordHash interface{}) *gomock.Call
DeleteConsentRecordByHash indicates an expected call of DeleteConsentRecordByHash
func (*MockConsentStoreClientMockRecorder) FindConsentRecordByHash ¶
func (mr *MockConsentStoreClientMockRecorder) FindConsentRecordByHash(context, consentRecordHash, latest interface{}) *gomock.Call
FindConsentRecordByHash indicates an expected call of FindConsentRecordByHash
func (*MockConsentStoreClientMockRecorder) QueryConsent ¶
func (mr *MockConsentStoreClientMockRecorder) QueryConsent(context, actor, custodian, subject, validAt interface{}) *gomock.Call
QueryConsent indicates an expected call of QueryConsent
func (*MockConsentStoreClientMockRecorder) RecordConsent ¶
func (mr *MockConsentStoreClientMockRecorder) RecordConsent(context, consent interface{}) *gomock.Call
RecordConsent indicates an expected call of RecordConsent