mocks

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package resolvers is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthorizationRuleResolver added in v0.3.10

type MockAuthorizationRuleResolver struct {
	// contains filtered or unexported fields
}

MockAuthorizationRuleResolver is a mock of AuthorizationRuleResolver interface.

func NewMockAuthorizationRuleResolver added in v0.3.10

func NewMockAuthorizationRuleResolver(ctrl *gomock.Controller) *MockAuthorizationRuleResolver

NewMockAuthorizationRuleResolver creates a new mock instance.

func (*MockAuthorizationRuleResolver) EXPECT added in v0.3.10

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAuthorizationRuleResolver) GetRoleReferenceRules added in v0.3.10

func (m *MockAuthorizationRuleResolver) GetRoleReferenceRules(arg0 v1.RoleRef, arg1 string) ([]v1.PolicyRule, error)

GetRoleReferenceRules mocks base method.

func (*MockAuthorizationRuleResolver) RulesFor added in v0.3.10

func (m *MockAuthorizationRuleResolver) RulesFor(arg0 user.Info, arg1 string) ([]v1.PolicyRule, error)

RulesFor mocks base method.

func (*MockAuthorizationRuleResolver) VisitRulesFor added in v0.3.10

func (m *MockAuthorizationRuleResolver) VisitRulesFor(arg0 user.Info, arg1 string, arg2 func(fmt.Stringer, *v1.PolicyRule, error) bool)

VisitRulesFor mocks base method.

type MockAuthorizationRuleResolverMockRecorder added in v0.3.10

type MockAuthorizationRuleResolverMockRecorder struct {
	// contains filtered or unexported fields
}

MockAuthorizationRuleResolverMockRecorder is the mock recorder for MockAuthorizationRuleResolver.

func (*MockAuthorizationRuleResolverMockRecorder) GetRoleReferenceRules added in v0.3.10

func (mr *MockAuthorizationRuleResolverMockRecorder) GetRoleReferenceRules(arg0, arg1 interface{}) *gomock.Call

GetRoleReferenceRules indicates an expected call of GetRoleReferenceRules.

func (*MockAuthorizationRuleResolverMockRecorder) RulesFor added in v0.3.10

func (mr *MockAuthorizationRuleResolverMockRecorder) RulesFor(arg0, arg1 interface{}) *gomock.Call

RulesFor indicates an expected call of RulesFor.

func (*MockAuthorizationRuleResolverMockRecorder) VisitRulesFor added in v0.3.10

func (mr *MockAuthorizationRuleResolverMockRecorder) VisitRulesFor(arg0, arg1, arg2 interface{}) *gomock.Call

VisitRulesFor indicates an expected call of VisitRulesFor.

Jump to

Keyboard shortcuts

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