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 37 38 39
|
// Code generated by mockery v1.1.0. DO NOT EDIT.
package kubernetes
import (
context "context"
mock "github.com/stretchr/testify/mock"
)
// mockLogProcessor is an autogenerated mock type for the logProcessor type
type mockLogProcessor struct {
mock.Mock
}
// Process provides a mock function with given fields: ctx
func (_m *mockLogProcessor) Process(ctx context.Context) (<-chan string, <-chan error) {
ret := _m.Called(ctx)
var r0 <-chan string
if rf, ok := ret.Get(0).(func(context.Context) <-chan string); ok {
r0 = rf(ctx)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(<-chan string)
}
}
var r1 <-chan error
if rf, ok := ret.Get(1).(func(context.Context) <-chan error); ok {
r1 = rf(ctx)
} else {
if ret.Get(1) != nil {
r1 = ret.Get(1).(<-chan error)
}
}
return r0, r1
}
|