Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type MetricsSender
- type Planner
- type RuleEnforcer
- func (fake *RuleEnforcer) EnforceRulesAndChain(arg1 enforcer.RulesWithChain) error
- func (fake *RuleEnforcer) EnforceRulesAndChainArgsForCall(i int) enforcer.RulesWithChain
- func (fake *RuleEnforcer) EnforceRulesAndChainCallCount() int
- func (fake *RuleEnforcer) EnforceRulesAndChainReturns(result1 error)
- func (fake *RuleEnforcer) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsSender ¶
type MetricsSender struct { SendDurationStub func(string, time.Duration) // contains filtered or unexported fields }
func (*MetricsSender) Invocations ¶
func (fake *MetricsSender) Invocations() map[string][][]interface{}
func (*MetricsSender) SendDuration ¶
func (fake *MetricsSender) SendDuration(arg1 string, arg2 time.Duration)
func (*MetricsSender) SendDurationArgsForCall ¶
func (fake *MetricsSender) SendDurationArgsForCall(i int) (string, time.Duration)
func (*MetricsSender) SendDurationCallCount ¶
func (fake *MetricsSender) SendDurationCallCount() int
type Planner ¶
type Planner struct { GetRulesAndChainStub func() (enforcer.RulesWithChain, error) // contains filtered or unexported fields }
func (*Planner) GetRulesAndChain ¶
func (fake *Planner) GetRulesAndChain() (enforcer.RulesWithChain, error)
func (*Planner) GetRulesAndChainCallCount ¶
func (*Planner) GetRulesAndChainReturns ¶
func (fake *Planner) GetRulesAndChainReturns(result1 enforcer.RulesWithChain, result2 error)
func (*Planner) Invocations ¶
type RuleEnforcer ¶
type RuleEnforcer struct { EnforceRulesAndChainStub func(enforcer.RulesWithChain) error // contains filtered or unexported fields }
func (*RuleEnforcer) EnforceRulesAndChain ¶
func (fake *RuleEnforcer) EnforceRulesAndChain(arg1 enforcer.RulesWithChain) error
func (*RuleEnforcer) EnforceRulesAndChainArgsForCall ¶
func (fake *RuleEnforcer) EnforceRulesAndChainArgsForCall(i int) enforcer.RulesWithChain
func (*RuleEnforcer) EnforceRulesAndChainCallCount ¶
func (fake *RuleEnforcer) EnforceRulesAndChainCallCount() int
func (*RuleEnforcer) EnforceRulesAndChainReturns ¶
func (fake *RuleEnforcer) EnforceRulesAndChainReturns(result1 error)
func (*RuleEnforcer) Invocations ¶
func (fake *RuleEnforcer) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.