Documentation ¶
Overview ¶
Package github_mock is a generated GoMock package.
Index ¶
- type MockAdaptor
- func (m *MockAdaptor) EXPECT() *MockAdaptorMockRecorder
- func (m *MockAdaptor) GetHost() string
- func (m *MockAdaptor) RepositoryCreate(ctx context.Context, org string, repo *github.Repository) (*github.Repository, *github.Response, error)
- func (m *MockAdaptor) RepositoryCreateFork(ctx context.Context, owner, repo string, ...) (*github.Repository, *github.Response, error)
- func (m *MockAdaptor) RepositoryCreateFromTemplate(ctx context.Context, templateOwner, templateRepo string, ...) (*github.Repository, *github.Response, error)
- func (m *MockAdaptor) RepositoryDelete(ctx context.Context, owner, repo string) (*github.Response, error)
- func (m *MockAdaptor) RepositoryGet(ctx context.Context, owner, repo string) (*github.Repository, *github.Response, error)
- func (m *MockAdaptor) RepositoryList(ctx context.Context, opts *github.RepositoryListOptions) ([]*github.RepositoryFragment, github.PageInfoFragment, error)
- func (m *MockAdaptor) UserGet(ctx context.Context, user string) (*github.User, *github.Response, error)
- type MockAdaptorMockRecorder
- func (mr *MockAdaptorMockRecorder) GetHost() *gomock.Call
- func (mr *MockAdaptorMockRecorder) RepositoryCreate(ctx, org, repo interface{}) *gomock.Call
- func (mr *MockAdaptorMockRecorder) RepositoryCreateFork(ctx, owner, repo, opts interface{}) *gomock.Call
- func (mr *MockAdaptorMockRecorder) RepositoryCreateFromTemplate(ctx, templateOwner, templateRepo, templateRepoReq interface{}) *gomock.Call
- func (mr *MockAdaptorMockRecorder) RepositoryDelete(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockAdaptorMockRecorder) RepositoryGet(ctx, owner, repo interface{}) *gomock.Call
- func (mr *MockAdaptorMockRecorder) RepositoryList(ctx, opts interface{}) *gomock.Call
- func (mr *MockAdaptorMockRecorder) UserGet(ctx, user interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAdaptor ¶
type MockAdaptor struct {
// contains filtered or unexported fields
}
MockAdaptor is a mock of Adaptor interface.
func NewMockAdaptor ¶
func NewMockAdaptor(ctrl *gomock.Controller) *MockAdaptor
NewMockAdaptor creates a new mock instance.
func (*MockAdaptor) EXPECT ¶
func (m *MockAdaptor) EXPECT() *MockAdaptorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAdaptor) GetHost ¶ added in v2.2.0
func (m *MockAdaptor) GetHost() string
GetHost mocks base method.
func (*MockAdaptor) RepositoryCreate ¶
func (m *MockAdaptor) RepositoryCreate(ctx context.Context, org string, repo *github.Repository) (*github.Repository, *github.Response, error)
RepositoryCreate mocks base method.
func (*MockAdaptor) RepositoryCreateFork ¶
func (m *MockAdaptor) RepositoryCreateFork(ctx context.Context, owner, repo string, opts *github.RepositoryCreateForkOptions) (*github.Repository, *github.Response, error)
RepositoryCreateFork mocks base method.
func (*MockAdaptor) RepositoryCreateFromTemplate ¶ added in v2.1.4
func (m *MockAdaptor) RepositoryCreateFromTemplate(ctx context.Context, templateOwner, templateRepo string, templateRepoReq *github.TemplateRepoRequest) (*github.Repository, *github.Response, error)
RepositoryCreateFromTemplate mocks base method.
func (*MockAdaptor) RepositoryDelete ¶
func (m *MockAdaptor) RepositoryDelete(ctx context.Context, owner, repo string) (*github.Response, error)
RepositoryDelete mocks base method.
func (*MockAdaptor) RepositoryGet ¶
func (m *MockAdaptor) RepositoryGet(ctx context.Context, owner, repo string) (*github.Repository, *github.Response, error)
RepositoryGet mocks base method.
func (*MockAdaptor) RepositoryList ¶
func (m *MockAdaptor) RepositoryList(ctx context.Context, opts *github.RepositoryListOptions) ([]*github.RepositoryFragment, github.PageInfoFragment, error)
RepositoryList mocks base method.
type MockAdaptorMockRecorder ¶
type MockAdaptorMockRecorder struct {
// contains filtered or unexported fields
}
MockAdaptorMockRecorder is the mock recorder for MockAdaptor.
func (*MockAdaptorMockRecorder) GetHost ¶ added in v2.2.0
func (mr *MockAdaptorMockRecorder) GetHost() *gomock.Call
GetHost indicates an expected call of GetHost.
func (*MockAdaptorMockRecorder) RepositoryCreate ¶
func (mr *MockAdaptorMockRecorder) RepositoryCreate(ctx, org, repo interface{}) *gomock.Call
RepositoryCreate indicates an expected call of RepositoryCreate.
func (*MockAdaptorMockRecorder) RepositoryCreateFork ¶
func (mr *MockAdaptorMockRecorder) RepositoryCreateFork(ctx, owner, repo, opts interface{}) *gomock.Call
RepositoryCreateFork indicates an expected call of RepositoryCreateFork.
func (*MockAdaptorMockRecorder) RepositoryCreateFromTemplate ¶ added in v2.1.4
func (mr *MockAdaptorMockRecorder) RepositoryCreateFromTemplate(ctx, templateOwner, templateRepo, templateRepoReq interface{}) *gomock.Call
RepositoryCreateFromTemplate indicates an expected call of RepositoryCreateFromTemplate.
func (*MockAdaptorMockRecorder) RepositoryDelete ¶
func (mr *MockAdaptorMockRecorder) RepositoryDelete(ctx, owner, repo interface{}) *gomock.Call
RepositoryDelete indicates an expected call of RepositoryDelete.
func (*MockAdaptorMockRecorder) RepositoryGet ¶
func (mr *MockAdaptorMockRecorder) RepositoryGet(ctx, owner, repo interface{}) *gomock.Call
RepositoryGet indicates an expected call of RepositoryGet.
func (*MockAdaptorMockRecorder) RepositoryList ¶
func (mr *MockAdaptorMockRecorder) RepositoryList(ctx, opts interface{}) *gomock.Call
RepositoryList indicates an expected call of RepositoryList.
func (*MockAdaptorMockRecorder) UserGet ¶
func (mr *MockAdaptorMockRecorder) UserGet(ctx, user interface{}) *gomock.Call
UserGet indicates an expected call of UserGet.