 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type MockrepositoryService
- func (_m *MockrepositoryService) EXPECT() *MockrepositoryService_Expecter
- func (_m *MockrepositoryService) GetCommit(ctx context.Context, owner string, repo string, ref string, ...) (*github.RepositoryCommit, *github.Response, error)
- func (_m *MockrepositoryService) GetContents(ctx context.Context, owner string, repo string, path string, ...) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, ...)
 
- type MockrepositoryService_Expecter
- func (_e *MockrepositoryService_Expecter) GetCommit(ctx interface{}, owner interface{}, repo interface{}, ref interface{}, ...) *MockrepositoryService_GetCommit_Call
- func (_e *MockrepositoryService_Expecter) GetContents(ctx interface{}, owner interface{}, repo interface{}, path interface{}, ...) *MockrepositoryService_GetContents_Call
 
- type MockrepositoryService_GetCommit_Call
- func (_c *MockrepositoryService_GetCommit_Call) Return(_a0 *github.RepositoryCommit, _a1 *github.Response, _a2 error) *MockrepositoryService_GetCommit_Call
- func (_c *MockrepositoryService_GetCommit_Call) Run(run func(ctx context.Context, owner string, repo string, ref string, ...)) *MockrepositoryService_GetCommit_Call
- func (_c *MockrepositoryService_GetCommit_Call) RunAndReturn(...) *MockrepositoryService_GetCommit_Call
 
- type MockrepositoryService_GetContents_Call
- func (_c *MockrepositoryService_GetContents_Call) Return(_a0 *github.RepositoryContent, _a1 []*github.RepositoryContent, ...) *MockrepositoryService_GetContents_Call
- func (_c *MockrepositoryService_GetContents_Call) Run(run func(ctx context.Context, owner string, repo string, path string, ...)) *MockrepositoryService_GetContents_Call
- func (_c *MockrepositoryService_GetContents_Call) RunAndReturn(...) *MockrepositoryService_GetContents_Call
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockrepositoryService ¶
MockrepositoryService is an autogenerated mock type for the repositoryService type
func NewMockrepositoryService ¶
func NewMockrepositoryService(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockrepositoryService
    NewMockrepositoryService creates a new instance of MockrepositoryService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockrepositoryService) EXPECT ¶
func (_m *MockrepositoryService) EXPECT() *MockrepositoryService_Expecter
func (*MockrepositoryService) GetCommit ¶
func (_m *MockrepositoryService) GetCommit(ctx context.Context, owner string, repo string, ref string, opts *github.ListOptions) (*github.RepositoryCommit, *github.Response, error)
GetCommit provides a mock function with given fields: ctx, owner, repo, ref, opts
func (*MockrepositoryService) GetContents ¶
func (_m *MockrepositoryService) GetContents(ctx context.Context, owner string, repo string, path string, opts *github.RepositoryContentGetOptions) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, error)
GetContents provides a mock function with given fields: ctx, owner, repo, path, opts
type MockrepositoryService_Expecter ¶
type MockrepositoryService_Expecter struct {
	// contains filtered or unexported fields
}
    func (*MockrepositoryService_Expecter) GetCommit ¶
func (_e *MockrepositoryService_Expecter) GetCommit(ctx interface{}, owner interface{}, repo interface{}, ref interface{}, opts interface{}) *MockrepositoryService_GetCommit_Call
GetCommit is a helper method to define mock.On call
- ctx context.Context
- owner string
- repo string
- ref string
- opts *github.ListOptions
func (*MockrepositoryService_Expecter) GetContents ¶
func (_e *MockrepositoryService_Expecter) GetContents(ctx interface{}, owner interface{}, repo interface{}, path interface{}, opts interface{}) *MockrepositoryService_GetContents_Call
GetContents is a helper method to define mock.On call
- ctx context.Context
- owner string
- repo string
- path string
- opts *github.RepositoryContentGetOptions
type MockrepositoryService_GetCommit_Call ¶
MockrepositoryService_GetCommit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCommit'
func (*MockrepositoryService_GetCommit_Call) Return ¶
func (_c *MockrepositoryService_GetCommit_Call) Return(_a0 *github.RepositoryCommit, _a1 *github.Response, _a2 error) *MockrepositoryService_GetCommit_Call
func (*MockrepositoryService_GetCommit_Call) Run ¶
func (_c *MockrepositoryService_GetCommit_Call) Run(run func(ctx context.Context, owner string, repo string, ref string, opts *github.ListOptions)) *MockrepositoryService_GetCommit_Call
func (*MockrepositoryService_GetCommit_Call) RunAndReturn ¶
func (_c *MockrepositoryService_GetCommit_Call) RunAndReturn(run func(context.Context, string, string, string, *github.ListOptions) (*github.RepositoryCommit, *github.Response, error)) *MockrepositoryService_GetCommit_Call
type MockrepositoryService_GetContents_Call ¶
MockrepositoryService_GetContents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetContents'
func (*MockrepositoryService_GetContents_Call) Return ¶
func (_c *MockrepositoryService_GetContents_Call) Return(_a0 *github.RepositoryContent, _a1 []*github.RepositoryContent, _a2 *github.Response, _a3 error) *MockrepositoryService_GetContents_Call
func (*MockrepositoryService_GetContents_Call) Run ¶
func (_c *MockrepositoryService_GetContents_Call) Run(run func(ctx context.Context, owner string, repo string, path string, opts *github.RepositoryContentGetOptions)) *MockrepositoryService_GetContents_Call
func (*MockrepositoryService_GetContents_Call) RunAndReturn ¶
func (_c *MockrepositoryService_GetContents_Call) RunAndReturn(run func(context.Context, string, string, string, *github.RepositoryContentGetOptions) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, error)) *MockrepositoryService_GetContents_Call