Documentation ¶
Index ¶
- type Actuator
- type Generator
- type TC
- func (_m *TC) ChainAdd(qdisc types.QDisc, chain types.Chain) error
- func (_m *TC) ChainDel(qdisc types.QDisc, chain types.Chain) error
- func (_m *TC) ChainList(qdisc types.QDisc) ([]types.Chain, error)
- func (_m *TC) FilterAdd(qdisc types.QDisc, filter types.Filter) error
- func (_m *TC) FilterDel(qdisc types.QDisc, filterAttr *types.FilterAttrs) error
- func (_m *TC) FilterList(qdisc types.QDisc) ([]types.Filter, error)
- func (_m *TC) QDiscAdd(qdisc types.QDisc) error
- func (_m *TC) QDiscDel(qdisc types.QDisc) error
- func (_m *TC) QDiscList() ([]types.QDisc, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actuator ¶
Actuator is an autogenerated mock type for the Actuator type
func NewActuator ¶
func NewActuator(t mockConstructorTestingTNewActuator) *Actuator
NewActuator creates a new instance of Actuator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Generator ¶
Generator is an autogenerated mock type for the Generator type
func NewTCGenerator ¶
func NewTCGenerator(t mockConstructorTestingTNewTCGenerator) *Generator
NewTCGenerator creates a new instance of Generator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Generator) GenerateFromPolicyRuleSet ¶
func (_m *Generator) GenerateFromPolicyRuleSet(ruleSet policyrules.PolicyRuleSet) (*tc.Objects, error)
GenerateFromPolicyRuleSet provides a mock function with given fields: ruleSet
type TC ¶
TC is an autogenerated mock type for the TC type
func NewTC ¶
func NewTC(t mockConstructorTestingTNewTC) *TC
NewTC creates a new instance of TC. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*TC) FilterList ¶
FilterList provides a mock function with given fields: qdisc