mock

package
v0.6.0-rc.13 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetOperator

type AssetOperator struct {
	mock.Mock
}

AssetOperator is an autogenerated mock type for the AssetOperator type

func (*AssetOperator) Install

func (_m *AssetOperator) Install(asset []byte, tagName string) error

Install provides a mock function with given fields: asset, tagName

func (*AssetOperator) Prepare

func (_m *AssetOperator) Prepare(localDirPath string) error

Prepare provides a mock function with given fields: localDirPath

func (*AssetOperator) Run

func (_m *AssetOperator) Run(tagName string, args ...string) error

Run provides a mock function with given fields: tagName, args

func (*AssetOperator) Uninstall

func (_m *AssetOperator) Uninstall(tagNames ...string) error

Uninstall provides a mock function with given fields: tagNames

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) DownloadAsset

func (_m *Client) DownloadAsset(_a0 context.Context, _a1 string) ([]byte, error)

DownloadAsset provides a mock function with given fields: _a0, _a1

func (*Client) DownloadRelease

func (_m *Client) DownloadRelease(_a0 context.Context, _a1 string) (*model.RepositoryRelease, error)

DownloadRelease provides a mock function with given fields: _a0, _a1

type Manifester

type Manifester struct {
	mock.Mock
}

Manifester is an autogenerated mock type for the Manifester type

func (*Manifester) Flush

func (_m *Manifester) Flush(manifest *model.Manifest, dirPath string) error

Flush provides a mock function with given fields: manifest, dirPath

func (*Manifester) Load

func (_m *Manifester) Load(dirPath string) (*model.Manifest, error)

Load provides a mock function with given fields: dirPath

Jump to

Keyboard shortcuts

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