Documentation ¶
Overview ¶
Package cache is a generated GoMock package.
Index ¶
- type MockCache
- func (m *MockCache) EXPECT() *MockCacheMockRecorder
- func (m *MockCache) Get(arg0 context.Context, arg1 types.NamespacedName, arg2 client.Object) error
- func (m *MockCache) GetInformer(arg0 context.Context, arg1 client.Object) (cache.Informer, error)
- func (m *MockCache) GetInformerForKind(arg0 context.Context, arg1 schema.GroupVersionKind) (cache.Informer, error)
- func (m *MockCache) IndexField(arg0 context.Context, arg1 client.Object, arg2 string, arg3 client.IndexerFunc) error
- func (m *MockCache) List(arg0 context.Context, arg1 client.ObjectList, arg2 ...client.ListOption) error
- func (m *MockCache) Start(arg0 context.Context) error
- func (m *MockCache) WaitForCacheSync(arg0 context.Context) bool
- type MockCacheMockRecorder
- func (mr *MockCacheMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) GetInformer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) GetInformerForKind(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) IndexField(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) WaitForCacheSync(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCache ¶
type MockCache struct {
// contains filtered or unexported fields
}
MockCache is a mock of Cache interface.
func NewMockCache ¶
func NewMockCache(ctrl *gomock.Controller) *MockCache
NewMockCache creates a new mock instance.
func (*MockCache) EXPECT ¶
func (m *MockCache) EXPECT() *MockCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCache) GetInformer ¶
GetInformer mocks base method.
func (*MockCache) GetInformerForKind ¶
func (m *MockCache) GetInformerForKind(arg0 context.Context, arg1 schema.GroupVersionKind) (cache.Informer, error)
GetInformerForKind mocks base method.
func (*MockCache) IndexField ¶
func (m *MockCache) IndexField(arg0 context.Context, arg1 client.Object, arg2 string, arg3 client.IndexerFunc) error
IndexField mocks base method.
func (*MockCache) List ¶
func (m *MockCache) List(arg0 context.Context, arg1 client.ObjectList, arg2 ...client.ListOption) error
List mocks base method.
type MockCacheMockRecorder ¶
type MockCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockCacheMockRecorder is the mock recorder for MockCache.
func (*MockCacheMockRecorder) Get ¶
func (mr *MockCacheMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockCacheMockRecorder) GetInformer ¶
func (mr *MockCacheMockRecorder) GetInformer(arg0, arg1 interface{}) *gomock.Call
GetInformer indicates an expected call of GetInformer.
func (*MockCacheMockRecorder) GetInformerForKind ¶
func (mr *MockCacheMockRecorder) GetInformerForKind(arg0, arg1 interface{}) *gomock.Call
GetInformerForKind indicates an expected call of GetInformerForKind.
func (*MockCacheMockRecorder) IndexField ¶
func (mr *MockCacheMockRecorder) IndexField(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
IndexField indicates an expected call of IndexField.
func (*MockCacheMockRecorder) List ¶
func (mr *MockCacheMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockCacheMockRecorder) Start ¶
func (mr *MockCacheMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockCacheMockRecorder) WaitForCacheSync ¶
func (mr *MockCacheMockRecorder) WaitForCacheSync(arg0 interface{}) *gomock.Call
WaitForCacheSync indicates an expected call of WaitForCacheSync.