Documentation ¶
Overview ¶
Package mock_client is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) CreateBlob(arg0 context.Context, arg1, arg2 string, arg3 *github.Blob) (*github.Blob, *github.Response, error)
- func (m *MockInterface) CreateCommit(arg0 context.Context, arg1, arg2 string, arg3 *github.Commit) (*github.Commit, *github.Response, error)
- func (m *MockInterface) CreateFork(arg0 context.Context, arg1, arg2 string, ...) (*github.Repository, *github.Response, error)
- func (m *MockInterface) CreateRelease(arg0 context.Context, arg1, arg2 string, arg3 *github.RepositoryRelease) (*github.RepositoryRelease, *github.Response, error)
- func (m *MockInterface) CreateTree(arg0 context.Context, arg1, arg2, arg3 string, arg4 []*github.TreeEntry) (*github.Tree, *github.Response, error)
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetReleaseByTag(arg0 context.Context, arg1, arg2, arg3 string) (*github.RepositoryRelease, *github.Response, error)
- func (m *MockInterface) Mutate(arg0 context.Context, arg1 interface{}, arg2 githubv4.Input, ...) error
- func (m *MockInterface) Query(arg0 context.Context, arg1 interface{}, arg2 map[string]interface{}) error
- func (m *MockInterface) UploadReleaseAsset(arg0 context.Context, arg1, arg2 string, arg3 int64, ...) (*github.ReleaseAsset, *github.Response, error)
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) CreateBlob(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) CreateCommit(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) CreateFork(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) CreateRelease(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) CreateTree(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetReleaseByTag(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Mutate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Query(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) UploadReleaseAsset(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance
func (*MockInterface) CreateBlob ¶
func (m *MockInterface) CreateBlob(arg0 context.Context, arg1, arg2 string, arg3 *github.Blob) (*github.Blob, *github.Response, error)
CreateBlob mocks base method
func (*MockInterface) CreateCommit ¶
func (m *MockInterface) CreateCommit(arg0 context.Context, arg1, arg2 string, arg3 *github.Commit) (*github.Commit, *github.Response, error)
CreateCommit mocks base method
func (*MockInterface) CreateFork ¶
func (m *MockInterface) CreateFork(arg0 context.Context, arg1, arg2 string, arg3 *github.RepositoryCreateForkOptions) (*github.Repository, *github.Response, error)
CreateFork mocks base method
func (*MockInterface) CreateRelease ¶
func (m *MockInterface) CreateRelease(arg0 context.Context, arg1, arg2 string, arg3 *github.RepositoryRelease) (*github.RepositoryRelease, *github.Response, error)
CreateRelease mocks base method
func (*MockInterface) CreateTree ¶
func (m *MockInterface) CreateTree(arg0 context.Context, arg1, arg2, arg3 string, arg4 []*github.TreeEntry) (*github.Tree, *github.Response, error)
CreateTree mocks base method
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockInterface) GetReleaseByTag ¶
func (m *MockInterface) GetReleaseByTag(arg0 context.Context, arg1, arg2, arg3 string) (*github.RepositoryRelease, *github.Response, error)
GetReleaseByTag mocks base method
func (*MockInterface) Mutate ¶
func (m *MockInterface) Mutate(arg0 context.Context, arg1 interface{}, arg2 githubv4.Input, arg3 map[string]interface{}) error
Mutate mocks base method
func (*MockInterface) Query ¶
func (m *MockInterface) Query(arg0 context.Context, arg1 interface{}, arg2 map[string]interface{}) error
Query mocks base method
func (*MockInterface) UploadReleaseAsset ¶
func (m *MockInterface) UploadReleaseAsset(arg0 context.Context, arg1, arg2 string, arg3 int64, arg4 *github.UploadOptions, arg5 *os.File) (*github.ReleaseAsset, *github.Response, error)
UploadReleaseAsset mocks base method
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface
func (*MockInterfaceMockRecorder) CreateBlob ¶
func (mr *MockInterfaceMockRecorder) CreateBlob(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CreateBlob indicates an expected call of CreateBlob
func (*MockInterfaceMockRecorder) CreateCommit ¶
func (mr *MockInterfaceMockRecorder) CreateCommit(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CreateCommit indicates an expected call of CreateCommit
func (*MockInterfaceMockRecorder) CreateFork ¶
func (mr *MockInterfaceMockRecorder) CreateFork(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CreateFork indicates an expected call of CreateFork
func (*MockInterfaceMockRecorder) CreateRelease ¶
func (mr *MockInterfaceMockRecorder) CreateRelease(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CreateRelease indicates an expected call of CreateRelease
func (*MockInterfaceMockRecorder) CreateTree ¶
func (mr *MockInterfaceMockRecorder) CreateTree(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
CreateTree indicates an expected call of CreateTree
func (*MockInterfaceMockRecorder) GetReleaseByTag ¶
func (mr *MockInterfaceMockRecorder) GetReleaseByTag(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetReleaseByTag indicates an expected call of GetReleaseByTag
func (*MockInterfaceMockRecorder) Mutate ¶
func (mr *MockInterfaceMockRecorder) Mutate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Mutate indicates an expected call of Mutate
func (*MockInterfaceMockRecorder) Query ¶
func (mr *MockInterfaceMockRecorder) Query(arg0, arg1, arg2 interface{}) *gomock.Call
Query indicates an expected call of Query
func (*MockInterfaceMockRecorder) UploadReleaseAsset ¶
func (mr *MockInterfaceMockRecorder) UploadReleaseAsset(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
UploadReleaseAsset indicates an expected call of UploadReleaseAsset