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) GetRoutesForGw(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) GetRoutesForGw(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) 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.
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) 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.