Documentation ¶
Overview ¶
Package resolvers is a generated GoMock package.
Index ¶
- type MockAuthorizationRuleResolver
- func (m *MockAuthorizationRuleResolver) EXPECT() *MockAuthorizationRuleResolverMockRecorder
- func (m *MockAuthorizationRuleResolver) GetRoleReferenceRules(arg0 v1.RoleRef, arg1 string) ([]v1.PolicyRule, error)
- func (m *MockAuthorizationRuleResolver) RulesFor(arg0 user.Info, arg1 string) ([]v1.PolicyRule, error)
- func (m *MockAuthorizationRuleResolver) VisitRulesFor(arg0 user.Info, arg1 string, ...)
- type MockAuthorizationRuleResolverMockRecorder
- func (mr *MockAuthorizationRuleResolverMockRecorder) GetRoleReferenceRules(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthorizationRuleResolverMockRecorder) RulesFor(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthorizationRuleResolverMockRecorder) VisitRulesFor(arg0, arg1, arg2 interface{}) *gomock.Call
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
func (m *MockAuthorizationRuleResolver) EXPECT() *MockAuthorizationRuleResolverMockRecorder
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.