Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReleaseBucket ¶
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 ¶
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 (_c *ReleaseBucket_DownloadAndUnpack_Call) Return(path string, err error) *ReleaseBucket_DownloadAndUnpack_Call
func (*ReleaseBucket_DownloadAndUnpack_Call) Run ¶
func (_c *ReleaseBucket_DownloadAndUnpack_Call) Run(run func(archive releasebucket.Archive)) *ReleaseBucket_DownloadAndUnpack_Call
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 ¶
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 (_c *ReleaseBucket_ResolveTagOrVersion_Call) Return(_a0 string, _a1 error) *ReleaseBucket_ResolveTagOrVersion_Call
func (*ReleaseBucket_ResolveTagOrVersion_Call) Run ¶
func (_c *ReleaseBucket_ResolveTagOrVersion_Call) Run(run func(tagOrVersion string)) *ReleaseBucket_ResolveTagOrVersion_Call