mock

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: EUPL-1.2 Imports: 4 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 MockSchemeRepository

type MockSchemeRepository struct {
	// contains filtered or unexported fields
}

MockSchemeRepository is a mock of SchemeRepository interface.

func NewMockSchemeRepository

func NewMockSchemeRepository(ctrl *gomock.Controller) *MockSchemeRepository

NewMockSchemeRepository creates a new mock instance.

func (*MockSchemeRepository) CreateOrganization

func (m *MockSchemeRepository) CreateOrganization(arg0 model.Organization) (*model.Organization, error)

CreateOrganization mocks base method.

func (*MockSchemeRepository) DeleteOrganization

func (m *MockSchemeRepository) DeleteOrganization(arg0 string) (*model.Organization, error)

DeleteOrganization mocks base method.

func (*MockSchemeRepository) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSchemeRepository) GetHealthCheck

func (m *MockSchemeRepository) GetHealthCheck() healthcheck.Result

GetHealthCheck mocks base method.

func (*MockSchemeRepository) GetOrganization

func (m *MockSchemeRepository) GetOrganization(arg0 string) (*model.Organization, error)

GetOrganization mocks base method.

func (*MockSchemeRepository) ListOrganizations

func (m *MockSchemeRepository) ListOrganizations() (*[]model.Organization, error)

ListOrganizations mocks base method.

func (*MockSchemeRepository) UpdateOrganization

func (m *MockSchemeRepository) UpdateOrganization(arg0 string, arg1 model.Organization) (*model.Organization, error)

UpdateOrganization mocks base method.

type MockSchemeRepositoryMockRecorder

type MockSchemeRepositoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockSchemeRepositoryMockRecorder is the mock recorder for MockSchemeRepository.

func (*MockSchemeRepositoryMockRecorder) CreateOrganization

func (mr *MockSchemeRepositoryMockRecorder) CreateOrganization(arg0 interface{}) *gomock.Call

CreateOrganization indicates an expected call of CreateOrganization.

func (*MockSchemeRepositoryMockRecorder) DeleteOrganization

func (mr *MockSchemeRepositoryMockRecorder) DeleteOrganization(arg0 interface{}) *gomock.Call

DeleteOrganization indicates an expected call of DeleteOrganization.

func (*MockSchemeRepositoryMockRecorder) GetHealthCheck

func (mr *MockSchemeRepositoryMockRecorder) GetHealthCheck() *gomock.Call

GetHealthCheck indicates an expected call of GetHealthCheck.

func (*MockSchemeRepositoryMockRecorder) GetOrganization

func (mr *MockSchemeRepositoryMockRecorder) GetOrganization(arg0 interface{}) *gomock.Call

GetOrganization indicates an expected call of GetOrganization.

func (*MockSchemeRepositoryMockRecorder) ListOrganizations

func (mr *MockSchemeRepositoryMockRecorder) ListOrganizations() *gomock.Call

ListOrganizations indicates an expected call of ListOrganizations.

func (*MockSchemeRepositoryMockRecorder) UpdateOrganization

func (mr *MockSchemeRepositoryMockRecorder) UpdateOrganization(arg0, arg1 interface{}) *gomock.Call

UpdateOrganization indicates an expected call of UpdateOrganization.

Jump to

Keyboard shortcuts

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