Documentation ¶
Overview ¶
Package mock_internal is a generated GoMock package.
Index ¶
- type MockClusterRBACBinder
- func (m *MockClusterRBACBinder) BindClusterRoles(ctx context.Context, serviceAccount client.ObjectKey, ...) error
- func (m *MockClusterRBACBinder) BindRoles(ctx context.Context, serviceAccount client.ObjectKey, roles []client.ObjectKey) error
- func (m *MockClusterRBACBinder) DeleteClusterRoleBindings(ctx context.Context, serviceAccount client.ObjectKey, ...) error
- func (m *MockClusterRBACBinder) DeleteRoleBindings(ctx context.Context, serviceAccount client.ObjectKey, roles []client.ObjectKey) error
- func (m *MockClusterRBACBinder) EXPECT() *MockClusterRBACBinderMockRecorder
- type MockClusterRBACBinderMockRecorder
- func (mr *MockClusterRBACBinderMockRecorder) BindClusterRoles(ctx, serviceAccount, clusterRoles interface{}) *gomock.Call
- func (mr *MockClusterRBACBinderMockRecorder) BindRoles(ctx, serviceAccount, roles interface{}) *gomock.Call
- func (mr *MockClusterRBACBinderMockRecorder) DeleteClusterRoleBindings(ctx, serviceAccount, clusterRoles interface{}) *gomock.Call
- func (mr *MockClusterRBACBinderMockRecorder) DeleteRoleBindings(ctx, serviceAccount, roles interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClusterRBACBinder ¶
type MockClusterRBACBinder struct {
// contains filtered or unexported fields
}
MockClusterRBACBinder is a mock of ClusterRBACBinder interface
func NewMockClusterRBACBinder ¶
func NewMockClusterRBACBinder(ctrl *gomock.Controller) *MockClusterRBACBinder
NewMockClusterRBACBinder creates a new mock instance
func (*MockClusterRBACBinder) BindClusterRoles ¶
func (m *MockClusterRBACBinder) BindClusterRoles(ctx context.Context, serviceAccount client.ObjectKey, clusterRoles []client.ObjectKey) error
BindClusterRoles mocks base method
func (*MockClusterRBACBinder) BindRoles ¶
func (m *MockClusterRBACBinder) BindRoles(ctx context.Context, serviceAccount client.ObjectKey, roles []client.ObjectKey) error
BindRoles mocks base method
func (*MockClusterRBACBinder) DeleteClusterRoleBindings ¶ added in v0.7.17
func (m *MockClusterRBACBinder) DeleteClusterRoleBindings(ctx context.Context, serviceAccount client.ObjectKey, clusterRoles []client.ObjectKey) error
DeleteClusterRoleBindings mocks base method
func (*MockClusterRBACBinder) DeleteRoleBindings ¶ added in v0.7.17
func (m *MockClusterRBACBinder) DeleteRoleBindings(ctx context.Context, serviceAccount client.ObjectKey, roles []client.ObjectKey) error
DeleteRoleBindings mocks base method
func (*MockClusterRBACBinder) EXPECT ¶
func (m *MockClusterRBACBinder) EXPECT() *MockClusterRBACBinderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockClusterRBACBinderMockRecorder ¶
type MockClusterRBACBinderMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterRBACBinderMockRecorder is the mock recorder for MockClusterRBACBinder
func (*MockClusterRBACBinderMockRecorder) BindClusterRoles ¶
func (mr *MockClusterRBACBinderMockRecorder) BindClusterRoles(ctx, serviceAccount, clusterRoles interface{}) *gomock.Call
BindClusterRoles indicates an expected call of BindClusterRoles
func (*MockClusterRBACBinderMockRecorder) BindRoles ¶
func (mr *MockClusterRBACBinderMockRecorder) BindRoles(ctx, serviceAccount, roles interface{}) *gomock.Call
BindRoles indicates an expected call of BindRoles
func (*MockClusterRBACBinderMockRecorder) DeleteClusterRoleBindings ¶ added in v0.7.17
func (mr *MockClusterRBACBinderMockRecorder) DeleteClusterRoleBindings(ctx, serviceAccount, clusterRoles interface{}) *gomock.Call
DeleteClusterRoleBindings indicates an expected call of DeleteClusterRoleBindings
func (*MockClusterRBACBinderMockRecorder) DeleteRoleBindings ¶ added in v0.7.17
func (mr *MockClusterRBACBinderMockRecorder) DeleteRoleBindings(ctx, serviceAccount, roles interface{}) *gomock.Call
DeleteRoleBindings indicates an expected call of DeleteRoleBindings