mocks

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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 MockGatewayStatusTracker

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

MockGatewayStatusTracker is a mock of GatewayStatusTracker interface.

func NewMockGatewayStatusTracker

func NewMockGatewayStatusTracker(ctrl *gomock.Controller) *MockGatewayStatusTracker

NewMockGatewayStatusTracker creates a new mock instance.

func (*MockGatewayStatusTracker) DeleteStatus

func (m *MockGatewayStatusTracker) DeleteStatus(name types.NamespacedName)

DeleteStatus mocks base method.

func (*MockGatewayStatusTracker) EXPECT

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

func (*MockGatewayStatusTracker) UpdateStatus

func (m *MockGatewayStatusTracker) UpdateStatus(name types.NamespacedName, pod *v1.Pod, conditions []v10.Condition, force bool, cb func() error) error

UpdateStatus mocks base method.

type MockGatewayStatusTrackerMockRecorder

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

MockGatewayStatusTrackerMockRecorder is the mock recorder for MockGatewayStatusTracker.

func (*MockGatewayStatusTrackerMockRecorder) DeleteStatus

func (mr *MockGatewayStatusTrackerMockRecorder) DeleteStatus(name interface{}) *gomock.Call

DeleteStatus indicates an expected call of DeleteStatus.

func (*MockGatewayStatusTrackerMockRecorder) UpdateStatus

func (mr *MockGatewayStatusTrackerMockRecorder) UpdateStatus(name, pod, conditions, force, cb interface{}) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

type MockReconcileManager

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

MockReconcileManager is a mock of ReconcileManager interface.

func NewMockReconcileManager

func NewMockReconcileManager(ctrl *gomock.Controller) *MockReconcileManager

NewMockReconcileManager creates a new mock instance.

func (*MockReconcileManager) DeleteGateway

func (m *MockReconcileManager) DeleteGateway(ctx context.Context, name types.NamespacedName) error

DeleteGateway mocks base method.

func (*MockReconcileManager) DeleteGatewayClass

func (m *MockReconcileManager) DeleteGatewayClass(ctx context.Context, name string) error

DeleteGatewayClass mocks base method.

func (*MockReconcileManager) DeleteHTTPRoute

func (m *MockReconcileManager) DeleteHTTPRoute(ctx context.Context, name types.NamespacedName) error

DeleteHTTPRoute mocks base method.

func (*MockReconcileManager) DeleteTCPRoute

func (m *MockReconcileManager) DeleteTCPRoute(ctx context.Context, name types.NamespacedName) error

DeleteTCPRoute mocks base method.

func (*MockReconcileManager) EXPECT

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

func (*MockReconcileManager) UpsertGateway

func (m *MockReconcileManager) UpsertGateway(ctx context.Context, g *v1beta1.Gateway) error

UpsertGateway mocks base method.

func (*MockReconcileManager) UpsertGatewayClass

func (m *MockReconcileManager) UpsertGatewayClass(ctx context.Context, gc *v1beta1.GatewayClass) error

UpsertGatewayClass mocks base method.

func (*MockReconcileManager) UpsertHTTPRoute

func (m *MockReconcileManager) UpsertHTTPRoute(ctx context.Context, r *v1alpha2.HTTPRoute) error

UpsertHTTPRoute mocks base method.

func (*MockReconcileManager) UpsertTCPRoute

func (m *MockReconcileManager) UpsertTCPRoute(ctx context.Context, r *v1alpha2.TCPRoute) error

UpsertTCPRoute mocks base method.

type MockReconcileManagerMockRecorder

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

MockReconcileManagerMockRecorder is the mock recorder for MockReconcileManager.

func (*MockReconcileManagerMockRecorder) DeleteGateway

func (mr *MockReconcileManagerMockRecorder) DeleteGateway(ctx, name interface{}) *gomock.Call

DeleteGateway indicates an expected call of DeleteGateway.

func (*MockReconcileManagerMockRecorder) DeleteGatewayClass

func (mr *MockReconcileManagerMockRecorder) DeleteGatewayClass(ctx, name interface{}) *gomock.Call

DeleteGatewayClass indicates an expected call of DeleteGatewayClass.

func (*MockReconcileManagerMockRecorder) DeleteHTTPRoute

func (mr *MockReconcileManagerMockRecorder) DeleteHTTPRoute(ctx, name interface{}) *gomock.Call

DeleteHTTPRoute indicates an expected call of DeleteHTTPRoute.

func (*MockReconcileManagerMockRecorder) DeleteTCPRoute

func (mr *MockReconcileManagerMockRecorder) DeleteTCPRoute(ctx, name interface{}) *gomock.Call

DeleteTCPRoute indicates an expected call of DeleteTCPRoute.

func (*MockReconcileManagerMockRecorder) UpsertGateway

func (mr *MockReconcileManagerMockRecorder) UpsertGateway(ctx, g interface{}) *gomock.Call

UpsertGateway indicates an expected call of UpsertGateway.

func (*MockReconcileManagerMockRecorder) UpsertGatewayClass

func (mr *MockReconcileManagerMockRecorder) UpsertGatewayClass(ctx, gc interface{}) *gomock.Call

UpsertGatewayClass indicates an expected call of UpsertGatewayClass.

func (*MockReconcileManagerMockRecorder) UpsertHTTPRoute

func (mr *MockReconcileManagerMockRecorder) UpsertHTTPRoute(ctx, r interface{}) *gomock.Call

UpsertHTTPRoute indicates an expected call of UpsertHTTPRoute.

func (*MockReconcileManagerMockRecorder) UpsertTCPRoute

func (mr *MockReconcileManagerMockRecorder) UpsertTCPRoute(ctx, r interface{}) *gomock.Call

UpsertTCPRoute indicates an expected call of UpsertTCPRoute.

Jump to

Keyboard shortcuts

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