mocks

package
v1.1.1-0...-c2d5e5a Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitClient

type GitClient struct {
	mock.Mock
}

GitClient is an autogenerated mock type for the GitClient type

func (*GitClient) CreateRef

func (_m *GitClient) CreateRef(_a0 context.Context, _a1 string, _a2 string, _a3 *github.Reference) (*github.Reference, *github.Response, error)

CreateRef provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*GitClient) DeleteRef

func (_m *GitClient) DeleteRef(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Response, error)

DeleteRef provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*GitClient) GetRef

func (_m *GitClient) GetRef(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Reference, *github.Response, error)

GetRef provides a mock function with given fields: _a0, _a1, _a2, _a3

type RepositoriesClient

type RepositoriesClient struct {
	mock.Mock
}

RepositoriesClient is an autogenerated mock type for the RepositoriesClient type

func (*RepositoriesClient) CreateRelease

CreateRelease provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*RepositoriesClient) DeleteRelease

func (_m *RepositoriesClient) DeleteRelease(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)

DeleteRelease provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*RepositoriesClient) GetReleaseByTag

func (_m *RepositoriesClient) GetReleaseByTag(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.RepositoryRelease, *github.Response, error)

GetReleaseByTag provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*RepositoriesClient) UploadReleaseAsset

func (_m *RepositoriesClient) UploadReleaseAsset(_a0 context.Context, _a1 string, _a2 string, _a3 int64, _a4 *github.UploadOptions, _a5 *os.File) (*github.ReleaseAsset, *github.Response, error)

UploadReleaseAsset provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5

Jump to

Keyboard shortcuts

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