mocks

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdapterMock

type AdapterMock struct {
	mock.Mock
}

AdapterMock is an autogenerated mock type for the AdapterMock type

func (*AdapterMock) AddPolicy

func (_m *AdapterMock) AddPolicy(sec string, ptype string, rule []string) error

AddPolicy provides a mock function with given fields: sec, ptype, rule

func (*AdapterMock) LoadPolicy

func (_m *AdapterMock) LoadPolicy(_a0 model.Model) error

LoadPolicy provides a mock function with given fields: _a0

func (*AdapterMock) RemoveFilteredPolicy

func (_m *AdapterMock) RemoveFilteredPolicy(sec string, ptype string, fieldIndex int, fieldValues ...string) error

RemoveFilteredPolicy provides a mock function with given fields: sec, ptype, fieldIndex, fieldValues

func (*AdapterMock) RemovePolicy

func (_m *AdapterMock) RemovePolicy(sec string, ptype string, rule []string) error

RemovePolicy provides a mock function with given fields: sec, ptype, rule

func (*AdapterMock) SavePolicy

func (_m *AdapterMock) SavePolicy(_a0 model.Model) error

SavePolicy provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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