fakes

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dstore

type Dstore struct {
	ReadAllStub func() (map[string]datastore.Container, error)
	// contains filtered or unexported fields
}

func (*Dstore) Invocations

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

func (*Dstore) ReadAll

func (fake *Dstore) ReadAll() (map[string]datastore.Container, error)

func (*Dstore) ReadAllCallCount

func (fake *Dstore) ReadAllCallCount() int

func (*Dstore) ReadAllReturns

func (fake *Dstore) ReadAllReturns(result1 map[string]datastore.Container, result2 error)

func (*Dstore) ReadAllReturnsOnCall added in v1.0.0

func (fake *Dstore) ReadAllReturnsOnCall(i int, result1 map[string]datastore.Container, result2 error)

type LoggingStateGetter

type LoggingStateGetter struct {
	IsEnabledStub func() bool
	// contains filtered or unexported fields
}

func (*LoggingStateGetter) Invocations

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

func (*LoggingStateGetter) IsEnabled

func (fake *LoggingStateGetter) IsEnabled() bool

func (*LoggingStateGetter) IsEnabledCallCount

func (fake *LoggingStateGetter) IsEnabledCallCount() int

func (*LoggingStateGetter) IsEnabledReturns

func (fake *LoggingStateGetter) IsEnabledReturns(result1 bool)

func (*LoggingStateGetter) IsEnabledReturnsOnCall added in v1.0.0

func (fake *LoggingStateGetter) IsEnabledReturnsOnCall(i int, result1 bool)

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 PolicyClient

type PolicyClient struct {
	GetPoliciesByIDStub func(ids ...string) ([]models.Policy, error)
	// contains filtered or unexported fields
}

func (*PolicyClient) GetPoliciesByID

func (fake *PolicyClient) GetPoliciesByID(ids ...string) ([]models.Policy, error)

func (*PolicyClient) GetPoliciesByIDArgsForCall

func (fake *PolicyClient) GetPoliciesByIDArgsForCall(i int) []string

func (*PolicyClient) GetPoliciesByIDCallCount

func (fake *PolicyClient) GetPoliciesByIDCallCount() int

func (*PolicyClient) GetPoliciesByIDReturns

func (fake *PolicyClient) GetPoliciesByIDReturns(result1 []models.Policy, result2 error)

func (*PolicyClient) GetPoliciesByIDReturnsOnCall added in v1.0.0

func (fake *PolicyClient) GetPoliciesByIDReturnsOnCall(i int, result1 []models.Policy, result2 error)

func (*PolicyClient) Invocations

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

Jump to

Keyboard shortcuts

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