Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockRepositoriesService
- func (m *MockRepositoriesService) Create(arg0 context.Context, arg1 string, arg2 *github.Repository) (*github.Repository, *github.Response, error)
- func (m *MockRepositoriesService) CreateHook(arg0 context.Context, arg1, arg2 string, arg3 *github.Hook) (*github.Hook, *github.Response, error)
- func (m *MockRepositoriesService) EXPECT() *MockRepositoriesServiceMockRecorder
- func (m *MockRepositoriesService) UpdateBranchProtection(arg0 context.Context, arg1, arg2, arg3 string, arg4 *github.ProtectionRequest) (*github.Protection, *github.Response, error)
- type MockRepositoriesServiceMockRecorder
- func (mr *MockRepositoriesServiceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) CreateHook(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockRepositoriesServiceMockRecorder) UpdateBranchProtection(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepositoriesService ¶
type MockRepositoriesService struct {
// contains filtered or unexported fields
}
MockRepositoriesService is a mock of RepositoriesService interface
func NewMockRepositoriesService ¶
func NewMockRepositoriesService(ctrl *gomock.Controller) *MockRepositoriesService
NewMockRepositoriesService creates a new mock instance
func (*MockRepositoriesService) Create ¶
func (m *MockRepositoriesService) Create(arg0 context.Context, arg1 string, arg2 *github.Repository) (*github.Repository, *github.Response, error)
Create mocks base method
func (*MockRepositoriesService) CreateHook ¶
func (m *MockRepositoriesService) CreateHook(arg0 context.Context, arg1, arg2 string, arg3 *github.Hook) (*github.Hook, *github.Response, error)
CreateHook mocks base method
func (*MockRepositoriesService) EXPECT ¶
func (m *MockRepositoriesService) EXPECT() *MockRepositoriesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRepositoriesService) UpdateBranchProtection ¶
func (m *MockRepositoriesService) UpdateBranchProtection(arg0 context.Context, arg1, arg2, arg3 string, arg4 *github.ProtectionRequest) (*github.Protection, *github.Response, error)
UpdateBranchProtection mocks base method
type MockRepositoriesServiceMockRecorder ¶
type MockRepositoriesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoriesServiceMockRecorder is the mock recorder for MockRepositoriesService
func (*MockRepositoriesServiceMockRecorder) Create ¶
func (mr *MockRepositoriesServiceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockRepositoriesServiceMockRecorder) CreateHook ¶
func (mr *MockRepositoriesServiceMockRecorder) CreateHook(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CreateHook indicates an expected call of CreateHook
func (*MockRepositoriesServiceMockRecorder) UpdateBranchProtection ¶
func (mr *MockRepositoriesServiceMockRecorder) UpdateBranchProtection(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
UpdateBranchProtection indicates an expected call of UpdateBranchProtection
Click to show internal directories.
Click to hide internal directories.