github.com/kyma-project/kyma-environment-broker@v0.0.1/internal/process/input/automock/disabled_components_provider.go (about) 1 // Code generated by mockery v2.9.4. DO NOT EDIT. 2 3 package automock 4 5 import mock "github.com/stretchr/testify/mock" 6 7 // DisabledComponentsProvider is an autogenerated mock type for the DisabledComponentsProvider type 8 type DisabledComponentsProvider struct { 9 mock.Mock 10 } 11 12 // DisabledComponentsPerPlan provides a mock function with given fields: planID 13 func (_m *DisabledComponentsProvider) DisabledComponentsPerPlan(planID string) (map[string]struct{}, error) { 14 ret := _m.Called(planID) 15 16 var r0 map[string]struct{} 17 if rf, ok := ret.Get(0).(func(string) map[string]struct{}); ok { 18 r0 = rf(planID) 19 } else { 20 if ret.Get(0) != nil { 21 r0 = ret.Get(0).(map[string]struct{}) 22 } 23 } 24 25 var r1 error 26 if rf, ok := ret.Get(1).(func(string) error); ok { 27 r1 = rf(planID) 28 } else { 29 r1 = ret.Error(1) 30 } 31 32 return r0, r1 33 } 34 35 // DisabledForAll provides a mock function with given fields: 36 func (_m *DisabledComponentsProvider) DisabledForAll() map[string]struct{} { 37 ret := _m.Called() 38 39 var r0 map[string]struct{} 40 if rf, ok := ret.Get(0).(func() map[string]struct{}); ok { 41 r0 = rf() 42 } else { 43 if ret.Get(0) != nil { 44 r0 = ret.Get(0).(map[string]struct{}) 45 } 46 } 47 48 return r0 49 }