mocks

package
v1.0.78 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReleaseBucket

type ReleaseBucket struct {
	mock.Mock
}

ReleaseBucket is an autogenerated mock type for the ReleaseBucket type

func NewReleaseBucket

func NewReleaseBucket(t mockConstructorTestingTNewReleaseBucket) *ReleaseBucket

NewReleaseBucket creates a new instance of ReleaseBucket. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ReleaseBucket) DownloadAndUnpack

func (_m *ReleaseBucket) DownloadAndUnpack(archive releasebucket.Archive) (string, error)

DownloadAndUnpack provides a mock function with given fields: archive

func (*ReleaseBucket) EXPECT

func (_m *ReleaseBucket) EXPECT() *ReleaseBucket_Expecter

func (*ReleaseBucket) ResolveTagOrVersion

func (_m *ReleaseBucket) ResolveTagOrVersion(tagOrVersion string) (string, error)

ResolveTagOrVersion provides a mock function with given fields: tagOrVersion

type ReleaseBucket_DownloadAndUnpack_Call

type ReleaseBucket_DownloadAndUnpack_Call struct {
	*mock.Call
}

ReleaseBucket_DownloadAndUnpack_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadAndUnpack'

func (*ReleaseBucket_DownloadAndUnpack_Call) Return

func (*ReleaseBucket_DownloadAndUnpack_Call) Run

func (*ReleaseBucket_DownloadAndUnpack_Call) RunAndReturn added in v1.0.73

type ReleaseBucket_Expecter

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

func (*ReleaseBucket_Expecter) DownloadAndUnpack

func (_e *ReleaseBucket_Expecter) DownloadAndUnpack(archive interface{}) *ReleaseBucket_DownloadAndUnpack_Call

DownloadAndUnpack is a helper method to define mock.On call

  • archive releasebucket.Archive

func (*ReleaseBucket_Expecter) ResolveTagOrVersion

func (_e *ReleaseBucket_Expecter) ResolveTagOrVersion(tagOrVersion interface{}) *ReleaseBucket_ResolveTagOrVersion_Call

ResolveTagOrVersion is a helper method to define mock.On call

  • tagOrVersion string

type ReleaseBucket_ResolveTagOrVersion_Call

type ReleaseBucket_ResolveTagOrVersion_Call struct {
	*mock.Call
}

ReleaseBucket_ResolveTagOrVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResolveTagOrVersion'

func (*ReleaseBucket_ResolveTagOrVersion_Call) Return

func (*ReleaseBucket_ResolveTagOrVersion_Call) Run

func (*ReleaseBucket_ResolveTagOrVersion_Call) RunAndReturn added in v1.0.73

Jump to

Keyboard shortcuts

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