Documentation ¶
Overview ¶
Package mock_formula_updater_types is a generated GoMock package.
Index ¶
- type MockChangePusher
- type MockChangePusherMockRecorder
- type MockGitClient
- func (m *MockGitClient) CreatePullRequest(ctx context.Context, formulaOptions *formula_updater_types.FormulaOptions, ...) error
- func (m *MockGitClient) EXPECT() *MockGitClientMockRecorder
- func (m *MockGitClient) GetRefSha(ctx context.Context, owner, repo, ref string) (string, error)
- func (m *MockGitClient) GetReleaseAssetsByTag(ctx context.Context, owner, repo, version string) ([]formula_updater_types.ReleaseAsset, error)
- type MockGitClientMockRecorder
- func (mr *MockGitClientMockRecorder) CreatePullRequest(ctx, formulaOptions, commitMessage, branchName interface{}) *gomock.Call
- func (mr *MockGitClientMockRecorder) GetRefSha(ctx, owner, repo, ref interface{}) *gomock.Call
- func (mr *MockGitClientMockRecorder) GetReleaseAssetsByTag(ctx, owner, repo, version interface{}) *gomock.Call
- type MockRemoteShaGetter
- type MockRemoteShaGetterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockChangePusher ¶
type MockChangePusher struct {
// contains filtered or unexported fields
}
MockChangePusher is a mock of ChangePusher interface
func NewMockChangePusher ¶
func NewMockChangePusher(ctrl *gomock.Controller) *MockChangePusher
NewMockChangePusher creates a new mock instance
func (*MockChangePusher) EXPECT ¶
func (m *MockChangePusher) EXPECT() *MockChangePusherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockChangePusher) UpdateAndPush ¶
func (m *MockChangePusher) UpdateAndPush(ctx context.Context, version, versionSha, branchName, commitMessage string, perPlatformShas *formula_updater_types.PerPlatformSha256, formulaOptions *formula_updater_types.FormulaOptions) error
UpdateAndPush mocks base method
type MockChangePusherMockRecorder ¶
type MockChangePusherMockRecorder struct {
// contains filtered or unexported fields
}
MockChangePusherMockRecorder is the mock recorder for MockChangePusher
func (*MockChangePusherMockRecorder) UpdateAndPush ¶
func (mr *MockChangePusherMockRecorder) UpdateAndPush(ctx, version, versionSha, branchName, commitMessage, perPlatformShas, formulaOptions interface{}) *gomock.Call
UpdateAndPush indicates an expected call of UpdateAndPush
type MockGitClient ¶
type MockGitClient struct {
// contains filtered or unexported fields
}
MockGitClient is a mock of GitClient interface
func NewMockGitClient ¶
func NewMockGitClient(ctrl *gomock.Controller) *MockGitClient
NewMockGitClient creates a new mock instance
func (*MockGitClient) CreatePullRequest ¶
func (m *MockGitClient) CreatePullRequest(ctx context.Context, formulaOptions *formula_updater_types.FormulaOptions, commitMessage, branchName string) error
CreatePullRequest mocks base method
func (*MockGitClient) EXPECT ¶
func (m *MockGitClient) EXPECT() *MockGitClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockGitClient) GetReleaseAssetsByTag ¶
func (m *MockGitClient) GetReleaseAssetsByTag(ctx context.Context, owner, repo, version string) ([]formula_updater_types.ReleaseAsset, error)
GetReleaseAssetsByTag mocks base method
type MockGitClientMockRecorder ¶
type MockGitClientMockRecorder struct {
// contains filtered or unexported fields
}
MockGitClientMockRecorder is the mock recorder for MockGitClient
func (*MockGitClientMockRecorder) CreatePullRequest ¶
func (mr *MockGitClientMockRecorder) CreatePullRequest(ctx, formulaOptions, commitMessage, branchName interface{}) *gomock.Call
CreatePullRequest indicates an expected call of CreatePullRequest
func (*MockGitClientMockRecorder) GetRefSha ¶
func (mr *MockGitClientMockRecorder) GetRefSha(ctx, owner, repo, ref interface{}) *gomock.Call
GetRefSha indicates an expected call of GetRefSha
func (*MockGitClientMockRecorder) GetReleaseAssetsByTag ¶
func (mr *MockGitClientMockRecorder) GetReleaseAssetsByTag(ctx, owner, repo, version interface{}) *gomock.Call
GetReleaseAssetsByTag indicates an expected call of GetReleaseAssetsByTag
type MockRemoteShaGetter ¶
type MockRemoteShaGetter struct {
// contains filtered or unexported fields
}
MockRemoteShaGetter is a mock of RemoteShaGetter interface
func NewMockRemoteShaGetter ¶
func NewMockRemoteShaGetter(ctrl *gomock.Controller) *MockRemoteShaGetter
NewMockRemoteShaGetter creates a new mock instance
func (*MockRemoteShaGetter) EXPECT ¶
func (m *MockRemoteShaGetter) EXPECT() *MockRemoteShaGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRemoteShaGetter) GetShaFromUrl ¶
func (m *MockRemoteShaGetter) GetShaFromUrl(url string) (string, error)
GetShaFromUrl mocks base method
type MockRemoteShaGetterMockRecorder ¶
type MockRemoteShaGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockRemoteShaGetterMockRecorder is the mock recorder for MockRemoteShaGetter
func (*MockRemoteShaGetterMockRecorder) GetShaFromUrl ¶
func (mr *MockRemoteShaGetterMockRecorder) GetShaFromUrl(url interface{}) *gomock.Call
GetShaFromUrl indicates an expected call of GetShaFromUrl