Documentation
¶
Overview ¶
Package commands is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GitHubClient ¶
type GitHubClient interface {
GetContents(ctx context.Context, owner, repo, path string, opt *github.RepositoryContentGetOptions) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, error)
}
type MockGitHubClient ¶
type MockGitHubClient struct {
// contains filtered or unexported fields
}
MockGitHubClient is a mock of GitHubClient interface.
func NewMockGitHubClient ¶
func NewMockGitHubClient(ctrl *gomock.Controller) *MockGitHubClient
NewMockGitHubClient creates a new mock instance.
func (*MockGitHubClient) EXPECT ¶
func (m *MockGitHubClient) EXPECT() *MockGitHubClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGitHubClient) GetContents ¶
func (m *MockGitHubClient) GetContents(ctx context.Context, owner, repo, path string, opt *github.RepositoryContentGetOptions) (*github.RepositoryContent, []*github.RepositoryContent, *github.Response, error)
GetContents mocks base method.
type MockGitHubClientMockRecorder ¶
type MockGitHubClientMockRecorder struct {
// contains filtered or unexported fields
}
MockGitHubClientMockRecorder is the mock recorder for MockGitHubClient.
func (*MockGitHubClientMockRecorder) GetContents ¶
func (mr *MockGitHubClientMockRecorder) GetContents(ctx, owner, repo, path, opt interface{}) *gomock.Call
GetContents indicates an expected call of GetContents.
Click to show internal directories.
Click to hide internal directories.