mock_upgrade_assets

package
v0.6.1 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_upgrade_assets is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAssetHelper

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

MockAssetHelper is a mock of AssetHelper interface.

func NewMockAssetHelper

func NewMockAssetHelper(ctrl *gomock.Controller) *MockAssetHelper

NewMockAssetHelper creates a new mock instance.

func (*MockAssetHelper) DownloadAsset

func (m *MockAssetHelper) DownloadAsset(downloadUrl, destFile string) error

DownloadAsset mocks base method.

func (*MockAssetHelper) EXPECT

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

func (*MockAssetHelper) GetReleaseWithAsset

func (m *MockAssetHelper) GetReleaseWithAsset(ctx context.Context, tag, expectedAssetName string) (*github.RepositoryRelease, error)

GetReleaseWithAsset mocks base method.

type MockAssetHelperMockRecorder

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

MockAssetHelperMockRecorder is the mock recorder for MockAssetHelper.

func (*MockAssetHelperMockRecorder) DownloadAsset

func (mr *MockAssetHelperMockRecorder) DownloadAsset(downloadUrl, destFile interface{}) *gomock.Call

DownloadAsset indicates an expected call of DownloadAsset.

func (*MockAssetHelperMockRecorder) GetReleaseWithAsset

func (mr *MockAssetHelperMockRecorder) GetReleaseWithAsset(ctx, tag, expectedAssetName interface{}) *gomock.Call

GetReleaseWithAsset indicates an expected call of GetReleaseWithAsset.

type MockGithubAssetClient

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

MockGithubAssetClient is a mock of GithubAssetClient interface.

func NewMockGithubAssetClient

func NewMockGithubAssetClient(ctrl *gomock.Controller) *MockGithubAssetClient

NewMockGithubAssetClient creates a new mock instance.

func (*MockGithubAssetClient) EXPECT

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

func (*MockGithubAssetClient) GetReleaseByTag

func (m *MockGithubAssetClient) GetReleaseByTag(ctx context.Context, tag string) (*github.RepositoryRelease, error)

GetReleaseByTag mocks base method.

func (*MockGithubAssetClient) ListReleases

ListReleases mocks base method.

type MockGithubAssetClientMockRecorder

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

MockGithubAssetClientMockRecorder is the mock recorder for MockGithubAssetClient.

func (*MockGithubAssetClientMockRecorder) GetReleaseByTag

func (mr *MockGithubAssetClientMockRecorder) GetReleaseByTag(ctx, tag interface{}) *gomock.Call

GetReleaseByTag indicates an expected call of GetReleaseByTag.

func (*MockGithubAssetClientMockRecorder) ListReleases

func (mr *MockGithubAssetClientMockRecorder) ListReleases(ctx, opt interface{}) *gomock.Call

ListReleases indicates an expected call of ListReleases.

Jump to

Keyboard shortcuts

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