mocks

package
v0.0.0-...-35f65b5 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 21 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 MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) Create

func (m *MockClient) Create(arg0 context.Context, arg1 client.Object, arg2 ...client.CreateOption) error

Create mocks base method.

func (*MockClient) Delete

func (m *MockClient) Delete(arg0 context.Context, arg1 client.Object, arg2 ...client.DeleteOption) error

Delete mocks base method.

func (*MockClient) DeleteAllOf

func (m *MockClient) DeleteAllOf(arg0 context.Context, arg1 client.Object, arg2 ...client.DeleteAllOfOption) error

DeleteAllOf mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) Get

func (m *MockClient) Get(arg0 context.Context, arg1 types.NamespacedName, arg2 client.Object) error

Get mocks base method.

func (*MockClient) List

func (m *MockClient) List(arg0 context.Context, arg1 client.ObjectList, arg2 ...client.ListOption) error

List mocks base method.

func (*MockClient) Patch

func (m *MockClient) Patch(arg0 context.Context, arg1 client.Object, arg2 client.Patch, arg3 ...client.PatchOption) error

Patch mocks base method.

func (*MockClient) RESTMapper

func (m *MockClient) RESTMapper() meta.RESTMapper

RESTMapper mocks base method.

func (*MockClient) Scheme

func (m *MockClient) Scheme() *runtime.Scheme

Scheme mocks base method.

func (*MockClient) Status

func (m *MockClient) Status() client.StatusWriter

Status mocks base method.

func (*MockClient) Update

func (m *MockClient) Update(arg0 context.Context, arg1 client.Object, arg2 ...client.UpdateOption) error

Update mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) Create

func (mr *MockClientMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockClientMockRecorder) Delete

func (mr *MockClientMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockClientMockRecorder) DeleteAllOf

func (mr *MockClientMockRecorder) DeleteAllOf(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DeleteAllOf indicates an expected call of DeleteAllOf.

func (*MockClientMockRecorder) Get

func (mr *MockClientMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockClientMockRecorder) List

func (mr *MockClientMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockClientMockRecorder) Patch

func (mr *MockClientMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockClientMockRecorder) RESTMapper

func (mr *MockClientMockRecorder) RESTMapper() *gomock.Call

RESTMapper indicates an expected call of RESTMapper.

func (*MockClientMockRecorder) Scheme

func (mr *MockClientMockRecorder) Scheme() *gomock.Call

Scheme indicates an expected call of Scheme.

func (*MockClientMockRecorder) Status

func (mr *MockClientMockRecorder) Status() *gomock.Call

Status indicates an expected call of Status.

func (*MockClientMockRecorder) Update

func (mr *MockClientMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockContext

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

MockContext is a mock of Context interface.

func NewMockContext

func NewMockContext(ctrl *gomock.Controller) *MockContext

NewMockContext creates a new mock instance.

func (*MockContext) Client

func (m *MockContext) Client() client.Client

Client mocks base method.

func (*MockContext) EXPECT

func (m *MockContext) EXPECT() *MockContextMockRecorder

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

func (*MockContext) GetResource

func (m *MockContext) GetResource(arg0 types.NamespacedName, arg1 client.Object, arg2, arg3 func() error) error

GetResource mocks base method.

func (*MockContext) Logger

func (m *MockContext) Logger() logr.Logger

Logger mocks base method.

func (*MockContext) NewControllerBuilder

func (m *MockContext) NewControllerBuilder() *builder.Builder

NewControllerBuilder mocks base method.

func (*MockContext) Run

Run mocks base method.

func (*MockContext) Scheme

func (m *MockContext) Scheme() *runtime.Scheme

Scheme mocks base method.

func (*MockContext) SetOwnershipReference

func (m *MockContext) SetOwnershipReference(arg0, arg1 v1.Object) error

SetOwnershipReference mocks base method.

type MockContextMockRecorder

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

MockContextMockRecorder is the mock recorder for MockContext.

func (*MockContextMockRecorder) Client

func (mr *MockContextMockRecorder) Client() *gomock.Call

Client indicates an expected call of Client.

func (*MockContextMockRecorder) GetResource

func (mr *MockContextMockRecorder) GetResource(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetResource indicates an expected call of GetResource.

func (*MockContextMockRecorder) Logger

func (mr *MockContextMockRecorder) Logger() *gomock.Call

Logger indicates an expected call of Logger.

func (*MockContextMockRecorder) NewControllerBuilder

func (mr *MockContextMockRecorder) NewControllerBuilder() *gomock.Call

NewControllerBuilder indicates an expected call of NewControllerBuilder.

func (*MockContextMockRecorder) Run

func (mr *MockContextMockRecorder) Run(arg0, arg1, arg2 interface{}) *gomock.Call

Run indicates an expected call of Run.

func (*MockContextMockRecorder) Scheme

func (mr *MockContextMockRecorder) Scheme() *gomock.Call

Scheme indicates an expected call of Scheme.

func (*MockContextMockRecorder) SetOwnershipReference

func (mr *MockContextMockRecorder) SetOwnershipReference(arg0, arg1 interface{}) *gomock.Call

SetOwnershipReference indicates an expected call of SetOwnershipReference.

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

Discovery mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) ExtensionsV1alpha1

func (m *MockInterface) ExtensionsV1alpha1() v1alpha1.ExtensionsV1alpha1Interface

ExtensionsV1alpha1 mocks base method.

func (*MockInterface) NetworkingV1alpha3

func (m *MockInterface) NetworkingV1alpha3() v1alpha3.NetworkingV1alpha3Interface

NetworkingV1alpha3 mocks base method.

func (*MockInterface) NetworkingV1beta1

func (m *MockInterface) NetworkingV1beta1() v1beta1.NetworkingV1beta1Interface

NetworkingV1beta1 mocks base method.

func (*MockInterface) SecurityV1beta1

func (m *MockInterface) SecurityV1beta1() v1beta10.SecurityV1beta1Interface

SecurityV1beta1 mocks base method.

func (*MockInterface) TelemetryV1alpha1

func (m *MockInterface) TelemetryV1alpha1() v1alpha10.TelemetryV1alpha1Interface

TelemetryV1alpha1 mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) Discovery

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

Discovery indicates an expected call of Discovery.

func (*MockInterfaceMockRecorder) ExtensionsV1alpha1

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

ExtensionsV1alpha1 indicates an expected call of ExtensionsV1alpha1.

func (*MockInterfaceMockRecorder) NetworkingV1alpha3

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

NetworkingV1alpha3 indicates an expected call of NetworkingV1alpha3.

func (*MockInterfaceMockRecorder) NetworkingV1beta1

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

NetworkingV1beta1 indicates an expected call of NetworkingV1beta1.

func (*MockInterfaceMockRecorder) SecurityV1beta1

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

SecurityV1beta1 indicates an expected call of SecurityV1beta1.

func (*MockInterfaceMockRecorder) TelemetryV1alpha1

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

TelemetryV1alpha1 indicates an expected call of TelemetryV1alpha1.

type MockLogger

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

MockLogger is a mock of Logger interface.

func NewMockLogger

func NewMockLogger(ctrl *gomock.Controller) *MockLogger

NewMockLogger creates a new mock instance.

func (*MockLogger) EXPECT

func (m *MockLogger) EXPECT() *MockLoggerMockRecorder

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

func (*MockLogger) Enabled

func (m *MockLogger) Enabled() bool

Enabled mocks base method.

func (*MockLogger) Error

func (m *MockLogger) Error(arg0 error, arg1 string, arg2 ...interface{})

Error mocks base method.

func (*MockLogger) Info

func (m *MockLogger) Info(arg0 string, arg1 ...interface{})

Info mocks base method.

func (*MockLogger) V

func (m *MockLogger) V(arg0 int) logr.Logger

V mocks base method.

func (*MockLogger) WithName

func (m *MockLogger) WithName(arg0 string) logr.Logger

WithName mocks base method.

func (*MockLogger) WithValues

func (m *MockLogger) WithValues(arg0 ...interface{}) logr.Logger

WithValues mocks base method.

type MockLoggerMockRecorder

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

MockLoggerMockRecorder is the mock recorder for MockLogger.

func (*MockLoggerMockRecorder) Enabled

func (mr *MockLoggerMockRecorder) Enabled() *gomock.Call

Enabled indicates an expected call of Enabled.

func (*MockLoggerMockRecorder) Error

func (mr *MockLoggerMockRecorder) Error(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Error indicates an expected call of Error.

func (*MockLoggerMockRecorder) Info

func (mr *MockLoggerMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Info indicates an expected call of Info.

func (*MockLoggerMockRecorder) V

func (mr *MockLoggerMockRecorder) V(arg0 interface{}) *gomock.Call

V indicates an expected call of V.

func (*MockLoggerMockRecorder) WithName

func (mr *MockLoggerMockRecorder) WithName(arg0 interface{}) *gomock.Call

WithName indicates an expected call of WithName.

func (*MockLoggerMockRecorder) WithValues

func (mr *MockLoggerMockRecorder) WithValues(arg0 ...interface{}) *gomock.Call

WithValues indicates an expected call of WithValues.

type MockNetworkingV1alpha3Interface

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

MockNetworkingV1alpha3Interface is a mock of NetworkingV1alpha3Interface interface.

func NewMockNetworkingV1alpha3Interface

func NewMockNetworkingV1alpha3Interface(ctrl *gomock.Controller) *MockNetworkingV1alpha3Interface

NewMockNetworkingV1alpha3Interface creates a new mock instance.

func (*MockNetworkingV1alpha3Interface) DestinationRules

DestinationRules mocks base method.

func (*MockNetworkingV1alpha3Interface) EXPECT

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

func (*MockNetworkingV1alpha3Interface) EnvoyFilters

EnvoyFilters mocks base method.

func (*MockNetworkingV1alpha3Interface) Gateways

Gateways mocks base method.

func (*MockNetworkingV1alpha3Interface) RESTClient

RESTClient mocks base method.

func (*MockNetworkingV1alpha3Interface) ServiceEntries

ServiceEntries mocks base method.

func (*MockNetworkingV1alpha3Interface) Sidecars

Sidecars mocks base method.

func (*MockNetworkingV1alpha3Interface) VirtualServices

VirtualServices mocks base method.

func (*MockNetworkingV1alpha3Interface) WorkloadEntries

WorkloadEntries mocks base method.

func (*MockNetworkingV1alpha3Interface) WorkloadGroups

WorkloadGroups mocks base method.

type MockNetworkingV1alpha3InterfaceMockRecorder

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

MockNetworkingV1alpha3InterfaceMockRecorder is the mock recorder for MockNetworkingV1alpha3Interface.

func (*MockNetworkingV1alpha3InterfaceMockRecorder) DestinationRules

func (mr *MockNetworkingV1alpha3InterfaceMockRecorder) DestinationRules(arg0 interface{}) *gomock.Call

DestinationRules indicates an expected call of DestinationRules.

func (*MockNetworkingV1alpha3InterfaceMockRecorder) EnvoyFilters

func (mr *MockNetworkingV1alpha3InterfaceMockRecorder) EnvoyFilters(arg0 interface{}) *gomock.Call

EnvoyFilters indicates an expected call of EnvoyFilters.

func (*MockNetworkingV1alpha3InterfaceMockRecorder) Gateways

func (mr *MockNetworkingV1alpha3InterfaceMockRecorder) Gateways(arg0 interface{}) *gomock.Call

Gateways indicates an expected call of Gateways.

func (*MockNetworkingV1alpha3InterfaceMockRecorder) RESTClient

RESTClient indicates an expected call of RESTClient.

func (*MockNetworkingV1alpha3InterfaceMockRecorder) ServiceEntries

func (mr *MockNetworkingV1alpha3InterfaceMockRecorder) ServiceEntries(arg0 interface{}) *gomock.Call

ServiceEntries indicates an expected call of ServiceEntries.

func (*MockNetworkingV1alpha3InterfaceMockRecorder) Sidecars

func (mr *MockNetworkingV1alpha3InterfaceMockRecorder) Sidecars(arg0 interface{}) *gomock.Call

Sidecars indicates an expected call of Sidecars.

func (*MockNetworkingV1alpha3InterfaceMockRecorder) VirtualServices

func (mr *MockNetworkingV1alpha3InterfaceMockRecorder) VirtualServices(arg0 interface{}) *gomock.Call

VirtualServices indicates an expected call of VirtualServices.

func (*MockNetworkingV1alpha3InterfaceMockRecorder) WorkloadEntries

func (mr *MockNetworkingV1alpha3InterfaceMockRecorder) WorkloadEntries(arg0 interface{}) *gomock.Call

WorkloadEntries indicates an expected call of WorkloadEntries.

func (*MockNetworkingV1alpha3InterfaceMockRecorder) WorkloadGroups

func (mr *MockNetworkingV1alpha3InterfaceMockRecorder) WorkloadGroups(arg0 interface{}) *gomock.Call

WorkloadGroups indicates an expected call of WorkloadGroups.

type MockVirtualServiceInterface

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

MockVirtualServiceInterface is a mock of VirtualServiceInterface interface.

func NewMockVirtualServiceInterface

func NewMockVirtualServiceInterface(ctrl *gomock.Controller) *MockVirtualServiceInterface

NewMockVirtualServiceInterface creates a new mock instance.

func (*MockVirtualServiceInterface) Create

Create mocks base method.

func (*MockVirtualServiceInterface) Delete

Delete mocks base method.

func (*MockVirtualServiceInterface) DeleteCollection

func (m *MockVirtualServiceInterface) DeleteCollection(arg0 context.Context, arg1 v1.DeleteOptions, arg2 v1.ListOptions) error

DeleteCollection mocks base method.

func (*MockVirtualServiceInterface) EXPECT

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

func (*MockVirtualServiceInterface) Get

Get mocks base method.

func (*MockVirtualServiceInterface) List

List mocks base method.

func (*MockVirtualServiceInterface) Patch

func (m *MockVirtualServiceInterface) Patch(arg0 context.Context, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 v1.PatchOptions, arg5 ...string) (*v1alpha3.VirtualService, error)

Patch mocks base method.

func (*MockVirtualServiceInterface) Update

Update mocks base method.

func (*MockVirtualServiceInterface) UpdateStatus

UpdateStatus mocks base method.

func (*MockVirtualServiceInterface) Watch

Watch mocks base method.

type MockVirtualServiceInterfaceMockRecorder

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

MockVirtualServiceInterfaceMockRecorder is the mock recorder for MockVirtualServiceInterface.

func (*MockVirtualServiceInterfaceMockRecorder) Create

func (mr *MockVirtualServiceInterfaceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockVirtualServiceInterfaceMockRecorder) Delete

func (mr *MockVirtualServiceInterfaceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockVirtualServiceInterfaceMockRecorder) DeleteCollection

func (mr *MockVirtualServiceInterfaceMockRecorder) DeleteCollection(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteCollection indicates an expected call of DeleteCollection.

func (*MockVirtualServiceInterfaceMockRecorder) Get

func (mr *MockVirtualServiceInterfaceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockVirtualServiceInterfaceMockRecorder) List

func (mr *MockVirtualServiceInterfaceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockVirtualServiceInterfaceMockRecorder) Patch

func (mr *MockVirtualServiceInterfaceMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockVirtualServiceInterfaceMockRecorder) Update

func (mr *MockVirtualServiceInterfaceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockVirtualServiceInterfaceMockRecorder) UpdateStatus

func (mr *MockVirtualServiceInterfaceMockRecorder) UpdateStatus(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

func (*MockVirtualServiceInterfaceMockRecorder) Watch

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

Watch indicates an expected call of Watch.

type MockVirtualServicesGetter

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

MockVirtualServicesGetter is a mock of VirtualServicesGetter interface.

func NewMockVirtualServicesGetter

func NewMockVirtualServicesGetter(ctrl *gomock.Controller) *MockVirtualServicesGetter

NewMockVirtualServicesGetter creates a new mock instance.

func (*MockVirtualServicesGetter) EXPECT

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

func (*MockVirtualServicesGetter) VirtualServices

VirtualServices mocks base method.

type MockVirtualServicesGetterMockRecorder

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

MockVirtualServicesGetterMockRecorder is the mock recorder for MockVirtualServicesGetter.

func (*MockVirtualServicesGetterMockRecorder) VirtualServices

func (mr *MockVirtualServicesGetterMockRecorder) VirtualServices(arg0 interface{}) *gomock.Call

VirtualServices indicates an expected call of VirtualServices.

Jump to

Keyboard shortcuts

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