mock_group

package
v0.0.0-...-4350bb9 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_group is a generated GoMock package.

Package mock_group is a generated GoMock package.

Package mock_group is a generated GoMock package.

Package mock_group is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGroupDomainValidation

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

MockGroupDomainValidation is a mock of GroupDomainValidation interface

func NewMockGroupDomainValidation

func NewMockGroupDomainValidation(ctrl *gomock.Controller) *MockGroupDomainValidation

NewMockGroupDomainValidation creates a new mock instance

func (*MockGroupDomainValidation) EXPECT

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

func (*MockGroupDomainValidation) Group

Group mocks base method

type MockGroupDomainValidationMockRecorder

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

MockGroupDomainValidationMockRecorder is the mock recorder for MockGroupDomainValidation

func (*MockGroupDomainValidationMockRecorder) Group

func (mr *MockGroupDomainValidationMockRecorder) Group(ctx, g interface{}) *gomock.Call

Group indicates an expected call of Group

type MockGroupRepository

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

MockGroupRepository is a mock of GroupRepository interface

func NewMockGroupRepository

func NewMockGroupRepository(ctrl *gomock.Controller) *MockGroupRepository

NewMockGroupRepository creates a new mock instance

func (*MockGroupRepository) Create

func (m *MockGroupRepository) Create(ctx context.Context, g *group.Group) error

Create mocks base method

func (*MockGroupRepository) Destroy

func (m *MockGroupRepository) Destroy(ctx context.Context, groupID string) error

Destroy mocks base method

func (*MockGroupRepository) EXPECT

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

func (*MockGroupRepository) Show

func (m *MockGroupRepository) Show(ctx context.Context, groupID string) (*group.Group, error)

Show mocks base method

func (*MockGroupRepository) Update

func (m *MockGroupRepository) Update(ctx context.Context, g *group.Group) error

Update mocks base method

type MockGroupRepositoryMockRecorder

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

MockGroupRepositoryMockRecorder is the mock recorder for MockGroupRepository

func (*MockGroupRepositoryMockRecorder) Create

func (mr *MockGroupRepositoryMockRecorder) Create(ctx, g interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockGroupRepositoryMockRecorder) Destroy

func (mr *MockGroupRepositoryMockRecorder) Destroy(ctx, groupID interface{}) *gomock.Call

Destroy indicates an expected call of Destroy

func (*MockGroupRepositoryMockRecorder) Show

func (mr *MockGroupRepositoryMockRecorder) Show(ctx, groupID interface{}) *gomock.Call

Show indicates an expected call of Show

func (*MockGroupRepositoryMockRecorder) Update

func (mr *MockGroupRepositoryMockRecorder) Update(ctx, g interface{}) *gomock.Call

Update indicates an expected call of Update

type MockGroupService

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

MockGroupService is a mock of GroupService interface

func NewMockGroupService

func NewMockGroupService(ctrl *gomock.Controller) *MockGroupService

NewMockGroupService creates a new mock instance

func (*MockGroupService) AddHiddenGroup

func (m *MockGroupService) AddHiddenGroup(ctx context.Context, groupID string) ([]*group.Group, []*group.Group, error)

AddHiddenGroup mocks base method

func (*MockGroupService) AddUsers

func (m *MockGroupService) AddUsers(ctx context.Context, groupID string, userIDs []string) (*group.Group, error)

AddUsers mocks base method

func (*MockGroupService) ContainsUserID

func (m *MockGroupService) ContainsUserID(ctx context.Context, g *group.Group, userID string) (bool, error)

ContainsUserID mocks base method

func (*MockGroupService) Create

func (m *MockGroupService) Create(ctx context.Context, g *group.Group) (*group.Group, error)

Create mocks base method

func (*MockGroupService) Destroy

func (m *MockGroupService) Destroy(ctx context.Context, groupID string) error

Destroy mocks base method

func (*MockGroupService) EXPECT

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

func (*MockGroupService) Index

func (m *MockGroupService) Index(ctx context.Context, u *user.User) ([]*group.Group, []*group.Group, error)

Index mocks base method

func (*MockGroupService) RemoveHiddenGroup

func (m *MockGroupService) RemoveHiddenGroup(ctx context.Context, groupID string) ([]*group.Group, []*group.Group, error)

RemoveHiddenGroup mocks base method

func (*MockGroupService) RemoveUsers

func (m *MockGroupService) RemoveUsers(ctx context.Context, groupID string, userIDs []string) (*group.Group, error)

RemoveUsers mocks base method

func (*MockGroupService) Show

func (m *MockGroupService) Show(ctx context.Context, groupID string) (*group.Group, error)

Show mocks base method

func (*MockGroupService) Update

func (m *MockGroupService) Update(ctx context.Context, g *group.Group, userIDs []string) (*group.Group, error)

Update mocks base method

func (*MockGroupService) UploadThumbnail

func (m *MockGroupService) UploadThumbnail(ctx context.Context, data []byte) (string, error)

UploadThumbnail mocks base method

type MockGroupServiceMockRecorder

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

MockGroupServiceMockRecorder is the mock recorder for MockGroupService

func (*MockGroupServiceMockRecorder) AddHiddenGroup

func (mr *MockGroupServiceMockRecorder) AddHiddenGroup(ctx, groupID interface{}) *gomock.Call

AddHiddenGroup indicates an expected call of AddHiddenGroup

func (*MockGroupServiceMockRecorder) AddUsers

func (mr *MockGroupServiceMockRecorder) AddUsers(ctx, groupID, userIDs interface{}) *gomock.Call

AddUsers indicates an expected call of AddUsers

func (*MockGroupServiceMockRecorder) ContainsUserID

func (mr *MockGroupServiceMockRecorder) ContainsUserID(ctx, g, userID interface{}) *gomock.Call

ContainsUserID indicates an expected call of ContainsUserID

func (*MockGroupServiceMockRecorder) Create

func (mr *MockGroupServiceMockRecorder) Create(ctx, g interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockGroupServiceMockRecorder) Destroy

func (mr *MockGroupServiceMockRecorder) Destroy(ctx, groupID interface{}) *gomock.Call

Destroy indicates an expected call of Destroy

func (*MockGroupServiceMockRecorder) Index

func (mr *MockGroupServiceMockRecorder) Index(ctx, u interface{}) *gomock.Call

Index indicates an expected call of Index

func (*MockGroupServiceMockRecorder) RemoveHiddenGroup

func (mr *MockGroupServiceMockRecorder) RemoveHiddenGroup(ctx, groupID interface{}) *gomock.Call

RemoveHiddenGroup indicates an expected call of RemoveHiddenGroup

func (*MockGroupServiceMockRecorder) RemoveUsers

func (mr *MockGroupServiceMockRecorder) RemoveUsers(ctx, groupID, userIDs interface{}) *gomock.Call

RemoveUsers indicates an expected call of RemoveUsers

func (*MockGroupServiceMockRecorder) Show

func (mr *MockGroupServiceMockRecorder) Show(ctx, groupID interface{}) *gomock.Call

Show indicates an expected call of Show

func (*MockGroupServiceMockRecorder) Update

func (mr *MockGroupServiceMockRecorder) Update(ctx, g, userIDs interface{}) *gomock.Call

Update indicates an expected call of Update

func (*MockGroupServiceMockRecorder) UploadThumbnail

func (mr *MockGroupServiceMockRecorder) UploadThumbnail(ctx, data interface{}) *gomock.Call

UploadThumbnail indicates an expected call of UploadThumbnail

type MockGroupUploader

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

MockGroupUploader is a mock of GroupUploader interface

func NewMockGroupUploader

func NewMockGroupUploader(ctrl *gomock.Controller) *MockGroupUploader

NewMockGroupUploader creates a new mock instance

func (*MockGroupUploader) EXPECT

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

func (*MockGroupUploader) UploadThumbnail

func (m *MockGroupUploader) UploadThumbnail(tx context.Context, data []byte) (string, error)

UploadThumbnail mocks base method

type MockGroupUploaderMockRecorder

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

MockGroupUploaderMockRecorder is the mock recorder for MockGroupUploader

func (*MockGroupUploaderMockRecorder) UploadThumbnail

func (mr *MockGroupUploaderMockRecorder) UploadThumbnail(tx, data interface{}) *gomock.Call

UploadThumbnail indicates an expected call of UploadThumbnail

Jump to

Keyboard shortcuts

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