mocks

package
v0.0.0-...-cb42e1a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFakeCRCache) Get

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

func (m *MockFakeCRCache) RemoveInformer(ctx context.Context, obj client.Object) error

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

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.

func (*MockFakeHTTPHandlerMockRecorder) ServeHTTP

func (mr *MockFakeHTTPHandlerMockRecorder) ServeHTTP(arg0, arg1 any) *gomock.Call

ServeHTTP indicates an expected call of ServeHTTP.

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFakeSlogHandler) Enabled

func (m *MockFakeSlogHandler) Enabled(arg0 context.Context, arg1 slog.Level) bool

Enabled mocks base method.

func (*MockFakeSlogHandler) Handle

func (m *MockFakeSlogHandler) Handle(arg0 context.Context, arg1 slog.Record) error

Handle mocks base method.

func (*MockFakeSlogHandler) WithAttrs

func (m *MockFakeSlogHandler) WithAttrs(attrs []slog.Attr) slog.Handler

WithAttrs mocks base method.

func (*MockFakeSlogHandler) WithGroup

func (m *MockFakeSlogHandler) WithGroup(name string) slog.Handler

WithGroup mocks base method.

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.

func (*MockFakeSlogHandlerMockRecorder) WithAttrs

func (mr *MockFakeSlogHandlerMockRecorder) WithAttrs(attrs any) *gomock.Call

WithAttrs indicates an expected call of WithAttrs.

func (*MockFakeSlogHandlerMockRecorder) WithGroup

func (mr *MockFakeSlogHandlerMockRecorder) WithGroup(name any) *gomock.Call

WithGroup indicates an expected call of WithGroup.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL