1 // Code generated by mockery v2.35.4. DO NOT EDIT.
5 import mock "github.com/stretchr/testify/mock"
7 // HelmManager is an autogenerated mock type for the HelmManager type
8 type HelmManager struct {
12 // InstallHelmChart provides a mock function with given fields: namespace, repoName, chartName, releaseName
13 func (_m *HelmManager) InstallHelmChart(namespace string, repoName string, chartName string, releaseName string) error {
14 ret := _m.Called(namespace, repoName, chartName, releaseName)
17 if rf, ok := ret.Get(0).(func(string, string, string, string) error); ok {
18 r0 = rf(namespace, repoName, chartName, releaseName)
26 // SetUpRepo provides a mock function with given fields: repoName, url
27 func (_m *HelmManager) SetUpRepo(repoName string, url string) error {
28 ret := _m.Called(repoName, url)
31 if rf, ok := ret.Get(0).(func(string, string) error); ok {
32 r0 = rf(repoName, url)
40 // UninstallHelmChart provides a mock function with given fields: namespace, chartName
41 func (_m *HelmManager) UninstallHelmChart(namespace string, chartName string) {
42 _m.Called(namespace, chartName)
45 // NewHelmManager creates a new instance of HelmManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
46 // The first argument is typically a *testing.T value.
47 func NewHelmManager(t interface {
51 mock := &HelmManager{}
54 t.Cleanup(func() { mock.AssertExpectations(t) })