Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockGatewayQueries
- func (m *MockGatewayQueries) EXPECT() *MockGatewayQueriesMockRecorder
- func (m *MockGatewayQueries) GetBackendForRef(arg0 context.Context, arg1 query.From, arg2 *v1.BackendObjectReference) (client.Object, error)
- func (m *MockGatewayQueries) GetLocalObjRef(arg0 context.Context, arg1 query.From, arg2 v1.LocalObjectReference) (client.Object, error)
- func (m *MockGatewayQueries) GetRouteChain(arg0 context.Context, arg1 client.Object, arg2 []string, ...) *query.RouteInfo
- func (m *MockGatewayQueries) GetRoutesForGateway(arg0 context.Context, arg1 *v1.Gateway) (*query.RoutesForGwResult, error)
- func (m *MockGatewayQueries) GetSecretForRef(arg0 context.Context, arg1 query.From, arg2 v1.SecretObjectReference) (client.Object, error)
- func (m *MockGatewayQueries) ObjToFrom(arg0 client.Object) query.From
- type MockGatewayQueriesMockRecorder
- func (mr *MockGatewayQueriesMockRecorder) GetBackendForRef(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGatewayQueriesMockRecorder) GetLocalObjRef(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGatewayQueriesMockRecorder) GetRouteChain(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockGatewayQueriesMockRecorder) GetRoutesForGateway(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGatewayQueriesMockRecorder) GetSecretForRef(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGatewayQueriesMockRecorder) ObjToFrom(arg0 interface{}) *gomock.Call
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 ¶
func (m *MockGatewayQueries) EXPECT() *MockGatewayQueriesMockRecorder
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.
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.