fakes

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2017 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

This file was generated by counterfeiter

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)

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)

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) 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