forked from kubernetes-sigs/aws-load-balancer-controller
/
pod_info_repo_mocks.go
66 lines (55 loc) · 2.06 KB
/
pod_info_repo_mocks.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
59
60
61
62
63
64
65
66
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/sonal-chauhan/aws-load-balancer-controller/pkg/k8s (interfaces: PodInfoRepo)
// Package k8s is a generated GoMock package.
package k8s
import (
context "context"
reflect "reflect"
gomock "github.com/golang/mock/gomock"
types "k8s.io/apimachinery/pkg/types"
)
// MockPodInfoRepo is a mock of PodInfoRepo interface.
type MockPodInfoRepo struct {
ctrl *gomock.Controller
recorder *MockPodInfoRepoMockRecorder
}
// MockPodInfoRepoMockRecorder is the mock recorder for MockPodInfoRepo.
type MockPodInfoRepoMockRecorder struct {
mock *MockPodInfoRepo
}
// NewMockPodInfoRepo creates a new mock instance.
func NewMockPodInfoRepo(ctrl *gomock.Controller) *MockPodInfoRepo {
mock := &MockPodInfoRepo{ctrl: ctrl}
mock.recorder = &MockPodInfoRepoMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockPodInfoRepo) EXPECT() *MockPodInfoRepoMockRecorder {
return m.recorder
}
// Get mocks base method.
func (m *MockPodInfoRepo) Get(arg0 context.Context, arg1 types.NamespacedName) (PodInfo, bool, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Get", arg0, arg1)
ret0, _ := ret[0].(PodInfo)
ret1, _ := ret[1].(bool)
ret2, _ := ret[2].(error)
return ret0, ret1, ret2
}
// Get indicates an expected call of Get.
func (mr *MockPodInfoRepoMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockPodInfoRepo)(nil).Get), arg0, arg1)
}
// ListKeys mocks base method.
func (m *MockPodInfoRepo) ListKeys(arg0 context.Context) []types.NamespacedName {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListKeys", arg0)
ret0, _ := ret[0].([]types.NamespacedName)
return ret0
}
// ListKeys indicates an expected call of ListKeys.
func (mr *MockPodInfoRepoMockRecorder) ListKeys(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListKeys", reflect.TypeOf((*MockPodInfoRepo)(nil).ListKeys), arg0)
}