mocks

package
v0.0.0-...-03955af Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 13 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) EXPECT

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

func (*MockInterface) Resource

Resource mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) Resource

func (mr *MockInterfaceMockRecorder) Resource(resource interface{}) *gomock.Call

Resource indicates an expected call of Resource.

type MockLoggerInterface

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

MockLoggerInterface is a mock of LoggerInterface interface.

func NewMockLoggerInterface

func NewMockLoggerInterface(ctrl *gomock.Controller) *MockLoggerInterface

NewMockLoggerInterface creates a new mock instance.

func (*MockLoggerInterface) CloseFile

func (m *MockLoggerInterface) CloseFile()

CloseFile mocks base method.

func (*MockLoggerInterface) Debug

func (m *MockLoggerInterface) Debug(msg string)

Debug mocks base method.

func (*MockLoggerInterface) EXPECT

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

func (*MockLoggerInterface) Error

func (m *MockLoggerInterface) Error(msg string)

Error mocks base method.

func (*MockLoggerInterface) Info

func (m *MockLoggerInterface) Info(msg string)

Info mocks base method.

func (*MockLoggerInterface) SetLevel

func (m *MockLoggerInterface) SetLevel(level slog.Level)

SetLevel mocks base method.

func (*MockLoggerInterface) Warn

func (m *MockLoggerInterface) Warn(msg string)

Warn mocks base method.

type MockLoggerInterfaceMockRecorder

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

MockLoggerInterfaceMockRecorder is the mock recorder for MockLoggerInterface.

func (*MockLoggerInterfaceMockRecorder) CloseFile

func (mr *MockLoggerInterfaceMockRecorder) CloseFile() *gomock.Call

CloseFile indicates an expected call of CloseFile.

func (*MockLoggerInterfaceMockRecorder) Debug

func (mr *MockLoggerInterfaceMockRecorder) Debug(msg interface{}) *gomock.Call

Debug indicates an expected call of Debug.

func (*MockLoggerInterfaceMockRecorder) Error

func (mr *MockLoggerInterfaceMockRecorder) Error(msg interface{}) *gomock.Call

Error indicates an expected call of Error.

func (*MockLoggerInterfaceMockRecorder) Info

func (mr *MockLoggerInterfaceMockRecorder) Info(msg interface{}) *gomock.Call

Info indicates an expected call of Info.

func (*MockLoggerInterfaceMockRecorder) SetLevel

func (mr *MockLoggerInterfaceMockRecorder) SetLevel(level interface{}) *gomock.Call

SetLevel indicates an expected call of SetLevel.

func (*MockLoggerInterfaceMockRecorder) Warn

func (mr *MockLoggerInterfaceMockRecorder) Warn(msg interface{}) *gomock.Call

Warn indicates an expected call of Warn.

type MockNamespaceableResourceInterface

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

MockNamespaceableResourceInterface is a mock of NamespaceableResourceInterface interface.

func NewMockNamespaceableResourceInterface

func NewMockNamespaceableResourceInterface(ctrl *gomock.Controller) *MockNamespaceableResourceInterface

NewMockNamespaceableResourceInterface creates a new mock instance.

func (*MockNamespaceableResourceInterface) Apply

Apply mocks base method.

func (*MockNamespaceableResourceInterface) ApplyStatus

ApplyStatus mocks base method.

func (*MockNamespaceableResourceInterface) Create

Create mocks base method.

func (*MockNamespaceableResourceInterface) Delete

func (m *MockNamespaceableResourceInterface) Delete(ctx context.Context, name string, options v1.DeleteOptions, subresources ...string) error

Delete mocks base method.

func (*MockNamespaceableResourceInterface) DeleteCollection

func (m *MockNamespaceableResourceInterface) DeleteCollection(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection mocks base method.

func (*MockNamespaceableResourceInterface) EXPECT

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

func (*MockNamespaceableResourceInterface) Get

Get mocks base method.

func (*MockNamespaceableResourceInterface) List

List mocks base method.

func (*MockNamespaceableResourceInterface) Namespace

Namespace mocks base method.

func (*MockNamespaceableResourceInterface) Patch

func (m *MockNamespaceableResourceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, options v1.PatchOptions, subresources ...string) (*unstructured.Unstructured, error)

Patch mocks base method.

func (*MockNamespaceableResourceInterface) Update

Update mocks base method.

func (*MockNamespaceableResourceInterface) UpdateStatus

UpdateStatus mocks base method.

func (*MockNamespaceableResourceInterface) Watch

Watch mocks base method.

type MockNamespaceableResourceInterfaceMockRecorder

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

MockNamespaceableResourceInterfaceMockRecorder is the mock recorder for MockNamespaceableResourceInterface.

func (*MockNamespaceableResourceInterfaceMockRecorder) Apply

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Apply(ctx, name, obj, options interface{}, subresources ...interface{}) *gomock.Call

Apply indicates an expected call of Apply.

func (*MockNamespaceableResourceInterfaceMockRecorder) ApplyStatus

func (mr *MockNamespaceableResourceInterfaceMockRecorder) ApplyStatus(ctx, name, obj, options interface{}) *gomock.Call

ApplyStatus indicates an expected call of ApplyStatus.

func (*MockNamespaceableResourceInterfaceMockRecorder) Create

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Create(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockNamespaceableResourceInterfaceMockRecorder) Delete

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Delete(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockNamespaceableResourceInterfaceMockRecorder) DeleteCollection

func (mr *MockNamespaceableResourceInterfaceMockRecorder) DeleteCollection(ctx, options, listOptions interface{}) *gomock.Call

DeleteCollection indicates an expected call of DeleteCollection.

func (*MockNamespaceableResourceInterfaceMockRecorder) Get

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Get(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockNamespaceableResourceInterfaceMockRecorder) List

func (mr *MockNamespaceableResourceInterfaceMockRecorder) List(ctx, opts interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockNamespaceableResourceInterfaceMockRecorder) Namespace

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Namespace(arg0 interface{}) *gomock.Call

Namespace indicates an expected call of Namespace.

func (*MockNamespaceableResourceInterfaceMockRecorder) Patch

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Patch(ctx, name, pt, data, options interface{}, subresources ...interface{}) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockNamespaceableResourceInterfaceMockRecorder) Update

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Update(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockNamespaceableResourceInterfaceMockRecorder) UpdateStatus

func (mr *MockNamespaceableResourceInterfaceMockRecorder) UpdateStatus(ctx, obj, options interface{}) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

func (*MockNamespaceableResourceInterfaceMockRecorder) Watch

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Watch(ctx, opts interface{}) *gomock.Call

Watch indicates an expected call of Watch.

type MockResourceInterface

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

MockResourceInterface is a mock of ResourceInterface interface.

func NewMockResourceInterface

func NewMockResourceInterface(ctrl *gomock.Controller) *MockResourceInterface

NewMockResourceInterface creates a new mock instance.

func (*MockResourceInterface) Apply

func (m *MockResourceInterface) Apply(ctx context.Context, name string, obj *unstructured.Unstructured, options v1.ApplyOptions, subresources ...string) (*unstructured.Unstructured, error)

Apply mocks base method.

func (*MockResourceInterface) ApplyStatus

ApplyStatus mocks base method.

func (*MockResourceInterface) Create

Create mocks base method.

func (*MockResourceInterface) Delete

func (m *MockResourceInterface) Delete(ctx context.Context, name string, options v1.DeleteOptions, subresources ...string) error

Delete mocks base method.

func (*MockResourceInterface) DeleteCollection

func (m *MockResourceInterface) DeleteCollection(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection mocks base method.

func (*MockResourceInterface) EXPECT

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

func (*MockResourceInterface) Get

func (m *MockResourceInterface) Get(ctx context.Context, name string, options v1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)

Get mocks base method.

func (*MockResourceInterface) List

List mocks base method.

func (*MockResourceInterface) Patch

func (m *MockResourceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, options v1.PatchOptions, subresources ...string) (*unstructured.Unstructured, error)

Patch mocks base method.

func (*MockResourceInterface) Update

Update mocks base method.

func (*MockResourceInterface) UpdateStatus

UpdateStatus mocks base method.

func (*MockResourceInterface) Watch

Watch mocks base method.

type MockResourceInterfaceMockRecorder

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

MockResourceInterfaceMockRecorder is the mock recorder for MockResourceInterface.

func (*MockResourceInterfaceMockRecorder) Apply

func (mr *MockResourceInterfaceMockRecorder) Apply(ctx, name, obj, options interface{}, subresources ...interface{}) *gomock.Call

Apply indicates an expected call of Apply.

func (*MockResourceInterfaceMockRecorder) ApplyStatus

func (mr *MockResourceInterfaceMockRecorder) ApplyStatus(ctx, name, obj, options interface{}) *gomock.Call

ApplyStatus indicates an expected call of ApplyStatus.

func (*MockResourceInterfaceMockRecorder) Create

func (mr *MockResourceInterfaceMockRecorder) Create(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockResourceInterfaceMockRecorder) Delete

func (mr *MockResourceInterfaceMockRecorder) Delete(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockResourceInterfaceMockRecorder) DeleteCollection

func (mr *MockResourceInterfaceMockRecorder) DeleteCollection(ctx, options, listOptions interface{}) *gomock.Call

DeleteCollection indicates an expected call of DeleteCollection.

func (*MockResourceInterfaceMockRecorder) Get

func (mr *MockResourceInterfaceMockRecorder) Get(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockResourceInterfaceMockRecorder) List

func (mr *MockResourceInterfaceMockRecorder) List(ctx, opts interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockResourceInterfaceMockRecorder) Patch

func (mr *MockResourceInterfaceMockRecorder) Patch(ctx, name, pt, data, options interface{}, subresources ...interface{}) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockResourceInterfaceMockRecorder) Update

func (mr *MockResourceInterfaceMockRecorder) Update(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockResourceInterfaceMockRecorder) UpdateStatus

func (mr *MockResourceInterfaceMockRecorder) UpdateStatus(ctx, obj, options interface{}) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

func (*MockResourceInterfaceMockRecorder) Watch

func (mr *MockResourceInterfaceMockRecorder) Watch(ctx, opts interface{}) *gomock.Call

Watch indicates an expected call of Watch.

type MockUnsafeWatchServiceServer

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

MockUnsafeWatchServiceServer is a mock of UnsafeWatchServiceServer interface.

func NewMockUnsafeWatchServiceServer

func NewMockUnsafeWatchServiceServer(ctrl *gomock.Controller) *MockUnsafeWatchServiceServer

NewMockUnsafeWatchServiceServer creates a new mock instance.

func (*MockUnsafeWatchServiceServer) EXPECT

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

type MockUnsafeWatchServiceServerMockRecorder

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

MockUnsafeWatchServiceServerMockRecorder is the mock recorder for MockUnsafeWatchServiceServer.

type MockWatchServiceClient

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

MockWatchServiceClient is a mock of WatchServiceClient interface.

func NewMockWatchServiceClient

func NewMockWatchServiceClient(ctrl *gomock.Controller) *MockWatchServiceClient

NewMockWatchServiceClient creates a new mock instance.

func (*MockWatchServiceClient) EXPECT

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

func (*MockWatchServiceClient) Watch

Watch mocks base method.

type MockWatchServiceClientMockRecorder

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

MockWatchServiceClientMockRecorder is the mock recorder for MockWatchServiceClient.

func (*MockWatchServiceClientMockRecorder) Watch

func (mr *MockWatchServiceClientMockRecorder) Watch(ctx, in interface{}, opts ...interface{}) *gomock.Call

Watch indicates an expected call of Watch.

type MockWatchServiceServer

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

MockWatchServiceServer is a mock of WatchServiceServer interface.

func NewMockWatchServiceServer

func NewMockWatchServiceServer(ctrl *gomock.Controller) *MockWatchServiceServer

NewMockWatchServiceServer creates a new mock instance.

func (*MockWatchServiceServer) EXPECT

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

func (*MockWatchServiceServer) Watch

Watch mocks base method.

type MockWatchServiceServerMockRecorder

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

MockWatchServiceServerMockRecorder is the mock recorder for MockWatchServiceServer.

func (*MockWatchServiceServerMockRecorder) Watch

func (mr *MockWatchServiceServerMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call

Watch indicates an expected call of Watch.

type MockWatchService_WatchClient

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

MockWatchService_WatchClient is a mock of WatchService_WatchClient interface.

func NewMockWatchService_WatchClient

func NewMockWatchService_WatchClient(ctrl *gomock.Controller) *MockWatchService_WatchClient

NewMockWatchService_WatchClient creates a new mock instance.

func (*MockWatchService_WatchClient) CloseSend

func (m *MockWatchService_WatchClient) CloseSend() error

CloseSend mocks base method.

func (*MockWatchService_WatchClient) Context

Context mocks base method.

func (*MockWatchService_WatchClient) EXPECT

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

func (*MockWatchService_WatchClient) Header

Header mocks base method.

func (*MockWatchService_WatchClient) Recv

Recv mocks base method.

func (*MockWatchService_WatchClient) RecvMsg

func (m_2 *MockWatchService_WatchClient) RecvMsg(m any) error

RecvMsg mocks base method.

func (*MockWatchService_WatchClient) SendMsg

func (m_2 *MockWatchService_WatchClient) SendMsg(m any) error

SendMsg mocks base method.

func (*MockWatchService_WatchClient) Trailer

Trailer mocks base method.

type MockWatchService_WatchClientMockRecorder

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

MockWatchService_WatchClientMockRecorder is the mock recorder for MockWatchService_WatchClient.

func (*MockWatchService_WatchClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockWatchService_WatchClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockWatchService_WatchClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockWatchService_WatchClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockWatchService_WatchClientMockRecorder) RecvMsg

func (mr *MockWatchService_WatchClientMockRecorder) RecvMsg(m interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockWatchService_WatchClientMockRecorder) SendMsg

func (mr *MockWatchService_WatchClientMockRecorder) SendMsg(m interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockWatchService_WatchClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockWatchService_WatchServer

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

MockWatchService_WatchServer is a mock of WatchService_WatchServer interface.

func NewMockWatchService_WatchServer

func NewMockWatchService_WatchServer(ctrl *gomock.Controller) *MockWatchService_WatchServer

NewMockWatchService_WatchServer creates a new mock instance.

func (*MockWatchService_WatchServer) Context

Context mocks base method.

func (*MockWatchService_WatchServer) EXPECT

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

func (*MockWatchService_WatchServer) RecvMsg

func (m_2 *MockWatchService_WatchServer) RecvMsg(m any) error

RecvMsg mocks base method.

func (*MockWatchService_WatchServer) Send

Send mocks base method.

func (*MockWatchService_WatchServer) SendHeader

func (m *MockWatchService_WatchServer) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method.

func (*MockWatchService_WatchServer) SendMsg

func (m_2 *MockWatchService_WatchServer) SendMsg(m any) error

SendMsg mocks base method.

func (*MockWatchService_WatchServer) SetHeader

func (m *MockWatchService_WatchServer) SetHeader(arg0 metadata.MD) error

SetHeader mocks base method.

func (*MockWatchService_WatchServer) SetTrailer

func (m *MockWatchService_WatchServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method.

type MockWatchService_WatchServerMockRecorder

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

MockWatchService_WatchServerMockRecorder is the mock recorder for MockWatchService_WatchServer.

func (*MockWatchService_WatchServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockWatchService_WatchServerMockRecorder) RecvMsg

func (mr *MockWatchService_WatchServerMockRecorder) RecvMsg(m interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockWatchService_WatchServerMockRecorder) Send

func (mr *MockWatchService_WatchServerMockRecorder) Send(arg0 interface{}) *gomock.Call

Send indicates an expected call of Send.

func (*MockWatchService_WatchServerMockRecorder) SendHeader

func (mr *MockWatchService_WatchServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockWatchService_WatchServerMockRecorder) SendMsg

func (mr *MockWatchService_WatchServerMockRecorder) SendMsg(m interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockWatchService_WatchServerMockRecorder) SetHeader

func (mr *MockWatchService_WatchServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockWatchService_WatchServerMockRecorder) SetTrailer

func (mr *MockWatchService_WatchServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

Jump to

Keyboard shortcuts

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