Documentation ¶
Overview ¶
Package mock_company is a generated GoMock package.
Package mock_company is a generated GoMock package.
Index ¶
- type MockIRepository
- func (m *MockIRepository) AddPendingCompanyInviteRequest(ctx context.Context, companyID string, userModel user.User) (*company.Invite, error)
- func (m *MockIRepository) ApproveCompanyAccessRequest(ctx context.Context, companyInviteID string) error
- func (m *MockIRepository) CreateCompany(ctx context.Context, in *models.Company) (*models.Company, error)
- func (m *MockIRepository) DeleteCompanyByID(ctx context.Context, companyID string) error
- func (m *MockIRepository) DeleteCompanyBySFID(ctx context.Context, companySFID string) error
- func (m *MockIRepository) EXPECT() *MockIRepositoryMockRecorder
- func (m *MockIRepository) GetCompanies(ctx context.Context) (*models.Companies, error)
- func (m *MockIRepository) GetCompaniesByExternalID(ctx context.Context, companySFID string, includeChildCompanies bool) ([]*models.Company, error)
- func (m *MockIRepository) GetCompaniesByUserManager(ctx context.Context, userID string, userModel user.User) (*models.Companies, error)
- func (m *MockIRepository) GetCompaniesByUserManagerWithInvites(ctx context.Context, userID string, userModel user.User) (*models.CompaniesWithInvites, error)
- func (m *MockIRepository) GetCompany(ctx context.Context, companyID string) (*models.Company, error)
- func (m *MockIRepository) GetCompanyByExternalID(ctx context.Context, companySFID string) (*models.Company, error)
- func (m *MockIRepository) GetCompanyByName(ctx context.Context, companyName string) (*models.Company, error)
- func (m *MockIRepository) GetCompanyBySigningEntityName(ctx context.Context, signingEntityName string) (*models.Company, error)
- func (m *MockIRepository) GetCompanyInviteRequest(ctx context.Context, companyInviteID string) (*company.Invite, error)
- func (m *MockIRepository) GetCompanyInviteRequests(ctx context.Context, companyID string, status *string) ([]company.Invite, error)
- func (m *MockIRepository) GetCompanyUserInviteRequests(ctx context.Context, companyID, userID string) (*company.Invite, error)
- func (m *MockIRepository) GetUserInviteRequests(ctx context.Context, userID string) ([]company.Invite, error)
- func (m *MockIRepository) IsCCLAEnabledForCompany(ctx context.Context, companyID string) (bool, error)
- func (m *MockIRepository) RejectCompanyAccessRequest(ctx context.Context, companyInviteID string) error
- func (m *MockIRepository) SearchCompanyByName(ctx context.Context, companyName, nextKey string) (*models.Companies, error)
- func (m *MockIRepository) UpdateCompanyAccessList(ctx context.Context, companyID string, companyACL []string) error
- type MockIRepositoryMockRecorder
- func (mr *MockIRepositoryMockRecorder) AddPendingCompanyInviteRequest(ctx, companyID, userModel interface{}) *gomock.Call
- func (mr *MockIRepositoryMockRecorder) ApproveCompanyAccessRequest(ctx, companyInviteID interface{}) *gomock.Call
- func (mr *MockIRepositoryMockRecorder) CreateCompany(ctx, in interface{}) *gomock.Call
- func (mr *MockIRepositoryMockRecorder) DeleteCompanyByID(ctx, companyID interface{}) *gomock.Call
- func (mr *MockIRepositoryMockRecorder) DeleteCompanyBySFID(ctx, companySFID interface{}) *gomock.Call
- func (mr *MockIRepositoryMockRecorder) GetCompanies(ctx interface{}) *gomock.Call
- func (mr *MockIRepositoryMockRecorder) GetCompaniesByExternalID(ctx, companySFID, includeChildCompanies interface{}) *gomock.Call
- func (mr *MockIRepositoryMockRecorder) GetCompaniesByUserManager(ctx, userID, userModel interface{}) *gomock.Call
- func (mr *MockIRepositoryMockRecorder) GetCompaniesByUserManagerWithInvites(ctx, userID, userModel interface{}) *gomock.Call
- func (mr *MockIRepositoryMockRecorder) GetCompany(ctx, companyID interface{}) *gomock.Call
- func (mr *MockIRepositoryMockRecorder) GetCompanyByExternalID(ctx, companySFID interface{}) *gomock.Call
- func (mr *MockIRepositoryMockRecorder) GetCompanyByName(ctx, companyName interface{}) *gomock.Call
- func (mr *MockIRepositoryMockRecorder) GetCompanyBySigningEntityName(ctx, signingEntityName interface{}) *gomock.Call
- func (mr *MockIRepositoryMockRecorder) GetCompanyInviteRequest(ctx, companyInviteID interface{}) *gomock.Call
- func (mr *MockIRepositoryMockRecorder) GetCompanyInviteRequests(ctx, companyID, status interface{}) *gomock.Call
- func (mr *MockIRepositoryMockRecorder) GetCompanyUserInviteRequests(ctx, companyID, userID interface{}) *gomock.Call
- func (mr *MockIRepositoryMockRecorder) GetUserInviteRequests(ctx, userID interface{}) *gomock.Call
- func (mr *MockIRepositoryMockRecorder) IsCCLAEnabledForCompany(ctx, companyID interface{}) *gomock.Call
- func (mr *MockIRepositoryMockRecorder) RejectCompanyAccessRequest(ctx, companyInviteID interface{}) *gomock.Call
- func (mr *MockIRepositoryMockRecorder) SearchCompanyByName(ctx, companyName, nextKey interface{}) *gomock.Call
- func (mr *MockIRepositoryMockRecorder) UpdateCompanyAccessList(ctx, companyID, companyACL interface{}) *gomock.Call
- type MockIService
- func (m *MockIService) AddPendingCompanyInviteRequest(ctx context.Context, companyID, userID string) (*company.InviteModel, error)
- func (m *MockIService) AddUserToCompanyAccessList(ctx context.Context, companyID, lfid string) error
- func (m *MockIService) ApproveCompanyAccessRequest(ctx context.Context, companyInviteID string) (*company.InviteModel, error)
- func (m *MockIService) CreateOrgFromExternalID(ctx context.Context, signingEntityName, companySFID string) (*models.Company, error)
- func (m *MockIService) EXPECT() *MockIServiceMockRecorder
- func (m *MockIService) GetCompanies(ctx context.Context) (*models.Companies, error)
- func (m *MockIService) GetCompaniesByExternalID(ctx context.Context, companySFID string, includeChildCompanies bool) ([]*models.Company, error)
- func (m *MockIService) GetCompaniesByUserManager(ctx context.Context, userID string) (*models.Companies, error)
- func (m *MockIService) GetCompaniesByUserManagerWithInvites(ctx context.Context, userID string) (*models.CompaniesWithInvites, error)
- func (m *MockIService) GetCompany(ctx context.Context, companyID string) (*models.Company, error)
- func (m *MockIService) GetCompanyByExternalID(ctx context.Context, companySFID string) (*models.Company, error)
- func (m *MockIService) GetCompanyBySigningEntityName(ctx context.Context, signingEntityName, companySFID string) (*models.Company, error)
- func (m *MockIService) GetCompanyInviteRequests(ctx context.Context, companyID string, status *string) ([]models.CompanyInviteUser, error)
- func (m *MockIService) GetCompanyUserInviteRequests(ctx context.Context, companyID, userID string) (*models.CompanyInviteUser, error)
- func (m *MockIService) IsCCLAEnabledForCompany(ctx context.Context, companySFID string) (bool, error)
- func (m *MockIService) RejectCompanyAccessRequest(ctx context.Context, companyInviteID string) (*company.InviteModel, error)
- func (m *MockIService) SearchCompanyByName(ctx context.Context, companyName, nextKey string) (*models.Companies, error)
- func (m *MockIService) SearchOrganizationByName(ctx context.Context, orgName, websiteName string, ...) (*models.OrgList, error)
- type MockIServiceMockRecorder
- func (mr *MockIServiceMockRecorder) AddPendingCompanyInviteRequest(ctx, companyID, userID interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) AddUserToCompanyAccessList(ctx, companyID, lfid interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) ApproveCompanyAccessRequest(ctx, companyInviteID interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) CreateOrgFromExternalID(ctx, signingEntityName, companySFID interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) GetCompanies(ctx interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) GetCompaniesByExternalID(ctx, companySFID, includeChildCompanies interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) GetCompaniesByUserManager(ctx, userID interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) GetCompaniesByUserManagerWithInvites(ctx, userID interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) GetCompany(ctx, companyID interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) GetCompanyByExternalID(ctx, companySFID interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) GetCompanyBySigningEntityName(ctx, signingEntityName, companySFID interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) GetCompanyInviteRequests(ctx, companyID, status interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) GetCompanyUserInviteRequests(ctx, companyID, userID interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) IsCCLAEnabledForCompany(ctx, companySFID interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) RejectCompanyAccessRequest(ctx, companyInviteID interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) SearchCompanyByName(ctx, companyName, nextKey interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) SearchOrganizationByName(ctx, orgName, websiteName, includeSigningEntityName, filter interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIRepository ¶
type MockIRepository struct {
// contains filtered or unexported fields
}
MockIRepository is a mock of IRepository interface.
func NewMockIRepository ¶
func NewMockIRepository(ctrl *gomock.Controller) *MockIRepository
NewMockIRepository creates a new mock instance.
func (*MockIRepository) AddPendingCompanyInviteRequest ¶
func (m *MockIRepository) AddPendingCompanyInviteRequest(ctx context.Context, companyID string, userModel user.User) (*company.Invite, error)
AddPendingCompanyInviteRequest mocks base method.
func (*MockIRepository) ApproveCompanyAccessRequest ¶
func (m *MockIRepository) ApproveCompanyAccessRequest(ctx context.Context, companyInviteID string) error
ApproveCompanyAccessRequest mocks base method.
func (*MockIRepository) CreateCompany ¶
func (m *MockIRepository) CreateCompany(ctx context.Context, in *models.Company) (*models.Company, error)
CreateCompany mocks base method.
func (*MockIRepository) DeleteCompanyByID ¶
func (m *MockIRepository) DeleteCompanyByID(ctx context.Context, companyID string) error
DeleteCompanyByID mocks base method.
func (*MockIRepository) DeleteCompanyBySFID ¶
func (m *MockIRepository) DeleteCompanyBySFID(ctx context.Context, companySFID string) error
DeleteCompanyBySFID mocks base method.
func (*MockIRepository) EXPECT ¶
func (m *MockIRepository) EXPECT() *MockIRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIRepository) GetCompanies ¶
GetCompanies mocks base method.
func (*MockIRepository) GetCompaniesByExternalID ¶
func (m *MockIRepository) GetCompaniesByExternalID(ctx context.Context, companySFID string, includeChildCompanies bool) ([]*models.Company, error)
GetCompaniesByExternalID mocks base method.
func (*MockIRepository) GetCompaniesByUserManager ¶
func (m *MockIRepository) GetCompaniesByUserManager(ctx context.Context, userID string, userModel user.User) (*models.Companies, error)
GetCompaniesByUserManager mocks base method.
func (*MockIRepository) GetCompaniesByUserManagerWithInvites ¶
func (m *MockIRepository) GetCompaniesByUserManagerWithInvites(ctx context.Context, userID string, userModel user.User) (*models.CompaniesWithInvites, error)
GetCompaniesByUserManagerWithInvites mocks base method.
func (*MockIRepository) GetCompany ¶
func (m *MockIRepository) GetCompany(ctx context.Context, companyID string) (*models.Company, error)
GetCompany mocks base method.
func (*MockIRepository) GetCompanyByExternalID ¶
func (m *MockIRepository) GetCompanyByExternalID(ctx context.Context, companySFID string) (*models.Company, error)
GetCompanyByExternalID mocks base method.
func (*MockIRepository) GetCompanyByName ¶
func (m *MockIRepository) GetCompanyByName(ctx context.Context, companyName string) (*models.Company, error)
GetCompanyByName mocks base method.
func (*MockIRepository) GetCompanyBySigningEntityName ¶
func (m *MockIRepository) GetCompanyBySigningEntityName(ctx context.Context, signingEntityName string) (*models.Company, error)
GetCompanyBySigningEntityName mocks base method.
func (*MockIRepository) GetCompanyInviteRequest ¶
func (m *MockIRepository) GetCompanyInviteRequest(ctx context.Context, companyInviteID string) (*company.Invite, error)
GetCompanyInviteRequest mocks base method.
func (*MockIRepository) GetCompanyInviteRequests ¶
func (m *MockIRepository) GetCompanyInviteRequests(ctx context.Context, companyID string, status *string) ([]company.Invite, error)
GetCompanyInviteRequests mocks base method.
func (*MockIRepository) GetCompanyUserInviteRequests ¶
func (m *MockIRepository) GetCompanyUserInviteRequests(ctx context.Context, companyID, userID string) (*company.Invite, error)
GetCompanyUserInviteRequests mocks base method.
func (*MockIRepository) GetUserInviteRequests ¶
func (m *MockIRepository) GetUserInviteRequests(ctx context.Context, userID string) ([]company.Invite, error)
GetUserInviteRequests mocks base method.
func (*MockIRepository) IsCCLAEnabledForCompany ¶
func (m *MockIRepository) IsCCLAEnabledForCompany(ctx context.Context, companyID string) (bool, error)
IsCCLAEnabledForCompany mocks base method.
func (*MockIRepository) RejectCompanyAccessRequest ¶
func (m *MockIRepository) RejectCompanyAccessRequest(ctx context.Context, companyInviteID string) error
RejectCompanyAccessRequest mocks base method.
func (*MockIRepository) SearchCompanyByName ¶
func (m *MockIRepository) SearchCompanyByName(ctx context.Context, companyName, nextKey string) (*models.Companies, error)
SearchCompanyByName mocks base method.
func (*MockIRepository) UpdateCompanyAccessList ¶
func (m *MockIRepository) UpdateCompanyAccessList(ctx context.Context, companyID string, companyACL []string) error
UpdateCompanyAccessList mocks base method.
type MockIRepositoryMockRecorder ¶
type MockIRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockIRepositoryMockRecorder is the mock recorder for MockIRepository.
func (*MockIRepositoryMockRecorder) AddPendingCompanyInviteRequest ¶
func (mr *MockIRepositoryMockRecorder) AddPendingCompanyInviteRequest(ctx, companyID, userModel interface{}) *gomock.Call
AddPendingCompanyInviteRequest indicates an expected call of AddPendingCompanyInviteRequest.
func (*MockIRepositoryMockRecorder) ApproveCompanyAccessRequest ¶
func (mr *MockIRepositoryMockRecorder) ApproveCompanyAccessRequest(ctx, companyInviteID interface{}) *gomock.Call
ApproveCompanyAccessRequest indicates an expected call of ApproveCompanyAccessRequest.
func (*MockIRepositoryMockRecorder) CreateCompany ¶
func (mr *MockIRepositoryMockRecorder) CreateCompany(ctx, in interface{}) *gomock.Call
CreateCompany indicates an expected call of CreateCompany.
func (*MockIRepositoryMockRecorder) DeleteCompanyByID ¶
func (mr *MockIRepositoryMockRecorder) DeleteCompanyByID(ctx, companyID interface{}) *gomock.Call
DeleteCompanyByID indicates an expected call of DeleteCompanyByID.
func (*MockIRepositoryMockRecorder) DeleteCompanyBySFID ¶
func (mr *MockIRepositoryMockRecorder) DeleteCompanyBySFID(ctx, companySFID interface{}) *gomock.Call
DeleteCompanyBySFID indicates an expected call of DeleteCompanyBySFID.
func (*MockIRepositoryMockRecorder) GetCompanies ¶
func (mr *MockIRepositoryMockRecorder) GetCompanies(ctx interface{}) *gomock.Call
GetCompanies indicates an expected call of GetCompanies.
func (*MockIRepositoryMockRecorder) GetCompaniesByExternalID ¶
func (mr *MockIRepositoryMockRecorder) GetCompaniesByExternalID(ctx, companySFID, includeChildCompanies interface{}) *gomock.Call
GetCompaniesByExternalID indicates an expected call of GetCompaniesByExternalID.
func (*MockIRepositoryMockRecorder) GetCompaniesByUserManager ¶
func (mr *MockIRepositoryMockRecorder) GetCompaniesByUserManager(ctx, userID, userModel interface{}) *gomock.Call
GetCompaniesByUserManager indicates an expected call of GetCompaniesByUserManager.
func (*MockIRepositoryMockRecorder) GetCompaniesByUserManagerWithInvites ¶
func (mr *MockIRepositoryMockRecorder) GetCompaniesByUserManagerWithInvites(ctx, userID, userModel interface{}) *gomock.Call
GetCompaniesByUserManagerWithInvites indicates an expected call of GetCompaniesByUserManagerWithInvites.
func (*MockIRepositoryMockRecorder) GetCompany ¶
func (mr *MockIRepositoryMockRecorder) GetCompany(ctx, companyID interface{}) *gomock.Call
GetCompany indicates an expected call of GetCompany.
func (*MockIRepositoryMockRecorder) GetCompanyByExternalID ¶
func (mr *MockIRepositoryMockRecorder) GetCompanyByExternalID(ctx, companySFID interface{}) *gomock.Call
GetCompanyByExternalID indicates an expected call of GetCompanyByExternalID.
func (*MockIRepositoryMockRecorder) GetCompanyByName ¶
func (mr *MockIRepositoryMockRecorder) GetCompanyByName(ctx, companyName interface{}) *gomock.Call
GetCompanyByName indicates an expected call of GetCompanyByName.
func (*MockIRepositoryMockRecorder) GetCompanyBySigningEntityName ¶
func (mr *MockIRepositoryMockRecorder) GetCompanyBySigningEntityName(ctx, signingEntityName interface{}) *gomock.Call
GetCompanyBySigningEntityName indicates an expected call of GetCompanyBySigningEntityName.
func (*MockIRepositoryMockRecorder) GetCompanyInviteRequest ¶
func (mr *MockIRepositoryMockRecorder) GetCompanyInviteRequest(ctx, companyInviteID interface{}) *gomock.Call
GetCompanyInviteRequest indicates an expected call of GetCompanyInviteRequest.
func (*MockIRepositoryMockRecorder) GetCompanyInviteRequests ¶
func (mr *MockIRepositoryMockRecorder) GetCompanyInviteRequests(ctx, companyID, status interface{}) *gomock.Call
GetCompanyInviteRequests indicates an expected call of GetCompanyInviteRequests.
func (*MockIRepositoryMockRecorder) GetCompanyUserInviteRequests ¶
func (mr *MockIRepositoryMockRecorder) GetCompanyUserInviteRequests(ctx, companyID, userID interface{}) *gomock.Call
GetCompanyUserInviteRequests indicates an expected call of GetCompanyUserInviteRequests.
func (*MockIRepositoryMockRecorder) GetUserInviteRequests ¶
func (mr *MockIRepositoryMockRecorder) GetUserInviteRequests(ctx, userID interface{}) *gomock.Call
GetUserInviteRequests indicates an expected call of GetUserInviteRequests.
func (*MockIRepositoryMockRecorder) IsCCLAEnabledForCompany ¶
func (mr *MockIRepositoryMockRecorder) IsCCLAEnabledForCompany(ctx, companyID interface{}) *gomock.Call
IsCCLAEnabledForCompany indicates an expected call of IsCCLAEnabledForCompany.
func (*MockIRepositoryMockRecorder) RejectCompanyAccessRequest ¶
func (mr *MockIRepositoryMockRecorder) RejectCompanyAccessRequest(ctx, companyInviteID interface{}) *gomock.Call
RejectCompanyAccessRequest indicates an expected call of RejectCompanyAccessRequest.
func (*MockIRepositoryMockRecorder) SearchCompanyByName ¶
func (mr *MockIRepositoryMockRecorder) SearchCompanyByName(ctx, companyName, nextKey interface{}) *gomock.Call
SearchCompanyByName indicates an expected call of SearchCompanyByName.
func (*MockIRepositoryMockRecorder) UpdateCompanyAccessList ¶
func (mr *MockIRepositoryMockRecorder) UpdateCompanyAccessList(ctx, companyID, companyACL interface{}) *gomock.Call
UpdateCompanyAccessList indicates an expected call of UpdateCompanyAccessList.
type MockIService ¶
type MockIService struct {
// contains filtered or unexported fields
}
MockIService is a mock of IService interface.
func NewMockIService ¶
func NewMockIService(ctrl *gomock.Controller) *MockIService
NewMockIService creates a new mock instance.
func (*MockIService) AddPendingCompanyInviteRequest ¶
func (m *MockIService) AddPendingCompanyInviteRequest(ctx context.Context, companyID, userID string) (*company.InviteModel, error)
AddPendingCompanyInviteRequest mocks base method.
func (*MockIService) AddUserToCompanyAccessList ¶
func (m *MockIService) AddUserToCompanyAccessList(ctx context.Context, companyID, lfid string) error
AddUserToCompanyAccessList mocks base method.
func (*MockIService) ApproveCompanyAccessRequest ¶
func (m *MockIService) ApproveCompanyAccessRequest(ctx context.Context, companyInviteID string) (*company.InviteModel, error)
ApproveCompanyAccessRequest mocks base method.
func (*MockIService) CreateOrgFromExternalID ¶
func (m *MockIService) CreateOrgFromExternalID(ctx context.Context, signingEntityName, companySFID string) (*models.Company, error)
CreateOrgFromExternalID mocks base method.
func (*MockIService) EXPECT ¶
func (m *MockIService) EXPECT() *MockIServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIService) GetCompanies ¶
GetCompanies mocks base method.
func (*MockIService) GetCompaniesByExternalID ¶
func (m *MockIService) GetCompaniesByExternalID(ctx context.Context, companySFID string, includeChildCompanies bool) ([]*models.Company, error)
GetCompaniesByExternalID mocks base method.
func (*MockIService) GetCompaniesByUserManager ¶
func (m *MockIService) GetCompaniesByUserManager(ctx context.Context, userID string) (*models.Companies, error)
GetCompaniesByUserManager mocks base method.
func (*MockIService) GetCompaniesByUserManagerWithInvites ¶
func (m *MockIService) GetCompaniesByUserManagerWithInvites(ctx context.Context, userID string) (*models.CompaniesWithInvites, error)
GetCompaniesByUserManagerWithInvites mocks base method.
func (*MockIService) GetCompany ¶
GetCompany mocks base method.
func (*MockIService) GetCompanyByExternalID ¶
func (m *MockIService) GetCompanyByExternalID(ctx context.Context, companySFID string) (*models.Company, error)
GetCompanyByExternalID mocks base method.
func (*MockIService) GetCompanyBySigningEntityName ¶
func (m *MockIService) GetCompanyBySigningEntityName(ctx context.Context, signingEntityName, companySFID string) (*models.Company, error)
GetCompanyBySigningEntityName mocks base method.
func (*MockIService) GetCompanyInviteRequests ¶
func (m *MockIService) GetCompanyInviteRequests(ctx context.Context, companyID string, status *string) ([]models.CompanyInviteUser, error)
GetCompanyInviteRequests mocks base method.
func (*MockIService) GetCompanyUserInviteRequests ¶
func (m *MockIService) GetCompanyUserInviteRequests(ctx context.Context, companyID, userID string) (*models.CompanyInviteUser, error)
GetCompanyUserInviteRequests mocks base method.
func (*MockIService) IsCCLAEnabledForCompany ¶
func (m *MockIService) IsCCLAEnabledForCompany(ctx context.Context, companySFID string) (bool, error)
IsCCLAEnabledForCompany mocks base method.
func (*MockIService) RejectCompanyAccessRequest ¶
func (m *MockIService) RejectCompanyAccessRequest(ctx context.Context, companyInviteID string) (*company.InviteModel, error)
RejectCompanyAccessRequest mocks base method.
func (*MockIService) SearchCompanyByName ¶
func (m *MockIService) SearchCompanyByName(ctx context.Context, companyName, nextKey string) (*models.Companies, error)
SearchCompanyByName mocks base method.
type MockIServiceMockRecorder ¶
type MockIServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockIServiceMockRecorder is the mock recorder for MockIService.
func (*MockIServiceMockRecorder) AddPendingCompanyInviteRequest ¶
func (mr *MockIServiceMockRecorder) AddPendingCompanyInviteRequest(ctx, companyID, userID interface{}) *gomock.Call
AddPendingCompanyInviteRequest indicates an expected call of AddPendingCompanyInviteRequest.
func (*MockIServiceMockRecorder) AddUserToCompanyAccessList ¶
func (mr *MockIServiceMockRecorder) AddUserToCompanyAccessList(ctx, companyID, lfid interface{}) *gomock.Call
AddUserToCompanyAccessList indicates an expected call of AddUserToCompanyAccessList.
func (*MockIServiceMockRecorder) ApproveCompanyAccessRequest ¶
func (mr *MockIServiceMockRecorder) ApproveCompanyAccessRequest(ctx, companyInviteID interface{}) *gomock.Call
ApproveCompanyAccessRequest indicates an expected call of ApproveCompanyAccessRequest.
func (*MockIServiceMockRecorder) CreateOrgFromExternalID ¶
func (mr *MockIServiceMockRecorder) CreateOrgFromExternalID(ctx, signingEntityName, companySFID interface{}) *gomock.Call
CreateOrgFromExternalID indicates an expected call of CreateOrgFromExternalID.
func (*MockIServiceMockRecorder) GetCompanies ¶
func (mr *MockIServiceMockRecorder) GetCompanies(ctx interface{}) *gomock.Call
GetCompanies indicates an expected call of GetCompanies.
func (*MockIServiceMockRecorder) GetCompaniesByExternalID ¶
func (mr *MockIServiceMockRecorder) GetCompaniesByExternalID(ctx, companySFID, includeChildCompanies interface{}) *gomock.Call
GetCompaniesByExternalID indicates an expected call of GetCompaniesByExternalID.
func (*MockIServiceMockRecorder) GetCompaniesByUserManager ¶
func (mr *MockIServiceMockRecorder) GetCompaniesByUserManager(ctx, userID interface{}) *gomock.Call
GetCompaniesByUserManager indicates an expected call of GetCompaniesByUserManager.
func (*MockIServiceMockRecorder) GetCompaniesByUserManagerWithInvites ¶
func (mr *MockIServiceMockRecorder) GetCompaniesByUserManagerWithInvites(ctx, userID interface{}) *gomock.Call
GetCompaniesByUserManagerWithInvites indicates an expected call of GetCompaniesByUserManagerWithInvites.
func (*MockIServiceMockRecorder) GetCompany ¶
func (mr *MockIServiceMockRecorder) GetCompany(ctx, companyID interface{}) *gomock.Call
GetCompany indicates an expected call of GetCompany.
func (*MockIServiceMockRecorder) GetCompanyByExternalID ¶
func (mr *MockIServiceMockRecorder) GetCompanyByExternalID(ctx, companySFID interface{}) *gomock.Call
GetCompanyByExternalID indicates an expected call of GetCompanyByExternalID.
func (*MockIServiceMockRecorder) GetCompanyBySigningEntityName ¶
func (mr *MockIServiceMockRecorder) GetCompanyBySigningEntityName(ctx, signingEntityName, companySFID interface{}) *gomock.Call
GetCompanyBySigningEntityName indicates an expected call of GetCompanyBySigningEntityName.
func (*MockIServiceMockRecorder) GetCompanyInviteRequests ¶
func (mr *MockIServiceMockRecorder) GetCompanyInviteRequests(ctx, companyID, status interface{}) *gomock.Call
GetCompanyInviteRequests indicates an expected call of GetCompanyInviteRequests.
func (*MockIServiceMockRecorder) GetCompanyUserInviteRequests ¶
func (mr *MockIServiceMockRecorder) GetCompanyUserInviteRequests(ctx, companyID, userID interface{}) *gomock.Call
GetCompanyUserInviteRequests indicates an expected call of GetCompanyUserInviteRequests.
func (*MockIServiceMockRecorder) IsCCLAEnabledForCompany ¶
func (mr *MockIServiceMockRecorder) IsCCLAEnabledForCompany(ctx, companySFID interface{}) *gomock.Call
IsCCLAEnabledForCompany indicates an expected call of IsCCLAEnabledForCompany.
func (*MockIServiceMockRecorder) RejectCompanyAccessRequest ¶
func (mr *MockIServiceMockRecorder) RejectCompanyAccessRequest(ctx, companyInviteID interface{}) *gomock.Call
RejectCompanyAccessRequest indicates an expected call of RejectCompanyAccessRequest.
func (*MockIServiceMockRecorder) SearchCompanyByName ¶
func (mr *MockIServiceMockRecorder) SearchCompanyByName(ctx, companyName, nextKey interface{}) *gomock.Call
SearchCompanyByName indicates an expected call of SearchCompanyByName.
func (*MockIServiceMockRecorder) SearchOrganizationByName ¶
func (mr *MockIServiceMockRecorder) SearchOrganizationByName(ctx, orgName, websiteName, includeSigningEntityName, filter interface{}) *gomock.Call
SearchOrganizationByName indicates an expected call of SearchOrganizationByName.