2018-07-09 10:12:11 +00:00
|
|
|
// Code generated by mockery v1.0.0. DO NOT EDIT.
|
|
|
|
|
|
|
|
package source
|
|
|
|
|
|
|
|
import mock "github.com/stretchr/testify/mock"
|
|
|
|
|
2021-03-01 05:45:32 +00:00
|
|
|
// MockLabelSource is an autogenerated mock type for the LabelSource type
|
|
|
|
type MockLabelSource struct {
|
2018-07-09 10:12:11 +00:00
|
|
|
mock.Mock
|
|
|
|
}
|
|
|
|
|
2021-03-01 16:39:49 +00:00
|
|
|
// GetLabels provides a mock function with given fields:
|
|
|
|
func (_m *MockLabelSource) GetLabels() (FeatureLabels, error) {
|
2018-07-09 10:12:11 +00:00
|
|
|
ret := _m.Called()
|
|
|
|
|
2021-03-01 05:45:32 +00:00
|
|
|
var r0 FeatureLabels
|
|
|
|
if rf, ok := ret.Get(0).(func() FeatureLabels); ok {
|
2018-07-09 10:12:11 +00:00
|
|
|
r0 = rf()
|
|
|
|
} else {
|
|
|
|
if ret.Get(0) != nil {
|
2021-03-01 05:45:32 +00:00
|
|
|
r0 = ret.Get(0).(FeatureLabels)
|
2018-07-09 10:12:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var r1 error
|
|
|
|
if rf, ok := ret.Get(1).(func() error); ok {
|
|
|
|
r1 = rf()
|
|
|
|
} else {
|
|
|
|
r1 = ret.Error(1)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0, r1
|
|
|
|
}
|
|
|
|
|
|
|
|
// Name provides a mock function with given fields:
|
2021-03-01 05:45:32 +00:00
|
|
|
func (_m *MockLabelSource) Name() string {
|
2018-07-09 10:12:11 +00:00
|
|
|
ret := _m.Called()
|
|
|
|
|
|
|
|
var r0 string
|
|
|
|
if rf, ok := ret.Get(0).(func() string); ok {
|
|
|
|
r0 = rf()
|
|
|
|
} else {
|
|
|
|
r0 = ret.Get(0).(string)
|
|
|
|
}
|
|
|
|
|
|
|
|
return r0
|
|
|
|
}
|
2020-04-21 19:03:37 +00:00
|
|
|
|
2021-03-01 07:02:22 +00:00
|
|
|
// Priority provides a mock function with given fields:
|
|
|
|
func (_m *MockLabelSource) Priority() int {
|
2020-04-21 19:03:37 +00:00
|
|
|
ret := _m.Called()
|
|
|
|
|
2021-03-01 07:02:22 +00:00
|
|
|
var r0 int
|
|
|
|
if rf, ok := ret.Get(0).(func() int); ok {
|
2020-04-21 19:03:37 +00:00
|
|
|
r0 = rf()
|
|
|
|
} else {
|
2021-03-01 07:02:22 +00:00
|
|
|
r0 = ret.Get(0).(int)
|
2020-04-21 19:03:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
return r0
|
|
|
|
}
|