mocks

package
v1.18.0-beta21 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 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) GetHTTPRouteChain

func (m *MockGatewayQueries) GetHTTPRouteChain(arg0 context.Context, arg1 v1.HTTPRoute, arg2 []string, arg3 v1.ParentReference) *query.HTTPRouteInfo

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

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

GetHTTPRouteChain indicates an expected call of GetHTTPRouteChain.

func (*MockGatewayQueriesMockRecorder) GetLocalObjRef

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

GetLocalObjRef indicates an expected call of GetLocalObjRef.

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