mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 11 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.

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 MockHandler

type MockHandler struct {
	// contains filtered or unexported fields
}

MockHandler is a mock of Handler interface.

func NewMockHandler

func NewMockHandler(ctrl *gomock.Controller) *MockHandler

NewMockHandler creates a new mock instance.

func (*MockHandler) EXPECT

func (m *MockHandler) EXPECT() *MockHandlerMockRecorder

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

func (*MockHandler) Name

func (m *MockHandler) Name() string

Name mocks base method.

func (*MockHandler) ServeDNS

func (m *MockHandler) ServeDNS(arg0 context.Context, arg1 dns.ResponseWriter, arg2 *dns.Msg) (int, error)

ServeDNS mocks base method.

type MockHandlerMockRecorder

type MockHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockHandlerMockRecorder is the mock recorder for MockHandler.

func (*MockHandlerMockRecorder) Name

func (mr *MockHandlerMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockHandlerMockRecorder) ServeDNS

func (mr *MockHandlerMockRecorder) ServeDNS(arg0, arg1, arg2 any) *gomock.Call

ServeDNS indicates an expected call of ServeDNS.

type MockIndexer

type MockIndexer struct {
	// contains filtered or unexported fields
}

MockIndexer is a mock of Indexer interface.

func NewMockIndexer

func NewMockIndexer(ctrl *gomock.Controller) *MockIndexer

NewMockIndexer creates a new mock instance.

func (*MockIndexer) Add

func (m *MockIndexer) Add(arg0 any) error

Add mocks base method.

func (*MockIndexer) AddIndexers

func (m *MockIndexer) AddIndexers(arg0 cache.Indexers) error

AddIndexers mocks base method.

func (*MockIndexer) ByIndex

func (m *MockIndexer) ByIndex(arg0, arg1 string) ([]any, error)

ByIndex mocks base method.

func (*MockIndexer) Delete

func (m *MockIndexer) Delete(arg0 any) error

Delete mocks base method.

func (*MockIndexer) EXPECT

func (m *MockIndexer) EXPECT() *MockIndexerMockRecorder

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

func (*MockIndexer) Get

func (m *MockIndexer) Get(arg0 any) (any, bool, error)

Get mocks base method.

func (*MockIndexer) GetByKey

func (m *MockIndexer) GetByKey(arg0 string) (any, bool, error)

GetByKey mocks base method.

func (*MockIndexer) GetIndexers

func (m *MockIndexer) GetIndexers() cache.Indexers

GetIndexers mocks base method.

func (*MockIndexer) Index

func (m *MockIndexer) Index(arg0 string, arg1 any) ([]any, error)

Index mocks base method.

func (*MockIndexer) IndexKeys

func (m *MockIndexer) IndexKeys(arg0, arg1 string) ([]string, error)

IndexKeys mocks base method.

func (*MockIndexer) List

func (m *MockIndexer) List() []any

List mocks base method.

func (*MockIndexer) ListIndexFuncValues

func (m *MockIndexer) ListIndexFuncValues(arg0 string) []string

ListIndexFuncValues mocks base method.

func (*MockIndexer) ListKeys

func (m *MockIndexer) ListKeys() []string

ListKeys mocks base method.

func (*MockIndexer) Replace

func (m *MockIndexer) Replace(arg0 []any, arg1 string) error

Replace mocks base method.

func (*MockIndexer) Resync

func (m *MockIndexer) Resync() error

Resync mocks base method.

func (*MockIndexer) Update

func (m *MockIndexer) Update(arg0 any) error

Update mocks base method.

type MockIndexerMockRecorder

type MockIndexerMockRecorder struct {
	// contains filtered or unexported fields
}

MockIndexerMockRecorder is the mock recorder for MockIndexer.

func (*MockIndexerMockRecorder) Add

func (mr *MockIndexerMockRecorder) Add(arg0 any) *gomock.Call

Add indicates an expected call of Add.

func (*MockIndexerMockRecorder) AddIndexers

func (mr *MockIndexerMockRecorder) AddIndexers(arg0 any) *gomock.Call

AddIndexers indicates an expected call of AddIndexers.

func (*MockIndexerMockRecorder) ByIndex

func (mr *MockIndexerMockRecorder) ByIndex(arg0, arg1 any) *gomock.Call

ByIndex indicates an expected call of ByIndex.

func (*MockIndexerMockRecorder) Delete

func (mr *MockIndexerMockRecorder) Delete(arg0 any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockIndexerMockRecorder) Get

func (mr *MockIndexerMockRecorder) Get(arg0 any) *gomock.Call

Get indicates an expected call of Get.

func (*MockIndexerMockRecorder) GetByKey

func (mr *MockIndexerMockRecorder) GetByKey(arg0 any) *gomock.Call

GetByKey indicates an expected call of GetByKey.

func (*MockIndexerMockRecorder) GetIndexers

func (mr *MockIndexerMockRecorder) GetIndexers() *gomock.Call

GetIndexers indicates an expected call of GetIndexers.

func (*MockIndexerMockRecorder) Index

func (mr *MockIndexerMockRecorder) Index(arg0, arg1 any) *gomock.Call

Index indicates an expected call of Index.

func (*MockIndexerMockRecorder) IndexKeys

func (mr *MockIndexerMockRecorder) IndexKeys(arg0, arg1 any) *gomock.Call

IndexKeys indicates an expected call of IndexKeys.

func (*MockIndexerMockRecorder) List

func (mr *MockIndexerMockRecorder) List() *gomock.Call

List indicates an expected call of List.

func (*MockIndexerMockRecorder) ListIndexFuncValues

func (mr *MockIndexerMockRecorder) ListIndexFuncValues(arg0 any) *gomock.Call

ListIndexFuncValues indicates an expected call of ListIndexFuncValues.

func (*MockIndexerMockRecorder) ListKeys

func (mr *MockIndexerMockRecorder) ListKeys() *gomock.Call

ListKeys indicates an expected call of ListKeys.

func (*MockIndexerMockRecorder) Replace

func (mr *MockIndexerMockRecorder) Replace(arg0, arg1 any) *gomock.Call

Replace indicates an expected call of Replace.

func (*MockIndexerMockRecorder) Resync

func (mr *MockIndexerMockRecorder) Resync() *gomock.Call

Resync indicates an expected call of Resync.

func (*MockIndexerMockRecorder) Update

func (mr *MockIndexerMockRecorder) Update(arg0 any) *gomock.Call

Update indicates an expected call of Update.

type MockInterface

type MockInterface struct {
	// contains filtered or unexported fields
}

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) APIVersion

func (m *MockInterface) APIVersion() schema.GroupVersion

APIVersion mocks base method.

func (*MockInterface) Delete

func (m *MockInterface) Delete() *rest.Request

Delete mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) Get

func (m *MockInterface) Get() *rest.Request

Get mocks base method.

func (*MockInterface) GetRateLimiter

func (m *MockInterface) GetRateLimiter() flowcontrol.RateLimiter

GetRateLimiter mocks base method.

func (*MockInterface) Patch

func (m *MockInterface) Patch(arg0 types.PatchType) *rest.Request

Patch mocks base method.

func (*MockInterface) Post

func (m *MockInterface) Post() *rest.Request

Post mocks base method.

func (*MockInterface) Put

func (m *MockInterface) Put() *rest.Request

Put mocks base method.

func (*MockInterface) Verb

func (m *MockInterface) Verb(arg0 string) *rest.Request

Verb mocks base method.

type MockInterfaceMockRecorder

type MockInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) APIVersion

func (mr *MockInterfaceMockRecorder) APIVersion() *gomock.Call

APIVersion indicates an expected call of APIVersion.

func (*MockInterfaceMockRecorder) Delete

func (mr *MockInterfaceMockRecorder) Delete() *gomock.Call

Delete indicates an expected call of Delete.

func (*MockInterfaceMockRecorder) Get

Get indicates an expected call of Get.

func (*MockInterfaceMockRecorder) GetRateLimiter

func (mr *MockInterfaceMockRecorder) GetRateLimiter() *gomock.Call

GetRateLimiter indicates an expected call of GetRateLimiter.

func (*MockInterfaceMockRecorder) Patch

func (mr *MockInterfaceMockRecorder) Patch(arg0 any) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockInterfaceMockRecorder) Post

Post indicates an expected call of Post.

func (*MockInterfaceMockRecorder) Put

Put indicates an expected call of Put.

func (*MockInterfaceMockRecorder) Verb

func (mr *MockInterfaceMockRecorder) Verb(arg0 any) *gomock.Call

Verb indicates an expected call of Verb.

type MockResponseWriter

type MockResponseWriter struct {
	// contains filtered or unexported fields
}

MockResponseWriter is a mock of ResponseWriter interface.

func NewMockResponseWriter

func NewMockResponseWriter(ctrl *gomock.Controller) *MockResponseWriter

NewMockResponseWriter creates a new mock instance.

func (*MockResponseWriter) Close

func (m *MockResponseWriter) Close() error

Close mocks base method.

func (*MockResponseWriter) EXPECT

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

func (*MockResponseWriter) Hijack

func (m *MockResponseWriter) Hijack()

Hijack mocks base method.

func (*MockResponseWriter) LocalAddr

func (m *MockResponseWriter) LocalAddr() net.Addr

LocalAddr mocks base method.

func (*MockResponseWriter) RemoteAddr

func (m *MockResponseWriter) RemoteAddr() net.Addr

RemoteAddr mocks base method.

func (*MockResponseWriter) TsigStatus

func (m *MockResponseWriter) TsigStatus() error

TsigStatus mocks base method.

func (*MockResponseWriter) TsigTimersOnly

func (m *MockResponseWriter) TsigTimersOnly(arg0 bool)

TsigTimersOnly mocks base method.

func (*MockResponseWriter) Write

func (m *MockResponseWriter) Write(arg0 []byte) (int, error)

Write mocks base method.

func (*MockResponseWriter) WriteMsg

func (m *MockResponseWriter) WriteMsg(arg0 *dns.Msg) error

WriteMsg mocks base method.

type MockResponseWriterMockRecorder

type MockResponseWriterMockRecorder struct {
	// contains filtered or unexported fields
}

MockResponseWriterMockRecorder is the mock recorder for MockResponseWriter.

func (*MockResponseWriterMockRecorder) Close

Close indicates an expected call of Close.

func (*MockResponseWriterMockRecorder) Hijack

Hijack indicates an expected call of Hijack.

func (*MockResponseWriterMockRecorder) LocalAddr

func (mr *MockResponseWriterMockRecorder) LocalAddr() *gomock.Call

LocalAddr indicates an expected call of LocalAddr.

func (*MockResponseWriterMockRecorder) RemoteAddr

func (mr *MockResponseWriterMockRecorder) RemoteAddr() *gomock.Call

RemoteAddr indicates an expected call of RemoteAddr.

func (*MockResponseWriterMockRecorder) TsigStatus

func (mr *MockResponseWriterMockRecorder) TsigStatus() *gomock.Call

TsigStatus indicates an expected call of TsigStatus.

func (*MockResponseWriterMockRecorder) TsigTimersOnly

func (mr *MockResponseWriterMockRecorder) TsigTimersOnly(arg0 any) *gomock.Call

TsigTimersOnly indicates an expected call of TsigTimersOnly.

func (*MockResponseWriterMockRecorder) Write

func (mr *MockResponseWriterMockRecorder) Write(arg0 any) *gomock.Call

Write indicates an expected call of Write.

func (*MockResponseWriterMockRecorder) WriteMsg

func (mr *MockResponseWriterMockRecorder) WriteMsg(arg0 any) *gomock.Call

WriteMsg indicates an expected call of WriteMsg.

type MockSharedIndexInformer

type MockSharedIndexInformer struct {
	// contains filtered or unexported fields
}

MockSharedIndexInformer is a mock of SharedIndexInformer interface.

func NewMockSharedIndexInformer

func NewMockSharedIndexInformer(ctrl *gomock.Controller) *MockSharedIndexInformer

NewMockSharedIndexInformer creates a new mock instance.

func (*MockSharedIndexInformer) AddEventHandler

AddEventHandler mocks base method.

func (*MockSharedIndexInformer) AddEventHandlerWithResyncPeriod

AddEventHandlerWithResyncPeriod mocks base method.

func (*MockSharedIndexInformer) AddIndexers

func (m *MockSharedIndexInformer) AddIndexers(arg0 cache.Indexers) error

AddIndexers mocks base method.

func (*MockSharedIndexInformer) EXPECT

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

func (*MockSharedIndexInformer) GetController

func (m *MockSharedIndexInformer) GetController() cache.Controller

GetController mocks base method.

func (*MockSharedIndexInformer) GetIndexer

func (m *MockSharedIndexInformer) GetIndexer() cache.Indexer

GetIndexer mocks base method.

func (*MockSharedIndexInformer) GetStore

func (m *MockSharedIndexInformer) GetStore() cache.Store

GetStore mocks base method.

func (*MockSharedIndexInformer) HasSynced

func (m *MockSharedIndexInformer) HasSynced() bool

HasSynced mocks base method.

func (*MockSharedIndexInformer) IsStopped added in v0.1.1

func (m *MockSharedIndexInformer) IsStopped() bool

IsStopped mocks base method.

func (*MockSharedIndexInformer) LastSyncResourceVersion

func (m *MockSharedIndexInformer) LastSyncResourceVersion() string

LastSyncResourceVersion mocks base method.

func (*MockSharedIndexInformer) RemoveEventHandler added in v0.1.1

RemoveEventHandler mocks base method.

func (*MockSharedIndexInformer) Run

func (m *MockSharedIndexInformer) Run(arg0 <-chan struct{})

Run mocks base method.

func (*MockSharedIndexInformer) SetTransform

func (m *MockSharedIndexInformer) SetTransform(arg0 cache.TransformFunc) error

SetTransform mocks base method.

func (*MockSharedIndexInformer) SetWatchErrorHandler

func (m *MockSharedIndexInformer) SetWatchErrorHandler(arg0 cache.WatchErrorHandler) error

SetWatchErrorHandler mocks base method.

type MockSharedIndexInformerMockRecorder

type MockSharedIndexInformerMockRecorder struct {
	// contains filtered or unexported fields
}

MockSharedIndexInformerMockRecorder is the mock recorder for MockSharedIndexInformer.

func (*MockSharedIndexInformerMockRecorder) AddEventHandler

func (mr *MockSharedIndexInformerMockRecorder) AddEventHandler(arg0 any) *gomock.Call

AddEventHandler indicates an expected call of AddEventHandler.

func (*MockSharedIndexInformerMockRecorder) AddEventHandlerWithResyncPeriod

func (mr *MockSharedIndexInformerMockRecorder) AddEventHandlerWithResyncPeriod(arg0, arg1 any) *gomock.Call

AddEventHandlerWithResyncPeriod indicates an expected call of AddEventHandlerWithResyncPeriod.

func (*MockSharedIndexInformerMockRecorder) AddIndexers

func (mr *MockSharedIndexInformerMockRecorder) AddIndexers(arg0 any) *gomock.Call

AddIndexers indicates an expected call of AddIndexers.

func (*MockSharedIndexInformerMockRecorder) GetController

func (mr *MockSharedIndexInformerMockRecorder) GetController() *gomock.Call

GetController indicates an expected call of GetController.

func (*MockSharedIndexInformerMockRecorder) GetIndexer

GetIndexer indicates an expected call of GetIndexer.

func (*MockSharedIndexInformerMockRecorder) GetStore

GetStore indicates an expected call of GetStore.

func (*MockSharedIndexInformerMockRecorder) HasSynced

HasSynced indicates an expected call of HasSynced.

func (*MockSharedIndexInformerMockRecorder) IsStopped added in v0.1.1

IsStopped indicates an expected call of IsStopped.

func (*MockSharedIndexInformerMockRecorder) LastSyncResourceVersion

func (mr *MockSharedIndexInformerMockRecorder) LastSyncResourceVersion() *gomock.Call

LastSyncResourceVersion indicates an expected call of LastSyncResourceVersion.

func (*MockSharedIndexInformerMockRecorder) RemoveEventHandler added in v0.1.1

func (mr *MockSharedIndexInformerMockRecorder) RemoveEventHandler(arg0 any) *gomock.Call

RemoveEventHandler indicates an expected call of RemoveEventHandler.

func (*MockSharedIndexInformerMockRecorder) Run

Run indicates an expected call of Run.

func (*MockSharedIndexInformerMockRecorder) SetTransform

func (mr *MockSharedIndexInformerMockRecorder) SetTransform(arg0 any) *gomock.Call

SetTransform indicates an expected call of SetTransform.

func (*MockSharedIndexInformerMockRecorder) SetWatchErrorHandler

func (mr *MockSharedIndexInformerMockRecorder) SetWatchErrorHandler(arg0 any) *gomock.Call

SetWatchErrorHandler indicates an expected call of SetWatchErrorHandler.

Jump to

Keyboard shortcuts

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