mocks

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL