mock_manager

package
v0.0.0-...-64e8fac Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_manager is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockManager

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

MockManager is a mock of Manager interface.

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance.

func (*MockManager) Create

func (m *MockManager) Create(ctx context.Context, application *models.Application, extraMembers map[string]string) (*models.Application, error)

Create mocks base method.

func (*MockManager) DeleteByID

func (m *MockManager) DeleteByID(ctx context.Context, id uint) error

DeleteByID mocks base method.

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

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

func (*MockManager) GetByGroupIDs

func (m *MockManager) GetByGroupIDs(ctx context.Context, groupIDs []uint) ([]*models.Application, error)

GetByGroupIDs mocks base method.

func (*MockManager) GetByID

func (m *MockManager) GetByID(ctx context.Context, id uint) (*models.Application, error)

GetByID mocks base method.

func (*MockManager) GetByIDIncludeSoftDelete

func (m *MockManager) GetByIDIncludeSoftDelete(ctx context.Context, id uint) (*models.Application, error)

GetByIDIncludeSoftDelete mocks base method.

func (*MockManager) GetByIDs

func (m *MockManager) GetByIDs(ctx context.Context, ids []uint) ([]*models.Application, error)

GetByIDs mocks base method.

func (*MockManager) GetByName

func (m *MockManager) GetByName(ctx context.Context, name string) (*models.Application, error)

GetByName mocks base method.

func (*MockManager) GetByNameFuzzily

func (m *MockManager) GetByNameFuzzily(ctx context.Context, name string) ([]*models.Application, error)

GetByNameFuzzily mocks base method.

func (*MockManager) GetByNameFuzzilyIncludeSoftDelete

func (m *MockManager) GetByNameFuzzilyIncludeSoftDelete(ctx context.Context, name string) ([]*models.Application, error)

GetByNameFuzzilyIncludeSoftDelete mocks base method.

func (*MockManager) List

func (m *MockManager) List(ctx context.Context, groupIDs []uint, query *q.Query) (int, []*models.Application, error)

List mocks base method.

func (*MockManager) Transfer

func (m *MockManager) Transfer(ctx context.Context, id, groupID uint) error

Transfer mocks base method.

func (*MockManager) UpdateByID

func (m *MockManager) UpdateByID(ctx context.Context, id uint, application *models.Application) (*models.Application, error)

UpdateByID mocks base method.

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) Create

func (mr *MockManagerMockRecorder) Create(ctx, application, extraMembers interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockManagerMockRecorder) DeleteByID

func (mr *MockManagerMockRecorder) DeleteByID(ctx, id interface{}) *gomock.Call

DeleteByID indicates an expected call of DeleteByID.

func (*MockManagerMockRecorder) GetByGroupIDs

func (mr *MockManagerMockRecorder) GetByGroupIDs(ctx, groupIDs interface{}) *gomock.Call

GetByGroupIDs indicates an expected call of GetByGroupIDs.

func (*MockManagerMockRecorder) GetByID

func (mr *MockManagerMockRecorder) GetByID(ctx, id interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockManagerMockRecorder) GetByIDIncludeSoftDelete

func (mr *MockManagerMockRecorder) GetByIDIncludeSoftDelete(ctx, id interface{}) *gomock.Call

GetByIDIncludeSoftDelete indicates an expected call of GetByIDIncludeSoftDelete.

func (*MockManagerMockRecorder) GetByIDs

func (mr *MockManagerMockRecorder) GetByIDs(ctx, ids interface{}) *gomock.Call

GetByIDs indicates an expected call of GetByIDs.

func (*MockManagerMockRecorder) GetByName

func (mr *MockManagerMockRecorder) GetByName(ctx, name interface{}) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockManagerMockRecorder) GetByNameFuzzily

func (mr *MockManagerMockRecorder) GetByNameFuzzily(ctx, name interface{}) *gomock.Call

GetByNameFuzzily indicates an expected call of GetByNameFuzzily.

func (*MockManagerMockRecorder) GetByNameFuzzilyIncludeSoftDelete

func (mr *MockManagerMockRecorder) GetByNameFuzzilyIncludeSoftDelete(ctx, name interface{}) *gomock.Call

GetByNameFuzzilyIncludeSoftDelete indicates an expected call of GetByNameFuzzilyIncludeSoftDelete.

func (*MockManagerMockRecorder) List

func (mr *MockManagerMockRecorder) List(ctx, groupIDs, query interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockManagerMockRecorder) Transfer

func (mr *MockManagerMockRecorder) Transfer(ctx, id, groupID interface{}) *gomock.Call

Transfer indicates an expected call of Transfer.

func (*MockManagerMockRecorder) UpdateByID

func (mr *MockManagerMockRecorder) UpdateByID(ctx, id, application interface{}) *gomock.Call

UpdateByID indicates an expected call of UpdateByID.

Jump to

Keyboard shortcuts

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