Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockRepositoryInterface
- func (m *MockRepositoryInterface) AddGitHubOrganization(ctx context.Context, parentProjectSFID, projectSFID string, ...) (*models.GithubOrganization, error)
- func (m *MockRepositoryInterface) DeleteGitHubOrganization(ctx context.Context, projectSFID, githubOrgName string) error
- func (m *MockRepositoryInterface) DeleteGitHubOrganizationByParent(ctx context.Context, parentProjectSFID, githubOrgName string) error
- func (m *MockRepositoryInterface) EXPECT() *MockRepositoryInterfaceMockRecorder
- func (m *MockRepositoryInterface) GetGitHubOrganization(ctx context.Context, githubOrganizationName string) (*models.GithubOrganization, error)
- func (m *MockRepositoryInterface) GetGitHubOrganizationByName(ctx context.Context, githubOrganizationName string) (*models.GithubOrganizations, error)
- func (m *MockRepositoryInterface) GetGitHubOrganizations(ctx context.Context, projectSFID string) (*models.GithubOrganizations, error)
- func (m *MockRepositoryInterface) GetGitHubOrganizationsByParent(ctx context.Context, parentProjectSFID string) (*models.GithubOrganizations, error)
- func (m *MockRepositoryInterface) UpdateGitHubOrganization(ctx context.Context, projectSFID, organizationName string, autoEnabled bool, ...) error
- type MockRepositoryInterfaceMockRecorder
- func (mr *MockRepositoryInterfaceMockRecorder) AddGitHubOrganization(ctx, parentProjectSFID, projectSFID, input interface{}) *gomock.Call
- func (mr *MockRepositoryInterfaceMockRecorder) DeleteGitHubOrganization(ctx, projectSFID, githubOrgName interface{}) *gomock.Call
- func (mr *MockRepositoryInterfaceMockRecorder) DeleteGitHubOrganizationByParent(ctx, parentProjectSFID, githubOrgName interface{}) *gomock.Call
- func (mr *MockRepositoryInterfaceMockRecorder) GetGitHubOrganization(ctx, githubOrganizationName interface{}) *gomock.Call
- func (mr *MockRepositoryInterfaceMockRecorder) GetGitHubOrganizationByName(ctx, githubOrganizationName interface{}) *gomock.Call
- func (mr *MockRepositoryInterfaceMockRecorder) GetGitHubOrganizations(ctx, projectSFID interface{}) *gomock.Call
- func (mr *MockRepositoryInterfaceMockRecorder) GetGitHubOrganizationsByParent(ctx, parentProjectSFID interface{}) *gomock.Call
- func (mr *MockRepositoryInterfaceMockRecorder) UpdateGitHubOrganization(...) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepositoryInterface ¶
type MockRepositoryInterface struct {
// contains filtered or unexported fields
}
MockRepositoryInterface is a mock of RepositoryInterface interface.
func NewMockRepositoryInterface ¶
func NewMockRepositoryInterface(ctrl *gomock.Controller) *MockRepositoryInterface
NewMockRepositoryInterface creates a new mock instance.
func (*MockRepositoryInterface) AddGitHubOrganization ¶
func (m *MockRepositoryInterface) AddGitHubOrganization(ctx context.Context, parentProjectSFID, projectSFID string, input *models.GithubCreateOrganization) (*models.GithubOrganization, error)
AddGitHubOrganization mocks base method.
func (*MockRepositoryInterface) DeleteGitHubOrganization ¶
func (m *MockRepositoryInterface) DeleteGitHubOrganization(ctx context.Context, projectSFID, githubOrgName string) error
DeleteGitHubOrganization mocks base method.
func (*MockRepositoryInterface) DeleteGitHubOrganizationByParent ¶
func (m *MockRepositoryInterface) DeleteGitHubOrganizationByParent(ctx context.Context, parentProjectSFID, githubOrgName string) error
DeleteGitHubOrganizationByParent mocks base method.
func (*MockRepositoryInterface) EXPECT ¶
func (m *MockRepositoryInterface) EXPECT() *MockRepositoryInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepositoryInterface) GetGitHubOrganization ¶
func (m *MockRepositoryInterface) GetGitHubOrganization(ctx context.Context, githubOrganizationName string) (*models.GithubOrganization, error)
GetGitHubOrganization mocks base method.
func (*MockRepositoryInterface) GetGitHubOrganizationByName ¶
func (m *MockRepositoryInterface) GetGitHubOrganizationByName(ctx context.Context, githubOrganizationName string) (*models.GithubOrganizations, error)
GetGitHubOrganizationByName mocks base method.
func (*MockRepositoryInterface) GetGitHubOrganizations ¶
func (m *MockRepositoryInterface) GetGitHubOrganizations(ctx context.Context, projectSFID string) (*models.GithubOrganizations, error)
GetGitHubOrganizations mocks base method.
func (*MockRepositoryInterface) GetGitHubOrganizationsByParent ¶
func (m *MockRepositoryInterface) GetGitHubOrganizationsByParent(ctx context.Context, parentProjectSFID string) (*models.GithubOrganizations, error)
GetGitHubOrganizationsByParent mocks base method.
func (*MockRepositoryInterface) UpdateGitHubOrganization ¶
func (m *MockRepositoryInterface) UpdateGitHubOrganization(ctx context.Context, projectSFID, organizationName string, autoEnabled bool, autoEnabledClaGroupID string, branchProtectionEnabled bool, enabled *bool) error
UpdateGitHubOrganization mocks base method.
type MockRepositoryInterfaceMockRecorder ¶
type MockRepositoryInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryInterfaceMockRecorder is the mock recorder for MockRepositoryInterface.
func (*MockRepositoryInterfaceMockRecorder) AddGitHubOrganization ¶
func (mr *MockRepositoryInterfaceMockRecorder) AddGitHubOrganization(ctx, parentProjectSFID, projectSFID, input interface{}) *gomock.Call
AddGitHubOrganization indicates an expected call of AddGitHubOrganization.
func (*MockRepositoryInterfaceMockRecorder) DeleteGitHubOrganization ¶
func (mr *MockRepositoryInterfaceMockRecorder) DeleteGitHubOrganization(ctx, projectSFID, githubOrgName interface{}) *gomock.Call
DeleteGitHubOrganization indicates an expected call of DeleteGitHubOrganization.
func (*MockRepositoryInterfaceMockRecorder) DeleteGitHubOrganizationByParent ¶
func (mr *MockRepositoryInterfaceMockRecorder) DeleteGitHubOrganizationByParent(ctx, parentProjectSFID, githubOrgName interface{}) *gomock.Call
DeleteGitHubOrganizationByParent indicates an expected call of DeleteGitHubOrganizationByParent.
func (*MockRepositoryInterfaceMockRecorder) GetGitHubOrganization ¶
func (mr *MockRepositoryInterfaceMockRecorder) GetGitHubOrganization(ctx, githubOrganizationName interface{}) *gomock.Call
GetGitHubOrganization indicates an expected call of GetGitHubOrganization.
func (*MockRepositoryInterfaceMockRecorder) GetGitHubOrganizationByName ¶
func (mr *MockRepositoryInterfaceMockRecorder) GetGitHubOrganizationByName(ctx, githubOrganizationName interface{}) *gomock.Call
GetGitHubOrganizationByName indicates an expected call of GetGitHubOrganizationByName.
func (*MockRepositoryInterfaceMockRecorder) GetGitHubOrganizations ¶
func (mr *MockRepositoryInterfaceMockRecorder) GetGitHubOrganizations(ctx, projectSFID interface{}) *gomock.Call
GetGitHubOrganizations indicates an expected call of GetGitHubOrganizations.
func (*MockRepositoryInterfaceMockRecorder) GetGitHubOrganizationsByParent ¶
func (mr *MockRepositoryInterfaceMockRecorder) GetGitHubOrganizationsByParent(ctx, parentProjectSFID interface{}) *gomock.Call
GetGitHubOrganizationsByParent indicates an expected call of GetGitHubOrganizationsByParent.
func (*MockRepositoryInterfaceMockRecorder) UpdateGitHubOrganization ¶
func (mr *MockRepositoryInterfaceMockRecorder) UpdateGitHubOrganization(ctx, projectSFID, organizationName, autoEnabled, autoEnabledClaGroupID, branchProtectionEnabled, enabled interface{}) *gomock.Call
UpdateGitHubOrganization indicates an expected call of UpdateGitHubOrganization.