Documentation ¶
Overview ¶
Package mock_controller is a generated GoMock package.
Package mock_controller is a generated GoMock package.
Package mock_controller is a generated GoMock package.
Index ¶
- type MockAuthorizationPolicyDeletionReconciler
- type MockAuthorizationPolicyDeletionReconcilerMockRecorder
- type MockAuthorizationPolicyEventHandler
- func (m *MockAuthorizationPolicyEventHandler) CreateAuthorizationPolicy(obj *v1beta1.AuthorizationPolicy) error
- func (m *MockAuthorizationPolicyEventHandler) DeleteAuthorizationPolicy(obj *v1beta1.AuthorizationPolicy) error
- func (m *MockAuthorizationPolicyEventHandler) EXPECT() *MockAuthorizationPolicyEventHandlerMockRecorder
- func (m *MockAuthorizationPolicyEventHandler) GenericAuthorizationPolicy(obj *v1beta1.AuthorizationPolicy) error
- func (m *MockAuthorizationPolicyEventHandler) UpdateAuthorizationPolicy(old, new *v1beta1.AuthorizationPolicy) error
- type MockAuthorizationPolicyEventHandlerMockRecorder
- func (mr *MockAuthorizationPolicyEventHandlerMockRecorder) CreateAuthorizationPolicy(obj interface{}) *gomock.Call
- func (mr *MockAuthorizationPolicyEventHandlerMockRecorder) DeleteAuthorizationPolicy(obj interface{}) *gomock.Call
- func (mr *MockAuthorizationPolicyEventHandlerMockRecorder) GenericAuthorizationPolicy(obj interface{}) *gomock.Call
- func (mr *MockAuthorizationPolicyEventHandlerMockRecorder) UpdateAuthorizationPolicy(old, new interface{}) *gomock.Call
- type MockAuthorizationPolicyEventWatcher
- type MockAuthorizationPolicyEventWatcherMockRecorder
- type MockAuthorizationPolicyFinalizer
- func (m *MockAuthorizationPolicyFinalizer) AuthorizationPolicyFinalizerName() string
- func (m *MockAuthorizationPolicyFinalizer) EXPECT() *MockAuthorizationPolicyFinalizerMockRecorder
- func (m *MockAuthorizationPolicyFinalizer) FinalizeAuthorizationPolicy(obj *v1beta1.AuthorizationPolicy) error
- func (m *MockAuthorizationPolicyFinalizer) ReconcileAuthorizationPolicy(obj *v1beta1.AuthorizationPolicy) (reconcile.Result, error)
- type MockAuthorizationPolicyFinalizerMockRecorder
- func (mr *MockAuthorizationPolicyFinalizerMockRecorder) AuthorizationPolicyFinalizerName() *gomock.Call
- func (mr *MockAuthorizationPolicyFinalizerMockRecorder) FinalizeAuthorizationPolicy(obj interface{}) *gomock.Call
- func (mr *MockAuthorizationPolicyFinalizerMockRecorder) ReconcileAuthorizationPolicy(obj interface{}) *gomock.Call
- type MockAuthorizationPolicyReconcileLoop
- type MockAuthorizationPolicyReconcileLoopMockRecorder
- type MockAuthorizationPolicyReconciler
- type MockAuthorizationPolicyReconcilerMockRecorder
- type MockMulticlusterAuthorizationPolicyDeletionReconciler
- type MockMulticlusterAuthorizationPolicyDeletionReconcilerMockRecorder
- type MockMulticlusterAuthorizationPolicyReconcileLoop
- func (m *MockMulticlusterAuthorizationPolicyReconcileLoop) AddMulticlusterAuthorizationPolicyReconciler(ctx context.Context, rec controller.MulticlusterAuthorizationPolicyReconciler, ...)
- func (m *MockMulticlusterAuthorizationPolicyReconcileLoop) EXPECT() *MockMulticlusterAuthorizationPolicyReconcileLoopMockRecorder
- type MockMulticlusterAuthorizationPolicyReconcileLoopMockRecorder
- type MockMulticlusterAuthorizationPolicyReconciler
- type MockMulticlusterAuthorizationPolicyReconcilerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthorizationPolicyDeletionReconciler ¶
type MockAuthorizationPolicyDeletionReconciler struct {
// contains filtered or unexported fields
}
MockAuthorizationPolicyDeletionReconciler is a mock of AuthorizationPolicyDeletionReconciler interface
func NewMockAuthorizationPolicyDeletionReconciler ¶
func NewMockAuthorizationPolicyDeletionReconciler(ctrl *gomock.Controller) *MockAuthorizationPolicyDeletionReconciler
NewMockAuthorizationPolicyDeletionReconciler creates a new mock instance
func (*MockAuthorizationPolicyDeletionReconciler) EXPECT ¶
func (m *MockAuthorizationPolicyDeletionReconciler) EXPECT() *MockAuthorizationPolicyDeletionReconcilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAuthorizationPolicyDeletionReconciler) ReconcileAuthorizationPolicyDeletion ¶
func (m *MockAuthorizationPolicyDeletionReconciler) ReconcileAuthorizationPolicyDeletion(req reconcile.Request) error
ReconcileAuthorizationPolicyDeletion mocks base method
type MockAuthorizationPolicyDeletionReconcilerMockRecorder ¶
type MockAuthorizationPolicyDeletionReconcilerMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorizationPolicyDeletionReconcilerMockRecorder is the mock recorder for MockAuthorizationPolicyDeletionReconciler
func (*MockAuthorizationPolicyDeletionReconcilerMockRecorder) ReconcileAuthorizationPolicyDeletion ¶
func (mr *MockAuthorizationPolicyDeletionReconcilerMockRecorder) ReconcileAuthorizationPolicyDeletion(req interface{}) *gomock.Call
ReconcileAuthorizationPolicyDeletion indicates an expected call of ReconcileAuthorizationPolicyDeletion
type MockAuthorizationPolicyEventHandler ¶
type MockAuthorizationPolicyEventHandler struct {
// contains filtered or unexported fields
}
MockAuthorizationPolicyEventHandler is a mock of AuthorizationPolicyEventHandler interface
func NewMockAuthorizationPolicyEventHandler ¶
func NewMockAuthorizationPolicyEventHandler(ctrl *gomock.Controller) *MockAuthorizationPolicyEventHandler
NewMockAuthorizationPolicyEventHandler creates a new mock instance
func (*MockAuthorizationPolicyEventHandler) CreateAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyEventHandler) CreateAuthorizationPolicy(obj *v1beta1.AuthorizationPolicy) error
CreateAuthorizationPolicy mocks base method
func (*MockAuthorizationPolicyEventHandler) DeleteAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyEventHandler) DeleteAuthorizationPolicy(obj *v1beta1.AuthorizationPolicy) error
DeleteAuthorizationPolicy mocks base method
func (*MockAuthorizationPolicyEventHandler) EXPECT ¶
func (m *MockAuthorizationPolicyEventHandler) EXPECT() *MockAuthorizationPolicyEventHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAuthorizationPolicyEventHandler) GenericAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyEventHandler) GenericAuthorizationPolicy(obj *v1beta1.AuthorizationPolicy) error
GenericAuthorizationPolicy mocks base method
func (*MockAuthorizationPolicyEventHandler) UpdateAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyEventHandler) UpdateAuthorizationPolicy(old, new *v1beta1.AuthorizationPolicy) error
UpdateAuthorizationPolicy mocks base method
type MockAuthorizationPolicyEventHandlerMockRecorder ¶
type MockAuthorizationPolicyEventHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorizationPolicyEventHandlerMockRecorder is the mock recorder for MockAuthorizationPolicyEventHandler
func (*MockAuthorizationPolicyEventHandlerMockRecorder) CreateAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyEventHandlerMockRecorder) CreateAuthorizationPolicy(obj interface{}) *gomock.Call
CreateAuthorizationPolicy indicates an expected call of CreateAuthorizationPolicy
func (*MockAuthorizationPolicyEventHandlerMockRecorder) DeleteAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyEventHandlerMockRecorder) DeleteAuthorizationPolicy(obj interface{}) *gomock.Call
DeleteAuthorizationPolicy indicates an expected call of DeleteAuthorizationPolicy
func (*MockAuthorizationPolicyEventHandlerMockRecorder) GenericAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyEventHandlerMockRecorder) GenericAuthorizationPolicy(obj interface{}) *gomock.Call
GenericAuthorizationPolicy indicates an expected call of GenericAuthorizationPolicy
func (*MockAuthorizationPolicyEventHandlerMockRecorder) UpdateAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyEventHandlerMockRecorder) UpdateAuthorizationPolicy(old, new interface{}) *gomock.Call
UpdateAuthorizationPolicy indicates an expected call of UpdateAuthorizationPolicy
type MockAuthorizationPolicyEventWatcher ¶
type MockAuthorizationPolicyEventWatcher struct {
// contains filtered or unexported fields
}
MockAuthorizationPolicyEventWatcher is a mock of AuthorizationPolicyEventWatcher interface
func NewMockAuthorizationPolicyEventWatcher ¶
func NewMockAuthorizationPolicyEventWatcher(ctrl *gomock.Controller) *MockAuthorizationPolicyEventWatcher
NewMockAuthorizationPolicyEventWatcher creates a new mock instance
func (*MockAuthorizationPolicyEventWatcher) AddEventHandler ¶
func (m *MockAuthorizationPolicyEventWatcher) AddEventHandler(ctx context.Context, h controller.AuthorizationPolicyEventHandler, predicates ...predicate.Predicate) error
AddEventHandler mocks base method
func (*MockAuthorizationPolicyEventWatcher) EXPECT ¶
func (m *MockAuthorizationPolicyEventWatcher) EXPECT() *MockAuthorizationPolicyEventWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockAuthorizationPolicyEventWatcherMockRecorder ¶
type MockAuthorizationPolicyEventWatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorizationPolicyEventWatcherMockRecorder is the mock recorder for MockAuthorizationPolicyEventWatcher
func (*MockAuthorizationPolicyEventWatcherMockRecorder) AddEventHandler ¶
func (mr *MockAuthorizationPolicyEventWatcherMockRecorder) AddEventHandler(ctx, h interface{}, predicates ...interface{}) *gomock.Call
AddEventHandler indicates an expected call of AddEventHandler
type MockAuthorizationPolicyFinalizer ¶
type MockAuthorizationPolicyFinalizer struct {
// contains filtered or unexported fields
}
MockAuthorizationPolicyFinalizer is a mock of AuthorizationPolicyFinalizer interface
func NewMockAuthorizationPolicyFinalizer ¶
func NewMockAuthorizationPolicyFinalizer(ctrl *gomock.Controller) *MockAuthorizationPolicyFinalizer
NewMockAuthorizationPolicyFinalizer creates a new mock instance
func (*MockAuthorizationPolicyFinalizer) AuthorizationPolicyFinalizerName ¶
func (m *MockAuthorizationPolicyFinalizer) AuthorizationPolicyFinalizerName() string
AuthorizationPolicyFinalizerName mocks base method
func (*MockAuthorizationPolicyFinalizer) EXPECT ¶
func (m *MockAuthorizationPolicyFinalizer) EXPECT() *MockAuthorizationPolicyFinalizerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAuthorizationPolicyFinalizer) FinalizeAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyFinalizer) FinalizeAuthorizationPolicy(obj *v1beta1.AuthorizationPolicy) error
FinalizeAuthorizationPolicy mocks base method
func (*MockAuthorizationPolicyFinalizer) ReconcileAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyFinalizer) ReconcileAuthorizationPolicy(obj *v1beta1.AuthorizationPolicy) (reconcile.Result, error)
ReconcileAuthorizationPolicy mocks base method
type MockAuthorizationPolicyFinalizerMockRecorder ¶
type MockAuthorizationPolicyFinalizerMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorizationPolicyFinalizerMockRecorder is the mock recorder for MockAuthorizationPolicyFinalizer
func (*MockAuthorizationPolicyFinalizerMockRecorder) AuthorizationPolicyFinalizerName ¶
func (mr *MockAuthorizationPolicyFinalizerMockRecorder) AuthorizationPolicyFinalizerName() *gomock.Call
AuthorizationPolicyFinalizerName indicates an expected call of AuthorizationPolicyFinalizerName
func (*MockAuthorizationPolicyFinalizerMockRecorder) FinalizeAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyFinalizerMockRecorder) FinalizeAuthorizationPolicy(obj interface{}) *gomock.Call
FinalizeAuthorizationPolicy indicates an expected call of FinalizeAuthorizationPolicy
func (*MockAuthorizationPolicyFinalizerMockRecorder) ReconcileAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyFinalizerMockRecorder) ReconcileAuthorizationPolicy(obj interface{}) *gomock.Call
ReconcileAuthorizationPolicy indicates an expected call of ReconcileAuthorizationPolicy
type MockAuthorizationPolicyReconcileLoop ¶
type MockAuthorizationPolicyReconcileLoop struct {
// contains filtered or unexported fields
}
MockAuthorizationPolicyReconcileLoop is a mock of AuthorizationPolicyReconcileLoop interface
func NewMockAuthorizationPolicyReconcileLoop ¶
func NewMockAuthorizationPolicyReconcileLoop(ctrl *gomock.Controller) *MockAuthorizationPolicyReconcileLoop
NewMockAuthorizationPolicyReconcileLoop creates a new mock instance
func (*MockAuthorizationPolicyReconcileLoop) EXPECT ¶
func (m *MockAuthorizationPolicyReconcileLoop) EXPECT() *MockAuthorizationPolicyReconcileLoopMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAuthorizationPolicyReconcileLoop) RunAuthorizationPolicyReconciler ¶
func (m *MockAuthorizationPolicyReconcileLoop) RunAuthorizationPolicyReconciler(ctx context.Context, rec controller.AuthorizationPolicyReconciler, predicates ...predicate.Predicate) error
RunAuthorizationPolicyReconciler mocks base method
type MockAuthorizationPolicyReconcileLoopMockRecorder ¶
type MockAuthorizationPolicyReconcileLoopMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorizationPolicyReconcileLoopMockRecorder is the mock recorder for MockAuthorizationPolicyReconcileLoop
func (*MockAuthorizationPolicyReconcileLoopMockRecorder) RunAuthorizationPolicyReconciler ¶
func (mr *MockAuthorizationPolicyReconcileLoopMockRecorder) RunAuthorizationPolicyReconciler(ctx, rec interface{}, predicates ...interface{}) *gomock.Call
RunAuthorizationPolicyReconciler indicates an expected call of RunAuthorizationPolicyReconciler
type MockAuthorizationPolicyReconciler ¶
type MockAuthorizationPolicyReconciler struct {
// contains filtered or unexported fields
}
MockAuthorizationPolicyReconciler is a mock of AuthorizationPolicyReconciler interface
func NewMockAuthorizationPolicyReconciler ¶
func NewMockAuthorizationPolicyReconciler(ctrl *gomock.Controller) *MockAuthorizationPolicyReconciler
NewMockAuthorizationPolicyReconciler creates a new mock instance
func (*MockAuthorizationPolicyReconciler) EXPECT ¶
func (m *MockAuthorizationPolicyReconciler) EXPECT() *MockAuthorizationPolicyReconcilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAuthorizationPolicyReconciler) ReconcileAuthorizationPolicy ¶
func (m *MockAuthorizationPolicyReconciler) ReconcileAuthorizationPolicy(obj *v1beta1.AuthorizationPolicy) (reconcile.Result, error)
ReconcileAuthorizationPolicy mocks base method
type MockAuthorizationPolicyReconcilerMockRecorder ¶
type MockAuthorizationPolicyReconcilerMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorizationPolicyReconcilerMockRecorder is the mock recorder for MockAuthorizationPolicyReconciler
func (*MockAuthorizationPolicyReconcilerMockRecorder) ReconcileAuthorizationPolicy ¶
func (mr *MockAuthorizationPolicyReconcilerMockRecorder) ReconcileAuthorizationPolicy(obj interface{}) *gomock.Call
ReconcileAuthorizationPolicy indicates an expected call of ReconcileAuthorizationPolicy
type MockMulticlusterAuthorizationPolicyDeletionReconciler ¶
type MockMulticlusterAuthorizationPolicyDeletionReconciler struct {
// contains filtered or unexported fields
}
MockMulticlusterAuthorizationPolicyDeletionReconciler is a mock of MulticlusterAuthorizationPolicyDeletionReconciler interface
func NewMockMulticlusterAuthorizationPolicyDeletionReconciler ¶
func NewMockMulticlusterAuthorizationPolicyDeletionReconciler(ctrl *gomock.Controller) *MockMulticlusterAuthorizationPolicyDeletionReconciler
NewMockMulticlusterAuthorizationPolicyDeletionReconciler creates a new mock instance
func (*MockMulticlusterAuthorizationPolicyDeletionReconciler) EXPECT ¶
func (m *MockMulticlusterAuthorizationPolicyDeletionReconciler) EXPECT() *MockMulticlusterAuthorizationPolicyDeletionReconcilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMulticlusterAuthorizationPolicyDeletionReconciler) ReconcileAuthorizationPolicyDeletion ¶
func (m *MockMulticlusterAuthorizationPolicyDeletionReconciler) ReconcileAuthorizationPolicyDeletion(clusterName string, req reconcile.Request) error
ReconcileAuthorizationPolicyDeletion mocks base method
type MockMulticlusterAuthorizationPolicyDeletionReconcilerMockRecorder ¶
type MockMulticlusterAuthorizationPolicyDeletionReconcilerMockRecorder struct {
// contains filtered or unexported fields
}
MockMulticlusterAuthorizationPolicyDeletionReconcilerMockRecorder is the mock recorder for MockMulticlusterAuthorizationPolicyDeletionReconciler
func (*MockMulticlusterAuthorizationPolicyDeletionReconcilerMockRecorder) ReconcileAuthorizationPolicyDeletion ¶
func (mr *MockMulticlusterAuthorizationPolicyDeletionReconcilerMockRecorder) ReconcileAuthorizationPolicyDeletion(clusterName, req interface{}) *gomock.Call
ReconcileAuthorizationPolicyDeletion indicates an expected call of ReconcileAuthorizationPolicyDeletion
type MockMulticlusterAuthorizationPolicyReconcileLoop ¶
type MockMulticlusterAuthorizationPolicyReconcileLoop struct {
// contains filtered or unexported fields
}
MockMulticlusterAuthorizationPolicyReconcileLoop is a mock of MulticlusterAuthorizationPolicyReconcileLoop interface
func NewMockMulticlusterAuthorizationPolicyReconcileLoop ¶
func NewMockMulticlusterAuthorizationPolicyReconcileLoop(ctrl *gomock.Controller) *MockMulticlusterAuthorizationPolicyReconcileLoop
NewMockMulticlusterAuthorizationPolicyReconcileLoop creates a new mock instance
func (*MockMulticlusterAuthorizationPolicyReconcileLoop) AddMulticlusterAuthorizationPolicyReconciler ¶
func (m *MockMulticlusterAuthorizationPolicyReconcileLoop) AddMulticlusterAuthorizationPolicyReconciler(ctx context.Context, rec controller.MulticlusterAuthorizationPolicyReconciler, predicates ...predicate.Predicate)
AddMulticlusterAuthorizationPolicyReconciler mocks base method
func (*MockMulticlusterAuthorizationPolicyReconcileLoop) EXPECT ¶
func (m *MockMulticlusterAuthorizationPolicyReconcileLoop) EXPECT() *MockMulticlusterAuthorizationPolicyReconcileLoopMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockMulticlusterAuthorizationPolicyReconcileLoopMockRecorder ¶
type MockMulticlusterAuthorizationPolicyReconcileLoopMockRecorder struct {
// contains filtered or unexported fields
}
MockMulticlusterAuthorizationPolicyReconcileLoopMockRecorder is the mock recorder for MockMulticlusterAuthorizationPolicyReconcileLoop
func (*MockMulticlusterAuthorizationPolicyReconcileLoopMockRecorder) AddMulticlusterAuthorizationPolicyReconciler ¶
func (mr *MockMulticlusterAuthorizationPolicyReconcileLoopMockRecorder) AddMulticlusterAuthorizationPolicyReconciler(ctx, rec interface{}, predicates ...interface{}) *gomock.Call
AddMulticlusterAuthorizationPolicyReconciler indicates an expected call of AddMulticlusterAuthorizationPolicyReconciler
type MockMulticlusterAuthorizationPolicyReconciler ¶
type MockMulticlusterAuthorizationPolicyReconciler struct {
// contains filtered or unexported fields
}
MockMulticlusterAuthorizationPolicyReconciler is a mock of MulticlusterAuthorizationPolicyReconciler interface
func NewMockMulticlusterAuthorizationPolicyReconciler ¶
func NewMockMulticlusterAuthorizationPolicyReconciler(ctrl *gomock.Controller) *MockMulticlusterAuthorizationPolicyReconciler
NewMockMulticlusterAuthorizationPolicyReconciler creates a new mock instance
func (*MockMulticlusterAuthorizationPolicyReconciler) EXPECT ¶
func (m *MockMulticlusterAuthorizationPolicyReconciler) EXPECT() *MockMulticlusterAuthorizationPolicyReconcilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMulticlusterAuthorizationPolicyReconciler) ReconcileAuthorizationPolicy ¶
func (m *MockMulticlusterAuthorizationPolicyReconciler) ReconcileAuthorizationPolicy(clusterName string, obj *v1beta1.AuthorizationPolicy) (reconcile.Result, error)
ReconcileAuthorizationPolicy mocks base method
type MockMulticlusterAuthorizationPolicyReconcilerMockRecorder ¶
type MockMulticlusterAuthorizationPolicyReconcilerMockRecorder struct {
// contains filtered or unexported fields
}
MockMulticlusterAuthorizationPolicyReconcilerMockRecorder is the mock recorder for MockMulticlusterAuthorizationPolicyReconciler
func (*MockMulticlusterAuthorizationPolicyReconcilerMockRecorder) ReconcileAuthorizationPolicy ¶
func (mr *MockMulticlusterAuthorizationPolicyReconcilerMockRecorder) ReconcileAuthorizationPolicy(clusterName, obj interface{}) *gomock.Call
ReconcileAuthorizationPolicy indicates an expected call of ReconcileAuthorizationPolicy