Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockProvider
- func (m *MockProvider) CreateRepository(ctx context.Context, orgRepo string) (string, error)
- func (m *MockProvider) EXPECT() *MockProviderMockRecorder
- func (m *MockProvider) GetAuthor(ctx context.Context) (string, string, error)
- func (m *MockProvider) GetDefaultBranch(ctx context.Context, orgRepo string) (string, error)
- type MockProviderMockRecorder
- type MockRepository
- type MockRepositoryMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProvider ¶ added in v0.3.1
type MockProvider struct {
// contains filtered or unexported fields
}
MockProvider is a mock of Provider interface.
func NewMockProvider ¶ added in v0.3.1
func NewMockProvider(ctrl *gomock.Controller) *MockProvider
NewMockProvider creates a new mock instance.
func (*MockProvider) CreateRepository ¶ added in v0.3.1
CreateRepository mocks base method.
func (*MockProvider) EXPECT ¶ added in v0.3.1
func (m *MockProvider) EXPECT() *MockProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProvider) GetDefaultBranch ¶ added in v0.4.0
GetDefaultBranch mocks base method.
type MockProviderMockRecorder ¶ added in v0.3.1
type MockProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderMockRecorder is the mock recorder for MockProvider.
func (*MockProviderMockRecorder) CreateRepository ¶ added in v0.3.1
func (mr *MockProviderMockRecorder) CreateRepository(ctx, orgRepo interface{}) *gomock.Call
CreateRepository indicates an expected call of CreateRepository.
func (*MockProviderMockRecorder) GetAuthor ¶ added in v0.3.2
func (mr *MockProviderMockRecorder) GetAuthor(ctx interface{}) *gomock.Call
GetAuthor indicates an expected call of GetAuthor.
func (*MockProviderMockRecorder) GetDefaultBranch ¶ added in v0.4.0
func (mr *MockProviderMockRecorder) GetDefaultBranch(ctx, orgRepo interface{}) *gomock.Call
GetDefaultBranch indicates an expected call of GetDefaultBranch.
type MockRepository ¶ added in v0.3.1
type MockRepository struct {
// contains filtered or unexported fields
}
MockRepository is a mock of Repository interface.
func NewMockRepository ¶ added in v0.3.1
func NewMockRepository(ctrl *gomock.Controller) *MockRepository
NewMockRepository creates a new mock instance.
func (*MockRepository) CurrentBranch ¶ added in v0.3.1
func (m *MockRepository) CurrentBranch() (string, error)
CurrentBranch mocks base method.
func (*MockRepository) EXPECT ¶ added in v0.3.1
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepository) Persist ¶ added in v0.3.1
func (m *MockRepository) Persist(ctx context.Context, opts *git.PushOptions) (string, error)
Persist mocks base method.
type MockRepositoryMockRecorder ¶ added in v0.3.1
type MockRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryMockRecorder is the mock recorder for MockRepository.
func (*MockRepositoryMockRecorder) CurrentBranch ¶ added in v0.3.1
func (mr *MockRepositoryMockRecorder) CurrentBranch() *gomock.Call
CurrentBranch indicates an expected call of CurrentBranch.
func (*MockRepositoryMockRecorder) Persist ¶ added in v0.3.1
func (mr *MockRepositoryMockRecorder) Persist(ctx, opts interface{}) *gomock.Call
Persist indicates an expected call of Persist.