forked from kyma-project/kyma
/
bind_template_resolver.go
36 lines (30 loc) · 1.01 KB
/
bind_template_resolver.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Code generated by mockery v1.0.0
package automock
import mock "github.com/stretchr/testify/mock"
import (
"github.com/kyma-project/kyma/components/helm-broker/internal"
ybind "github.com/kyma-project/kyma/components/helm-broker/internal/ybind"
)
// BindTemplateResolver is an autogenerated mock type for the BindTemplateResolver type
type BindTemplateResolver struct {
mock.Mock
}
// Resolve provides a mock function with given fields: bindYAML, ns
func (_m *BindTemplateResolver) Resolve(bindYAML ybind.RenderedBindYAML, ns internal.Namespace) (*ybind.ResolveOutput, error) {
ret := _m.Called(bindYAML, ns)
var r0 *ybind.ResolveOutput
if rf, ok := ret.Get(0).(func(ybind.RenderedBindYAML, internal.Namespace) *ybind.ResolveOutput); ok {
r0 = rf(bindYAML, ns)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*ybind.ResolveOutput)
}
}
var r1 error
if rf, ok := ret.Get(1).(func(ybind.RenderedBindYAML, internal.Namespace) error); ok {
r1 = rf(bindYAML, ns)
} else {
r1 = ret.Error(1)
}
return r0, r1
}