2022-08-15 21:41:24 +02:00
// Code generated by mockery v2.14.0. DO NOT EDIT.
2022-02-10 11:25:03 +02:00
package mocks
import mock "github.com/stretchr/testify/mock"
// HelmExecutor is an autogenerated mock type for the HelmExecutor type
type HelmExecutor struct {
mock . Mock
}
2022-03-30 08:18:51 +02:00
// RunHelmDependency provides a mock function with given fields:
func ( _m * HelmExecutor ) RunHelmDependency ( ) error {
2022-02-10 11:25:03 +02:00
ret := _m . Called ( )
var r0 error
if rf , ok := ret . Get ( 0 ) . ( func ( ) error ) ; ok {
r0 = rf ( )
} else {
r0 = ret . Error ( 0 )
}
return r0
}
// RunHelmInstall provides a mock function with given fields:
func ( _m * HelmExecutor ) RunHelmInstall ( ) error {
ret := _m . Called ( )
var r0 error
if rf , ok := ret . Get ( 0 ) . ( func ( ) error ) ; ok {
r0 = rf ( )
} else {
r0 = ret . Error ( 0 )
}
return r0
}
// RunHelmLint provides a mock function with given fields:
func ( _m * HelmExecutor ) RunHelmLint ( ) error {
ret := _m . Called ( )
var r0 error
if rf , ok := ret . Get ( 0 ) . ( func ( ) error ) ; ok {
r0 = rf ( )
} else {
r0 = ret . Error ( 0 )
}
return r0
}
2022-03-17 18:13:34 +02:00
// RunHelmPublish provides a mock function with given fields:
2022-08-15 21:41:24 +02:00
func ( _m * HelmExecutor ) RunHelmPublish ( ) ( string , error ) {
2022-02-10 11:25:03 +02:00
ret := _m . Called ( )
2022-08-15 21:41:24 +02:00
var r0 string
if rf , ok := ret . Get ( 0 ) . ( func ( ) string ) ; ok {
2022-02-10 11:25:03 +02:00
r0 = rf ( )
} else {
2022-08-15 21:41:24 +02:00
r0 = ret . Get ( 0 ) . ( string )
2022-02-10 11:25:03 +02:00
}
2022-08-15 21:41:24 +02:00
var r1 error
if rf , ok := ret . Get ( 1 ) . ( func ( ) error ) ; ok {
r1 = rf ( )
} else {
r1 = ret . Error ( 1 )
}
return r0 , r1
2022-02-10 11:25:03 +02:00
}
// RunHelmTest provides a mock function with given fields:
func ( _m * HelmExecutor ) RunHelmTest ( ) error {
ret := _m . Called ( )
var r0 error
if rf , ok := ret . Get ( 0 ) . ( func ( ) error ) ; ok {
r0 = rf ( )
} else {
r0 = ret . Error ( 0 )
}
return r0
}
// RunHelmUninstall provides a mock function with given fields:
func ( _m * HelmExecutor ) RunHelmUninstall ( ) error {
ret := _m . Called ( )
var r0 error
if rf , ok := ret . Get ( 0 ) . ( func ( ) error ) ; ok {
r0 = rf ( )
} else {
r0 = ret . Error ( 0 )
}
return r0
}
// RunHelmUpgrade provides a mock function with given fields:
func ( _m * HelmExecutor ) RunHelmUpgrade ( ) error {
ret := _m . Called ( )
var r0 error
if rf , ok := ret . Get ( 0 ) . ( func ( ) error ) ; ok {
r0 = rf ( )
} else {
r0 = ret . Error ( 0 )
}
return r0
}
2022-08-15 21:41:24 +02:00
type mockConstructorTestingTNewHelmExecutor interface {
mock . TestingT
Cleanup ( func ( ) )
}
// NewHelmExecutor creates a new instance of HelmExecutor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func NewHelmExecutor ( t mockConstructorTestingTNewHelmExecutor ) * HelmExecutor {
mock := & HelmExecutor { }
mock . Mock . Test ( t )
t . Cleanup ( func ( ) { mock . AssertExpectations ( t ) } )
return mock
}