mock_projects_cla_groups

package
v0.0.0-...-0c3f707 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_projects_cla_groups is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRepository

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

MockRepository is a mock of Repository interface.

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance.

func (*MockRepository) AssociateClaGroupWithProject

func (m *MockRepository) AssociateClaGroupWithProject(ctx context.Context, claGroupID, projectSFID, foundationSFID string) error

AssociateClaGroupWithProject mocks base method.

func (*MockRepository) EXPECT

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

func (*MockRepository) GetCLAGroup

func (m *MockRepository) GetCLAGroup(ctx context.Context, claGroupID string) (*projects_cla_groups.ProjectClaGroup, error)

GetCLAGroup mocks base method.

func (*MockRepository) GetCLAGroupNameByID

func (m *MockRepository) GetCLAGroupNameByID(ctx context.Context, claGroupID string) (string, error)

GetCLAGroupNameByID mocks base method.

func (*MockRepository) GetClaGroupIDForProject

func (m *MockRepository) GetClaGroupIDForProject(ctx context.Context, projectSFID string) (*projects_cla_groups.ProjectClaGroup, error)

GetClaGroupIDForProject mocks base method.

func (*MockRepository) GetProjectsIdsForAllFoundation

func (m *MockRepository) GetProjectsIdsForAllFoundation(ctx context.Context) ([]*projects_cla_groups.ProjectClaGroup, error)

GetProjectsIdsForAllFoundation mocks base method.

func (*MockRepository) GetProjectsIdsForClaGroup

func (m *MockRepository) GetProjectsIdsForClaGroup(ctx context.Context, claGroupID string) ([]*projects_cla_groups.ProjectClaGroup, error)

GetProjectsIdsForClaGroup mocks base method.

func (*MockRepository) GetProjectsIdsForFoundation

func (m *MockRepository) GetProjectsIdsForFoundation(ctx context.Context, foundationSFID string) ([]*projects_cla_groups.ProjectClaGroup, error)

GetProjectsIdsForFoundation mocks base method.

func (*MockRepository) IsAssociated

func (m *MockRepository) IsAssociated(ctx context.Context, projectSFID, claGroupID string) (bool, error)

IsAssociated mocks base method.

func (*MockRepository) IsExistingFoundationLevelCLAGroup

func (m *MockRepository) IsExistingFoundationLevelCLAGroup(ctx context.Context, foundationSFID string) (bool, error)

IsExistingFoundationLevelCLAGroup mocks base method.

func (*MockRepository) RemoveProjectAssociatedWithClaGroup

func (m *MockRepository) RemoveProjectAssociatedWithClaGroup(ctx context.Context, claGroupID string, projectSFIDList []string, all bool) error

RemoveProjectAssociatedWithClaGroup mocks base method.

func (*MockRepository) UpdateClaGroupName

func (m *MockRepository) UpdateClaGroupName(ctx context.Context, projectSFID, claGroupName string) error

UpdateClaGroupName mocks base method.

func (*MockRepository) UpdateRepositoriesCount

func (m *MockRepository) UpdateRepositoriesCount(ctx context.Context, projectSFID string, diff int64, reset bool) error

UpdateRepositoriesCount mocks base method.

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) AssociateClaGroupWithProject

func (mr *MockRepositoryMockRecorder) AssociateClaGroupWithProject(ctx, claGroupID, projectSFID, foundationSFID interface{}) *gomock.Call

AssociateClaGroupWithProject indicates an expected call of AssociateClaGroupWithProject.

func (*MockRepositoryMockRecorder) GetCLAGroup

func (mr *MockRepositoryMockRecorder) GetCLAGroup(ctx, claGroupID interface{}) *gomock.Call

GetCLAGroup indicates an expected call of GetCLAGroup.

func (*MockRepositoryMockRecorder) GetCLAGroupNameByID

func (mr *MockRepositoryMockRecorder) GetCLAGroupNameByID(ctx, claGroupID interface{}) *gomock.Call

GetCLAGroupNameByID indicates an expected call of GetCLAGroupNameByID.

func (*MockRepositoryMockRecorder) GetClaGroupIDForProject

func (mr *MockRepositoryMockRecorder) GetClaGroupIDForProject(ctx, projectSFID interface{}) *gomock.Call

GetClaGroupIDForProject indicates an expected call of GetClaGroupIDForProject.

func (*MockRepositoryMockRecorder) GetProjectsIdsForAllFoundation

func (mr *MockRepositoryMockRecorder) GetProjectsIdsForAllFoundation(ctx interface{}) *gomock.Call

GetProjectsIdsForAllFoundation indicates an expected call of GetProjectsIdsForAllFoundation.

func (*MockRepositoryMockRecorder) GetProjectsIdsForClaGroup

func (mr *MockRepositoryMockRecorder) GetProjectsIdsForClaGroup(ctx, claGroupID interface{}) *gomock.Call

GetProjectsIdsForClaGroup indicates an expected call of GetProjectsIdsForClaGroup.

func (*MockRepositoryMockRecorder) GetProjectsIdsForFoundation

func (mr *MockRepositoryMockRecorder) GetProjectsIdsForFoundation(ctx, foundationSFID interface{}) *gomock.Call

GetProjectsIdsForFoundation indicates an expected call of GetProjectsIdsForFoundation.

func (*MockRepositoryMockRecorder) IsAssociated

func (mr *MockRepositoryMockRecorder) IsAssociated(ctx, projectSFID, claGroupID interface{}) *gomock.Call

IsAssociated indicates an expected call of IsAssociated.

func (*MockRepositoryMockRecorder) IsExistingFoundationLevelCLAGroup

func (mr *MockRepositoryMockRecorder) IsExistingFoundationLevelCLAGroup(ctx, foundationSFID interface{}) *gomock.Call

IsExistingFoundationLevelCLAGroup indicates an expected call of IsExistingFoundationLevelCLAGroup.

func (*MockRepositoryMockRecorder) RemoveProjectAssociatedWithClaGroup

func (mr *MockRepositoryMockRecorder) RemoveProjectAssociatedWithClaGroup(ctx, claGroupID, projectSFIDList, all interface{}) *gomock.Call

RemoveProjectAssociatedWithClaGroup indicates an expected call of RemoveProjectAssociatedWithClaGroup.

func (*MockRepositoryMockRecorder) UpdateClaGroupName

func (mr *MockRepositoryMockRecorder) UpdateClaGroupName(ctx, projectSFID, claGroupName interface{}) *gomock.Call

UpdateClaGroupName indicates an expected call of UpdateClaGroupName.

func (*MockRepositoryMockRecorder) UpdateRepositoriesCount

func (mr *MockRepositoryMockRecorder) UpdateRepositoriesCount(ctx, projectSFID, diff, reset interface{}) *gomock.Call

UpdateRepositoriesCount indicates an expected call of UpdateRepositoriesCount.

Jump to

Keyboard shortcuts

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