Documentation ¶
Overview ¶
Package mikku is a generated GoMock package.
Index ¶
- func Release(repo string, bumpTyp string) error
- func Run(args []string) error
- type Config
- type MockgitHubPullRequestsClient
- func (m *MockgitHubPullRequestsClient) Create(ctx context.Context, owner, repo string, pull *github.NewPullRequest) (*github.PullRequest, *github.Response, error)
- func (m *MockgitHubPullRequestsClient) EXPECT() *MockgitHubPullRequestsClientMockRecorder
- func (m *MockgitHubPullRequestsClient) List(ctx context.Context, owner, repo string, opt *github.PullRequestListOptions) ([]*github.PullRequest, *github.Response, error)
- type MockgitHubPullRequestsClientMockRecorder
- type MockgitHubRepositoriesClient
- func (m *MockgitHubRepositoriesClient) CreateRelease(ctx context.Context, owner, repo string, release *github.RepositoryRelease) (*github.RepositoryRelease, *github.Response, error)
- func (m *MockgitHubRepositoriesClient) EXPECT() *MockgitHubRepositoriesClientMockRecorder
- func (m *MockgitHubRepositoriesClient) GetLatestRelease(ctx context.Context, owner, repo string) (*github.RepositoryRelease, *github.Response, error)
- type MockgitHubRepositoriesClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { GitHubAccessToken string `envconfig:"MIKKU_GITHUB_ACCESS_TOKEN" required:"true"` GitHubOwner string `envconfig:"MIKKU_GITHUB_OWNER" required:"true"` }
Config represents config using all commands
type MockgitHubPullRequestsClient ¶ added in v0.1.0
type MockgitHubPullRequestsClient struct {
// contains filtered or unexported fields
}
MockgitHubPullRequestsClient is a mock of gitHubPullRequestsClient interface
func NewMockgitHubPullRequestsClient ¶ added in v0.1.0
func NewMockgitHubPullRequestsClient(ctrl *gomock.Controller) *MockgitHubPullRequestsClient
NewMockgitHubPullRequestsClient creates a new mock instance
func (*MockgitHubPullRequestsClient) Create ¶ added in v0.1.0
func (m *MockgitHubPullRequestsClient) Create(ctx context.Context, owner, repo string, pull *github.NewPullRequest) (*github.PullRequest, *github.Response, error)
Create mocks base method
func (*MockgitHubPullRequestsClient) EXPECT ¶ added in v0.1.0
func (m *MockgitHubPullRequestsClient) EXPECT() *MockgitHubPullRequestsClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockgitHubPullRequestsClient) List ¶ added in v0.1.0
func (m *MockgitHubPullRequestsClient) List(ctx context.Context, owner, repo string, opt *github.PullRequestListOptions) ([]*github.PullRequest, *github.Response, error)
List mocks base method
type MockgitHubPullRequestsClientMockRecorder ¶ added in v0.1.0
type MockgitHubPullRequestsClientMockRecorder struct {
// contains filtered or unexported fields
}
MockgitHubPullRequestsClientMockRecorder is the mock recorder for MockgitHubPullRequestsClient
func (*MockgitHubPullRequestsClientMockRecorder) Create ¶ added in v0.1.0
func (mr *MockgitHubPullRequestsClientMockRecorder) Create(ctx, owner, repo, pull interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockgitHubPullRequestsClientMockRecorder) List ¶ added in v0.1.0
func (mr *MockgitHubPullRequestsClientMockRecorder) List(ctx, owner, repo, opt interface{}) *gomock.Call
List indicates an expected call of List
type MockgitHubRepositoriesClient ¶ added in v0.1.0
type MockgitHubRepositoriesClient struct {
// contains filtered or unexported fields
}
MockgitHubRepositoriesClient is a mock of gitHubRepositoriesClient interface
func NewMockgitHubRepositoriesClient ¶ added in v0.1.0
func NewMockgitHubRepositoriesClient(ctrl *gomock.Controller) *MockgitHubRepositoriesClient
NewMockgitHubRepositoriesClient creates a new mock instance
func (*MockgitHubRepositoriesClient) CreateRelease ¶ added in v0.1.0
func (m *MockgitHubRepositoriesClient) CreateRelease(ctx context.Context, owner, repo string, release *github.RepositoryRelease) (*github.RepositoryRelease, *github.Response, error)
CreateRelease mocks base method
func (*MockgitHubRepositoriesClient) EXPECT ¶ added in v0.1.0
func (m *MockgitHubRepositoriesClient) EXPECT() *MockgitHubRepositoriesClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockgitHubRepositoriesClient) GetLatestRelease ¶ added in v0.1.0
func (m *MockgitHubRepositoriesClient) GetLatestRelease(ctx context.Context, owner, repo string) (*github.RepositoryRelease, *github.Response, error)
GetLatestRelease mocks base method
type MockgitHubRepositoriesClientMockRecorder ¶ added in v0.1.0
type MockgitHubRepositoriesClientMockRecorder struct {
// contains filtered or unexported fields
}
MockgitHubRepositoriesClientMockRecorder is the mock recorder for MockgitHubRepositoriesClient
func (*MockgitHubRepositoriesClientMockRecorder) CreateRelease ¶ added in v0.1.0
func (mr *MockgitHubRepositoriesClientMockRecorder) CreateRelease(ctx, owner, repo, release interface{}) *gomock.Call
CreateRelease indicates an expected call of CreateRelease
func (*MockgitHubRepositoriesClientMockRecorder) GetLatestRelease ¶ added in v0.1.0
func (mr *MockgitHubRepositoriesClientMockRecorder) GetLatestRelease(ctx, owner, repo interface{}) *gomock.Call
GetLatestRelease indicates an expected call of GetLatestRelease