mocks

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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 MockGatewayQueries

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

MockGatewayQueries is a mock of GatewayQueries interface.

func NewMockGatewayQueries

func NewMockGatewayQueries(ctrl *gomock.Controller) *MockGatewayQueries

NewMockGatewayQueries creates a new mock instance.

func (*MockGatewayQueries) EXPECT

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

func (*MockGatewayQueries) GetBackendForRef

func (m *MockGatewayQueries) GetBackendForRef(arg0 context.Context, arg1 query.From, arg2 *v1.BackendObjectReference) (client.Object, error)

GetBackendForRef mocks base method.

func (*MockGatewayQueries) GetLocalObjRef

func (m *MockGatewayQueries) GetLocalObjRef(arg0 context.Context, arg1 query.From, arg2 v1.LocalObjectReference) (client.Object, error)

GetLocalObjRef mocks base method.

func (*MockGatewayQueries) GetRouteChain

func (m *MockGatewayQueries) GetRouteChain(arg0 context.Context, arg1 client.Object, arg2 []string, arg3 v1.ParentReference) *query.RouteInfo

GetRouteChain mocks base method.

func (*MockGatewayQueries) GetRoutesForGateway

func (m *MockGatewayQueries) GetRoutesForGateway(arg0 context.Context, arg1 *v1.Gateway) (*query.RoutesForGwResult, error)

GetRoutesForGateway mocks base method.

func (*MockGatewayQueries) GetSecretForRef

func (m *MockGatewayQueries) GetSecretForRef(arg0 context.Context, arg1 query.From, arg2 v1.SecretObjectReference) (client.Object, error)

GetSecretForRef mocks base method.

func (*MockGatewayQueries) ObjToFrom

func (m *MockGatewayQueries) ObjToFrom(arg0 client.Object) query.From

ObjToFrom mocks base method.

type MockGatewayQueriesMockRecorder

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

MockGatewayQueriesMockRecorder is the mock recorder for MockGatewayQueries.

func (*MockGatewayQueriesMockRecorder) GetBackendForRef

func (mr *MockGatewayQueriesMockRecorder) GetBackendForRef(arg0, arg1, arg2 interface{}) *gomock.Call

GetBackendForRef indicates an expected call of GetBackendForRef.

func (*MockGatewayQueriesMockRecorder) GetLocalObjRef

func (mr *MockGatewayQueriesMockRecorder) GetLocalObjRef(arg0, arg1, arg2 interface{}) *gomock.Call

GetLocalObjRef indicates an expected call of GetLocalObjRef.

func (*MockGatewayQueriesMockRecorder) GetRouteChain

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

GetRouteChain indicates an expected call of GetRouteChain.

func (*MockGatewayQueriesMockRecorder) GetRoutesForGateway

func (mr *MockGatewayQueriesMockRecorder) GetRoutesForGateway(arg0, arg1 interface{}) *gomock.Call

GetRoutesForGateway indicates an expected call of GetRoutesForGateway.

func (*MockGatewayQueriesMockRecorder) GetSecretForRef

func (mr *MockGatewayQueriesMockRecorder) GetSecretForRef(arg0, arg1, arg2 interface{}) *gomock.Call

GetSecretForRef indicates an expected call of GetSecretForRef.

func (*MockGatewayQueriesMockRecorder) ObjToFrom

func (mr *MockGatewayQueriesMockRecorder) ObjToFrom(arg0 interface{}) *gomock.Call

ObjToFrom indicates an expected call of ObjToFrom.

Jump to

Keyboard shortcuts

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