gatewaytest

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2017 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGit

type MockGit struct {
	// contains filtered or unexported fields
}

Mock of Git interface

func NewMockGit

func NewMockGit(ctrl *gomock.Controller) *MockGit

func (*MockGit) Checkout

func (_m *MockGit) Checkout(_param0 string) error

func (*MockGit) CreateBranch

func (_m *MockGit) CreateBranch(_param0 string, _param1 string) error

func (*MockGit) CreateBranchAndCheckout added in v0.5.0

func (_m *MockGit) CreateBranchAndCheckout(_param0 string, _param1 string) error

func (*MockGit) CurrentBranch

func (_m *MockGit) CurrentBranch() (string, error)

func (*MockGit) DeleteBranch

func (_m *MockGit) DeleteBranch(_param0 string) error

func (*MockGit) DeleteRemoteTrackingBranch

func (_m *MockGit) DeleteRemoteTrackingBranch(_param0 string, _param1 string) error

func (*MockGit) DoesBranchExist

func (_m *MockGit) DoesBranchExist(_param0 string) bool

func (*MockGit) EXPECT

func (_m *MockGit) EXPECT() *_MockGitRecorder

func (*MockGit) Fetch

func (_m *MockGit) Fetch(_param0 *gateway.FetchRequest) error

func (*MockGit) Pull

func (_m *MockGit) Pull(_param0 string, _param1 string) error

func (*MockGit) Push

func (_m *MockGit) Push(_param0 *gateway.PushRequest) error

func (*MockGit) Rebase

func (_m *MockGit) Rebase(_param0 *gateway.RebaseRequest) error

func (*MockGit) RemoteURL

func (_m *MockGit) RemoteURL(_param0 string) (string, error)

func (*MockGit) ResetBranch

func (_m *MockGit) ResetBranch(_param0 string, _param1 string) error

func (*MockGit) SHA1

func (_m *MockGit) SHA1(_param0 string) (string, error)

type MockGitHub

type MockGitHub struct {
	// contains filtered or unexported fields
}

Mock of GitHub interface

func NewMockGitHub

func NewMockGitHub(ctrl *gomock.Controller) *MockGitHub

func (*MockGitHub) DeleteBranch

func (_m *MockGitHub) DeleteBranch(_param0 context.Context, _param1 string) error

func (*MockGitHub) EXPECT

func (_m *MockGitHub) EXPECT() *_MockGitHubRecorder

func (*MockGitHub) GetBuildStatus added in v0.5.0

func (_m *MockGitHub) GetBuildStatus(_param0 context.Context, _param1 string) (*gateway.BuildStatus, error)

func (*MockGitHub) GetPullRequestPatch

func (_m *MockGitHub) GetPullRequestPatch(_param0 context.Context, _param1 int) (string, error)

func (*MockGitHub) IsOwned

func (_m *MockGitHub) IsOwned(_param0 context.Context, _param1 *github.PullRequestBranch) bool

func (*MockGitHub) ListPullRequestReviews added in v0.5.0

func (_m *MockGitHub) ListPullRequestReviews(_param0 context.Context, _param1 int) ([]*gateway.PullRequestReview, error)

func (*MockGitHub) ListPullRequestsByBase

func (_m *MockGitHub) ListPullRequestsByBase(_param0 context.Context, _param1 string) ([]*github.PullRequest, error)

func (*MockGitHub) ListPullRequestsByHead

func (_m *MockGitHub) ListPullRequestsByHead(_param0 context.Context, _param1 string, _param2 string) ([]*github.PullRequest, error)

func (*MockGitHub) SetPullRequestBase

func (_m *MockGitHub) SetPullRequestBase(_param0 context.Context, _param1 int, _param2 string) error

func (*MockGitHub) SquashPullRequest

func (_m *MockGitHub) SquashPullRequest(_param0 context.Context, _param1 *github.PullRequest) error

Jump to

Keyboard shortcuts

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