-// Code generated by mockery v2.14.0. DO NOT EDIT.
+// Code generated by mockery v2.35.4. DO NOT EDIT.
package mocks
mock.Mock
}
-// AddToRepo provides a mock function with given fields: repoName, url
-func (_m *HelmManager) AddToRepo(repoName string, url string) error {
- ret := _m.Called(repoName, url)
+// InstallHelmChart provides a mock function with given fields: namespace, repoName, chartName, releaseName
+func (_m *HelmManager) InstallHelmChart(namespace string, repoName string, chartName string, releaseName string) error {
+ ret := _m.Called(namespace, repoName, chartName, releaseName)
var r0 error
- if rf, ok := ret.Get(0).(func(string, string) error); ok {
- r0 = rf(repoName, url)
+ if rf, ok := ret.Get(0).(func(string, string, string, string) error); ok {
+ r0 = rf(namespace, repoName, chartName, releaseName)
} else {
r0 = ret.Error(0)
}
return r0
}
-// InstallHelmChart provides a mock function with given fields: namespace, repoName, chartName, releaseName
-func (_m *HelmManager) InstallHelmChart(namespace string, repoName string, chartName string, releaseName string) error {
- ret := _m.Called(namespace, repoName, chartName, releaseName)
+// SetUpRepo provides a mock function with given fields: repoName, url
+func (_m *HelmManager) SetUpRepo(repoName string, url string) error {
+ ret := _m.Called(repoName, url)
var r0 error
- if rf, ok := ret.Get(0).(func(string, string, string, string) error); ok {
- r0 = rf(namespace, repoName, chartName, releaseName)
+ if rf, ok := ret.Get(0).(func(string, string) error); ok {
+ r0 = rf(repoName, url)
} else {
r0 = ret.Error(0)
}
_m.Called(namespace, chartName)
}
-type mockConstructorTestingTNewHelmManager interface {
+// 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.
+// The first argument is typically a *testing.T value.
+func NewHelmManager(t interface {
mock.TestingT
Cleanup(func())
-}
-
-// 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.
-func NewHelmManager(t mockConstructorTestingTNewHelmManager) *HelmManager {
+}) *HelmManager {
mock := &HelmManager{}
mock.Mock.Test(t)