mock_metathings_identityd2_policy

package
v0.99.2 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mock_metathings_identityd2_policy is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEnforcer

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

MockEnforcer is a mock of Enforcer interface

func NewMockEnforcer

func NewMockEnforcer(ctrl *gomock.Controller) *MockEnforcer

NewMockEnforcer creates a new mock instance

func (*MockEnforcer) AddGroup

func (m *MockEnforcer) AddGroup(domain, group string) error

AddGroup mocks base method

func (*MockEnforcer) AddObjectToKind

func (m *MockEnforcer) AddObjectToKind(object, kind string) error

AddObjectToKind mocks base method

func (*MockEnforcer) AddSubjectToRole

func (m *MockEnforcer) AddSubjectToRole(subject, role string) error

AddSubjectToRole mocks base method

func (*MockEnforcer) EXPECT

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

func (*MockEnforcer) Enforce

func (m *MockEnforcer) Enforce(domain, group, subject, object, action interface{}) error

Enforce mocks base method

func (*MockEnforcer) RemoveGroup

func (m *MockEnforcer) RemoveGroup(domain, group string) error

RemoveGroup mocks base method

func (*MockEnforcer) RemoveObjectFromKind

func (m *MockEnforcer) RemoveObjectFromKind(object, kind string) error

RemoveObjectFromKind mocks base method

func (*MockEnforcer) RemoveSubjectFromRole

func (m *MockEnforcer) RemoveSubjectFromRole(subject, role string) error

RemoveSubjectFromRole mocks base method

type MockEnforcerMockRecorder

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

MockEnforcerMockRecorder is the mock recorder for MockEnforcer

func (*MockEnforcerMockRecorder) AddGroup

func (mr *MockEnforcerMockRecorder) AddGroup(domain, group interface{}) *gomock.Call

AddGroup indicates an expected call of AddGroup

func (*MockEnforcerMockRecorder) AddObjectToKind

func (mr *MockEnforcerMockRecorder) AddObjectToKind(object, kind interface{}) *gomock.Call

AddObjectToKind indicates an expected call of AddObjectToKind

func (*MockEnforcerMockRecorder) AddSubjectToRole

func (mr *MockEnforcerMockRecorder) AddSubjectToRole(subject, role interface{}) *gomock.Call

AddSubjectToRole indicates an expected call of AddSubjectToRole

func (*MockEnforcerMockRecorder) Enforce

func (mr *MockEnforcerMockRecorder) Enforce(domain, group, subject, object, action interface{}) *gomock.Call

Enforce indicates an expected call of Enforce

func (*MockEnforcerMockRecorder) RemoveGroup

func (mr *MockEnforcerMockRecorder) RemoveGroup(domain, group interface{}) *gomock.Call

RemoveGroup indicates an expected call of RemoveGroup

func (*MockEnforcerMockRecorder) RemoveObjectFromKind

func (mr *MockEnforcerMockRecorder) RemoveObjectFromKind(object, kind interface{}) *gomock.Call

RemoveObjectFromKind indicates an expected call of RemoveObjectFromKind

func (*MockEnforcerMockRecorder) RemoveSubjectFromRole

func (mr *MockEnforcerMockRecorder) RemoveSubjectFromRole(subject, role interface{}) *gomock.Call

RemoveSubjectFromRole indicates an expected call of RemoveSubjectFromRole

Jump to

Keyboard shortcuts

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