Documentation
¶
Overview ¶
Package mock_virtualgateway is a generated GoMock package.
Package mock_virtualgateway is a generated GoMock package.
Index ¶
- type MockMembershipDesignator
- func (m *MockMembershipDesignator) DesignateForGatewayRoute(arg0 context.Context, arg1 *v1beta2.GatewayRoute) (*v1beta2.VirtualGateway, error)
- func (m *MockMembershipDesignator) DesignateForPod(arg0 context.Context, arg1 *v1.Pod) (*v1beta2.VirtualGateway, error)
- func (m *MockMembershipDesignator) EXPECT() *MockMembershipDesignatorMockRecorder
- type MockMembershipDesignatorMockRecorder
- type MockResourceManager
- type MockResourceManagerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMembershipDesignator ¶
type MockMembershipDesignator struct {
// contains filtered or unexported fields
}
MockMembershipDesignator is a mock of MembershipDesignator interface
func NewMockMembershipDesignator ¶
func NewMockMembershipDesignator(ctrl *gomock.Controller) *MockMembershipDesignator
NewMockMembershipDesignator creates a new mock instance
func (*MockMembershipDesignator) DesignateForGatewayRoute ¶
func (m *MockMembershipDesignator) DesignateForGatewayRoute(arg0 context.Context, arg1 *v1beta2.GatewayRoute) (*v1beta2.VirtualGateway, error)
DesignateForGatewayRoute mocks base method
func (*MockMembershipDesignator) DesignateForPod ¶
func (m *MockMembershipDesignator) DesignateForPod(arg0 context.Context, arg1 *v1.Pod) (*v1beta2.VirtualGateway, error)
DesignateForPod mocks base method
func (*MockMembershipDesignator) EXPECT ¶
func (m *MockMembershipDesignator) EXPECT() *MockMembershipDesignatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockMembershipDesignatorMockRecorder ¶
type MockMembershipDesignatorMockRecorder struct {
// contains filtered or unexported fields
}
MockMembershipDesignatorMockRecorder is the mock recorder for MockMembershipDesignator
func (*MockMembershipDesignatorMockRecorder) DesignateForGatewayRoute ¶
func (mr *MockMembershipDesignatorMockRecorder) DesignateForGatewayRoute(arg0, arg1 interface{}) *gomock.Call
DesignateForGatewayRoute indicates an expected call of DesignateForGatewayRoute
func (*MockMembershipDesignatorMockRecorder) DesignateForPod ¶
func (mr *MockMembershipDesignatorMockRecorder) DesignateForPod(arg0, arg1 interface{}) *gomock.Call
DesignateForPod indicates an expected call of DesignateForPod
type MockResourceManager ¶ added in v1.5.0
type MockResourceManager struct {
// contains filtered or unexported fields
}
MockResourceManager is a mock of ResourceManager interface.
func NewMockResourceManager ¶ added in v1.5.0
func NewMockResourceManager(ctrl *gomock.Controller) *MockResourceManager
NewMockResourceManager creates a new mock instance.
func (*MockResourceManager) Cleanup ¶ added in v1.5.0
func (m *MockResourceManager) Cleanup(ctx context.Context, vg *v1beta2.VirtualGateway) error
Cleanup mocks base method.
func (*MockResourceManager) EXPECT ¶ added in v1.5.0
func (m *MockResourceManager) EXPECT() *MockResourceManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResourceManager) Reconcile ¶ added in v1.5.0
func (m *MockResourceManager) Reconcile(ctx context.Context, vg *v1beta2.VirtualGateway) error
Reconcile mocks base method.
type MockResourceManagerMockRecorder ¶ added in v1.5.0
type MockResourceManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockResourceManagerMockRecorder is the mock recorder for MockResourceManager.
func (*MockResourceManagerMockRecorder) Cleanup ¶ added in v1.5.0
func (mr *MockResourceManagerMockRecorder) Cleanup(ctx, vg interface{}) *gomock.Call
Cleanup indicates an expected call of Cleanup.
func (*MockResourceManagerMockRecorder) Reconcile ¶ added in v1.5.0
func (mr *MockResourceManagerMockRecorder) Reconcile(ctx, vg interface{}) *gomock.Call
Reconcile indicates an expected call of Reconcile.