Documentation ¶
Index ¶
- type GetPolicyManager
- type MockPolicyManager
- func (m *MockPolicyManager) Delete(ctx context.Context, name string) error
- func (m *MockPolicyManager) EXPECT() *MockPolicyManagerMockRecorder
- func (m *MockPolicyManager) Get(ctx context.Context, name string) ([]Policy, error)
- func (m *MockPolicyManager) Put(ctx context.Context, name string, policy Policy) error
- type MockPolicyManagerMockRecorder
- type PathConfig
- type Policy
- type PolicyManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetPolicyManager ¶
type GetPolicyManager func(props map[string][]byte) (PolicyManager, error)
type MockPolicyManager ¶
type MockPolicyManager struct {
// contains filtered or unexported fields
}
MockPolicyManager is a mock of PolicyManager interface.
func NewMockPolicyManager ¶
func NewMockPolicyManager(ctrl *gomock.Controller) *MockPolicyManager
NewMockPolicyManager creates a new mock instance.
func (*MockPolicyManager) Delete ¶
func (m *MockPolicyManager) Delete(ctx context.Context, name string) error
Delete mocks base method.
func (*MockPolicyManager) EXPECT ¶
func (m *MockPolicyManager) EXPECT() *MockPolicyManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPolicyManagerMockRecorder ¶
type MockPolicyManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockPolicyManagerMockRecorder is the mock recorder for MockPolicyManager.
func (*MockPolicyManagerMockRecorder) Delete ¶
func (mr *MockPolicyManagerMockRecorder) Delete(ctx, name interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockPolicyManagerMockRecorder) Get ¶
func (mr *MockPolicyManagerMockRecorder) Get(ctx, name interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockPolicyManagerMockRecorder) Put ¶
func (mr *MockPolicyManagerMockRecorder) Put(ctx, name, policy interface{}) *gomock.Call
Put indicates an expected call of Put.
type PathConfig ¶
type Policy ¶
type Policy struct {
PathConfig PathConfig
}
Click to show internal directories.
Click to hide internal directories.