mock_internal

package
v0.39.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_internal is a generated GoMock package.

Index

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL