mocks

package
v1.17.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 7 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) GetDelegatedRoutes

GetDelegatedRoutes 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) GetRoutesForGw

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

GetRoutesForGw 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) GetDelegatedRoutes

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

GetDelegatedRoutes indicates an expected call of GetDelegatedRoutes.

func (*MockGatewayQueriesMockRecorder) GetLocalObjRef

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

GetLocalObjRef indicates an expected call of GetLocalObjRef.

func (*MockGatewayQueriesMockRecorder) GetRoutesForGw

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

GetRoutesForGw indicates an expected call of GetRoutesForGw.

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