/
funcs.go
58 lines (48 loc) · 1.79 KB
/
funcs.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// // SPDX-FileCopyrightText: 2023 SAP SE or an SAP affiliate company and IronCore contributors
// // SPDX-License-Identifier: Apache-2.0
//
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/ironcore-dev/controller-utils/mock/controller-runtime/client (interfaces: IndexerFunc)
//
// Generated by this command:
//
// mockgen -copyright_file ../../../hack/boilerplate.go.txt -package client -destination funcs.go github.com/ironcore-dev/controller-utils/mock/controller-runtime/client IndexerFunc
//
// Package client is a generated GoMock package.
package client
import (
reflect "reflect"
gomock "go.uber.org/mock/gomock"
client "sigs.k8s.io/controller-runtime/pkg/client"
)
// MockIndexerFunc is a mock of IndexerFunc interface.
type MockIndexerFunc struct {
ctrl *gomock.Controller
recorder *MockIndexerFuncMockRecorder
}
// MockIndexerFuncMockRecorder is the mock recorder for MockIndexerFunc.
type MockIndexerFuncMockRecorder struct {
mock *MockIndexerFunc
}
// NewMockIndexerFunc creates a new mock instance.
func NewMockIndexerFunc(ctrl *gomock.Controller) *MockIndexerFunc {
mock := &MockIndexerFunc{ctrl: ctrl}
mock.recorder = &MockIndexerFuncMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockIndexerFunc) EXPECT() *MockIndexerFuncMockRecorder {
return m.recorder
}
// Call mocks base method.
func (m *MockIndexerFunc) Call(arg0 client.Object) []string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Call", arg0)
ret0, _ := ret[0].([]string)
return ret0
}
// Call indicates an expected call of Call.
func (mr *MockIndexerFuncMockRecorder) Call(arg0 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Call", reflect.TypeOf((*MockIndexerFunc)(nil).Call), arg0)
}