mock_formula_updater_types

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_formula_updater_types is a generated GoMock package.

Index

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

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockGitClient) GetRefSha

func (m *MockGitClient) GetRefSha(ctx context.Context, owner, repo, ref string) (string, error)

GetRefSha mocks base method

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

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

Jump to

Keyboard shortcuts

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