mocks

package
v0.0.0-...-1c44903 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 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 Provider

type Provider struct {
	mock.Mock
}

Provider is an autogenerated mock type for the Provider type

func (*Provider) GetReleaseByVersion

func (_m *Provider) GetReleaseByVersion(version string) (model.Release, dberrors.Error)

GetReleaseByVersion provides a mock function with given fields: version

type Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func (*Repository) GetReleaseByVersion

func (_m *Repository) GetReleaseByVersion(version string) (model.Release, dberrors.Error)

GetReleaseByVersion provides a mock function with given fields: version

func (*Repository) ReleaseExists

func (_m *Repository) ReleaseExists(version string) (bool, dberrors.Error)

ReleaseExists provides a mock function with given fields: version

func (*Repository) SaveRelease

func (_m *Repository) SaveRelease(artifacts model.Release) (model.Release, dberrors.Error)

SaveRelease provides a mock function with given fields: artifacts

Jump to

Keyboard shortcuts

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