mock

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL