Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockFakeCRCache
- func (m *MockFakeCRCache) EXPECT() *MockFakeCRCacheMockRecorder
- func (m *MockFakeCRCache) Get(ctx context.Context, key client.ObjectKey, obj client.Object, ...) error
- func (m *MockFakeCRCache) GetInformer(ctx context.Context, obj client.Object, opts ...cache.InformerGetOption) (cache.Informer, error)
- func (m *MockFakeCRCache) GetInformerForKind(ctx context.Context, gvk schema.GroupVersionKind, ...) (cache.Informer, error)
- func (m *MockFakeCRCache) IndexField(ctx context.Context, obj client.Object, field string, ...) error
- func (m *MockFakeCRCache) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
- func (m *MockFakeCRCache) RemoveInformer(ctx context.Context, obj client.Object) error
- func (m *MockFakeCRCache) Start(ctx context.Context) error
- func (m *MockFakeCRCache) WaitForCacheSync(ctx context.Context) bool
- type MockFakeCRCacheMockRecorder
- func (mr *MockFakeCRCacheMockRecorder) Get(ctx, key, obj any, opts ...any) *gomock.Call
- func (mr *MockFakeCRCacheMockRecorder) GetInformer(ctx, obj any, opts ...any) *gomock.Call
- func (mr *MockFakeCRCacheMockRecorder) GetInformerForKind(ctx, gvk any, opts ...any) *gomock.Call
- func (mr *MockFakeCRCacheMockRecorder) IndexField(ctx, obj, field, extractValue any) *gomock.Call
- func (mr *MockFakeCRCacheMockRecorder) List(ctx, list any, opts ...any) *gomock.Call
- func (mr *MockFakeCRCacheMockRecorder) RemoveInformer(ctx, obj any) *gomock.Call
- func (mr *MockFakeCRCacheMockRecorder) Start(ctx any) *gomock.Call
- func (mr *MockFakeCRCacheMockRecorder) WaitForCacheSync(ctx any) *gomock.Call
- type MockFakeHTTPHandler
- type MockFakeHTTPHandlerMockRecorder
- type MockFakeSlogHandler
- func (m *MockFakeSlogHandler) EXPECT() *MockFakeSlogHandlerMockRecorder
- func (m *MockFakeSlogHandler) Enabled(arg0 context.Context, arg1 slog.Level) bool
- func (m *MockFakeSlogHandler) Handle(arg0 context.Context, arg1 slog.Record) error
- func (m *MockFakeSlogHandler) WithAttrs(attrs []slog.Attr) slog.Handler
- func (m *MockFakeSlogHandler) WithGroup(name string) slog.Handler
- type MockFakeSlogHandlerMockRecorder
- func (mr *MockFakeSlogHandlerMockRecorder) Enabled(arg0, arg1 any) *gomock.Call
- func (mr *MockFakeSlogHandlerMockRecorder) Handle(arg0, arg1 any) *gomock.Call
- func (mr *MockFakeSlogHandlerMockRecorder) WithAttrs(attrs any) *gomock.Call
- func (mr *MockFakeSlogHandlerMockRecorder) WithGroup(name any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFakeCRCache ¶
type MockFakeCRCache struct {
// contains filtered or unexported fields
}
MockFakeCRCache is a mock of FakeCRCache interface.
func NewMockFakeCRCache ¶
func NewMockFakeCRCache(ctrl *gomock.Controller) *MockFakeCRCache
NewMockFakeCRCache creates a new mock instance.
func (*MockFakeCRCache) EXPECT ¶
func (m *MockFakeCRCache) EXPECT() *MockFakeCRCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFakeCRCache) Get ¶
func (m *MockFakeCRCache) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error
Get mocks base method.
func (*MockFakeCRCache) GetInformer ¶
func (m *MockFakeCRCache) GetInformer(ctx context.Context, obj client.Object, opts ...cache.InformerGetOption) (cache.Informer, error)
GetInformer mocks base method.
func (*MockFakeCRCache) GetInformerForKind ¶
func (m *MockFakeCRCache) GetInformerForKind(ctx context.Context, gvk schema.GroupVersionKind, opts ...cache.InformerGetOption) (cache.Informer, error)
GetInformerForKind mocks base method.
func (*MockFakeCRCache) IndexField ¶
func (m *MockFakeCRCache) IndexField(ctx context.Context, obj client.Object, field string, extractValue client.IndexerFunc) error
IndexField mocks base method.
func (*MockFakeCRCache) List ¶
func (m *MockFakeCRCache) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
List mocks base method.
func (*MockFakeCRCache) RemoveInformer ¶
RemoveInformer mocks base method.
func (*MockFakeCRCache) Start ¶
func (m *MockFakeCRCache) Start(ctx context.Context) error
Start mocks base method.
func (*MockFakeCRCache) WaitForCacheSync ¶
func (m *MockFakeCRCache) WaitForCacheSync(ctx context.Context) bool
WaitForCacheSync mocks base method.
type MockFakeCRCacheMockRecorder ¶
type MockFakeCRCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockFakeCRCacheMockRecorder is the mock recorder for MockFakeCRCache.
func (*MockFakeCRCacheMockRecorder) Get ¶
func (mr *MockFakeCRCacheMockRecorder) Get(ctx, key, obj any, opts ...any) *gomock.Call
Get indicates an expected call of Get.
func (*MockFakeCRCacheMockRecorder) GetInformer ¶
func (mr *MockFakeCRCacheMockRecorder) GetInformer(ctx, obj any, opts ...any) *gomock.Call
GetInformer indicates an expected call of GetInformer.
func (*MockFakeCRCacheMockRecorder) GetInformerForKind ¶
func (mr *MockFakeCRCacheMockRecorder) GetInformerForKind(ctx, gvk any, opts ...any) *gomock.Call
GetInformerForKind indicates an expected call of GetInformerForKind.
func (*MockFakeCRCacheMockRecorder) IndexField ¶
func (mr *MockFakeCRCacheMockRecorder) IndexField(ctx, obj, field, extractValue any) *gomock.Call
IndexField indicates an expected call of IndexField.
func (*MockFakeCRCacheMockRecorder) List ¶
func (mr *MockFakeCRCacheMockRecorder) List(ctx, list any, opts ...any) *gomock.Call
List indicates an expected call of List.
func (*MockFakeCRCacheMockRecorder) RemoveInformer ¶
func (mr *MockFakeCRCacheMockRecorder) RemoveInformer(ctx, obj any) *gomock.Call
RemoveInformer indicates an expected call of RemoveInformer.
func (*MockFakeCRCacheMockRecorder) Start ¶
func (mr *MockFakeCRCacheMockRecorder) Start(ctx any) *gomock.Call
Start indicates an expected call of Start.
func (*MockFakeCRCacheMockRecorder) WaitForCacheSync ¶
func (mr *MockFakeCRCacheMockRecorder) WaitForCacheSync(ctx any) *gomock.Call
WaitForCacheSync indicates an expected call of WaitForCacheSync.
type MockFakeHTTPHandler ¶
type MockFakeHTTPHandler struct {
// contains filtered or unexported fields
}
MockFakeHTTPHandler is a mock of FakeHTTPHandler interface.
func NewMockFakeHTTPHandler ¶
func NewMockFakeHTTPHandler(ctrl *gomock.Controller) *MockFakeHTTPHandler
NewMockFakeHTTPHandler creates a new mock instance.
func (*MockFakeHTTPHandler) EXPECT ¶
func (m *MockFakeHTTPHandler) EXPECT() *MockFakeHTTPHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFakeHTTPHandler) ServeHTTP ¶
func (m *MockFakeHTTPHandler) ServeHTTP(arg0 http.ResponseWriter, arg1 *http.Request)
ServeHTTP mocks base method.
type MockFakeHTTPHandlerMockRecorder ¶
type MockFakeHTTPHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockFakeHTTPHandlerMockRecorder is the mock recorder for MockFakeHTTPHandler.
type MockFakeSlogHandler ¶
type MockFakeSlogHandler struct {
// contains filtered or unexported fields
}
MockFakeSlogHandler is a mock of FakeSlogHandler interface.
func NewMockFakeSlogHandler ¶
func NewMockFakeSlogHandler(ctrl *gomock.Controller) *MockFakeSlogHandler
NewMockFakeSlogHandler creates a new mock instance.
func (*MockFakeSlogHandler) EXPECT ¶
func (m *MockFakeSlogHandler) EXPECT() *MockFakeSlogHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFakeSlogHandlerMockRecorder ¶
type MockFakeSlogHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockFakeSlogHandlerMockRecorder is the mock recorder for MockFakeSlogHandler.
func (*MockFakeSlogHandlerMockRecorder) Enabled ¶
func (mr *MockFakeSlogHandlerMockRecorder) Enabled(arg0, arg1 any) *gomock.Call
Enabled indicates an expected call of Enabled.
func (*MockFakeSlogHandlerMockRecorder) Handle ¶
func (mr *MockFakeSlogHandlerMockRecorder) Handle(arg0, arg1 any) *gomock.Call
Handle indicates an expected call of Handle.