Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockGatewayStatusTracker
- type MockGatewayStatusTrackerMockRecorder
- type MockReconcileManager
- func (m *MockReconcileManager) DeleteGateway(ctx context.Context, name types.NamespacedName) error
- func (m *MockReconcileManager) DeleteGatewayClass(ctx context.Context, name string) error
- func (m *MockReconcileManager) DeleteHTTPRoute(ctx context.Context, name types.NamespacedName) error
- func (m *MockReconcileManager) DeleteTCPRoute(ctx context.Context, name types.NamespacedName) error
- func (m *MockReconcileManager) EXPECT() *MockReconcileManagerMockRecorder
- func (m *MockReconcileManager) UpsertGateway(ctx context.Context, g *v1beta1.Gateway) error
- func (m *MockReconcileManager) UpsertGatewayClass(ctx context.Context, gc *v1beta1.GatewayClass) error
- func (m *MockReconcileManager) UpsertHTTPRoute(ctx context.Context, r *v1alpha2.HTTPRoute) error
- func (m *MockReconcileManager) UpsertTCPRoute(ctx context.Context, r *v1alpha2.TCPRoute) error
- type MockReconcileManagerMockRecorder
- func (mr *MockReconcileManagerMockRecorder) DeleteGateway(ctx, name interface{}) *gomock.Call
- func (mr *MockReconcileManagerMockRecorder) DeleteGatewayClass(ctx, name interface{}) *gomock.Call
- func (mr *MockReconcileManagerMockRecorder) DeleteHTTPRoute(ctx, name interface{}) *gomock.Call
- func (mr *MockReconcileManagerMockRecorder) DeleteTCPRoute(ctx, name interface{}) *gomock.Call
- func (mr *MockReconcileManagerMockRecorder) UpsertGateway(ctx, g interface{}) *gomock.Call
- func (mr *MockReconcileManagerMockRecorder) UpsertGatewayClass(ctx, gc interface{}) *gomock.Call
- func (mr *MockReconcileManagerMockRecorder) UpsertHTTPRoute(ctx, r interface{}) *gomock.Call
- func (mr *MockReconcileManagerMockRecorder) UpsertTCPRoute(ctx, r interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGatewayStatusTracker ¶
type MockGatewayStatusTracker struct {
// contains filtered or unexported fields
}
MockGatewayStatusTracker is a mock of GatewayStatusTracker interface.
func NewMockGatewayStatusTracker ¶
func NewMockGatewayStatusTracker(ctrl *gomock.Controller) *MockGatewayStatusTracker
NewMockGatewayStatusTracker creates a new mock instance.
func (*MockGatewayStatusTracker) DeleteStatus ¶
func (m *MockGatewayStatusTracker) DeleteStatus(name types.NamespacedName)
DeleteStatus mocks base method.
func (*MockGatewayStatusTracker) EXPECT ¶
func (m *MockGatewayStatusTracker) EXPECT() *MockGatewayStatusTrackerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGatewayStatusTracker) UpdateStatus ¶
func (m *MockGatewayStatusTracker) UpdateStatus(name types.NamespacedName, pod *v1.Pod, conditions []v10.Condition, force bool, cb func() error) error
UpdateStatus mocks base method.
type MockGatewayStatusTrackerMockRecorder ¶
type MockGatewayStatusTrackerMockRecorder struct {
// contains filtered or unexported fields
}
MockGatewayStatusTrackerMockRecorder is the mock recorder for MockGatewayStatusTracker.
func (*MockGatewayStatusTrackerMockRecorder) DeleteStatus ¶
func (mr *MockGatewayStatusTrackerMockRecorder) DeleteStatus(name interface{}) *gomock.Call
DeleteStatus indicates an expected call of DeleteStatus.
func (*MockGatewayStatusTrackerMockRecorder) UpdateStatus ¶
func (mr *MockGatewayStatusTrackerMockRecorder) UpdateStatus(name, pod, conditions, force, cb interface{}) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.
type MockReconcileManager ¶
type MockReconcileManager struct {
// contains filtered or unexported fields
}
MockReconcileManager is a mock of ReconcileManager interface.
func NewMockReconcileManager ¶
func NewMockReconcileManager(ctrl *gomock.Controller) *MockReconcileManager
NewMockReconcileManager creates a new mock instance.
func (*MockReconcileManager) DeleteGateway ¶
func (m *MockReconcileManager) DeleteGateway(ctx context.Context, name types.NamespacedName) error
DeleteGateway mocks base method.
func (*MockReconcileManager) DeleteGatewayClass ¶
func (m *MockReconcileManager) DeleteGatewayClass(ctx context.Context, name string) error
DeleteGatewayClass mocks base method.
func (*MockReconcileManager) DeleteHTTPRoute ¶
func (m *MockReconcileManager) DeleteHTTPRoute(ctx context.Context, name types.NamespacedName) error
DeleteHTTPRoute mocks base method.
func (*MockReconcileManager) DeleteTCPRoute ¶
func (m *MockReconcileManager) DeleteTCPRoute(ctx context.Context, name types.NamespacedName) error
DeleteTCPRoute mocks base method.
func (*MockReconcileManager) EXPECT ¶
func (m *MockReconcileManager) EXPECT() *MockReconcileManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReconcileManager) UpsertGateway ¶
UpsertGateway mocks base method.
func (*MockReconcileManager) UpsertGatewayClass ¶
func (m *MockReconcileManager) UpsertGatewayClass(ctx context.Context, gc *v1beta1.GatewayClass) error
UpsertGatewayClass mocks base method.
func (*MockReconcileManager) UpsertHTTPRoute ¶
UpsertHTTPRoute mocks base method.
func (*MockReconcileManager) UpsertTCPRoute ¶
UpsertTCPRoute mocks base method.
type MockReconcileManagerMockRecorder ¶
type MockReconcileManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockReconcileManagerMockRecorder is the mock recorder for MockReconcileManager.
func (*MockReconcileManagerMockRecorder) DeleteGateway ¶
func (mr *MockReconcileManagerMockRecorder) DeleteGateway(ctx, name interface{}) *gomock.Call
DeleteGateway indicates an expected call of DeleteGateway.
func (*MockReconcileManagerMockRecorder) DeleteGatewayClass ¶
func (mr *MockReconcileManagerMockRecorder) DeleteGatewayClass(ctx, name interface{}) *gomock.Call
DeleteGatewayClass indicates an expected call of DeleteGatewayClass.
func (*MockReconcileManagerMockRecorder) DeleteHTTPRoute ¶
func (mr *MockReconcileManagerMockRecorder) DeleteHTTPRoute(ctx, name interface{}) *gomock.Call
DeleteHTTPRoute indicates an expected call of DeleteHTTPRoute.
func (*MockReconcileManagerMockRecorder) DeleteTCPRoute ¶
func (mr *MockReconcileManagerMockRecorder) DeleteTCPRoute(ctx, name interface{}) *gomock.Call
DeleteTCPRoute indicates an expected call of DeleteTCPRoute.
func (*MockReconcileManagerMockRecorder) UpsertGateway ¶
func (mr *MockReconcileManagerMockRecorder) UpsertGateway(ctx, g interface{}) *gomock.Call
UpsertGateway indicates an expected call of UpsertGateway.
func (*MockReconcileManagerMockRecorder) UpsertGatewayClass ¶
func (mr *MockReconcileManagerMockRecorder) UpsertGatewayClass(ctx, gc interface{}) *gomock.Call
UpsertGatewayClass indicates an expected call of UpsertGatewayClass.
func (*MockReconcileManagerMockRecorder) UpsertHTTPRoute ¶
func (mr *MockReconcileManagerMockRecorder) UpsertHTTPRoute(ctx, r interface{}) *gomock.Call
UpsertHTTPRoute indicates an expected call of UpsertHTTPRoute.
func (*MockReconcileManagerMockRecorder) UpsertTCPRoute ¶
func (mr *MockReconcileManagerMockRecorder) UpsertTCPRoute(ctx, r interface{}) *gomock.Call
UpsertTCPRoute indicates an expected call of UpsertTCPRoute.