fakes

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

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 (fake *Planner) GetRulesAndChainCallCount() int

func (*Planner) GetRulesAndChainReturns

func (fake *Planner) GetRulesAndChainReturns(result1 enforcer.RulesWithChain, result2 error)

func (*Planner) Invocations

func (fake *Planner) Invocations() map[string][][]interface{}

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{}

Jump to

Keyboard shortcuts

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