fake

package
v0.0.0-...-33635b2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2017 License: Apache-2.0 Imports: 3 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 Checker

type Checker struct {
	CheckStub func() error
	// contains filtered or unexported fields
}

func (*Checker) Check

func (fake *Checker) Check() error

func (*Checker) CheckCallCount

func (fake *Checker) CheckCallCount() int

func (*Checker) CheckReturns

func (fake *Checker) CheckReturns(result1 error)

type InstancesProvider

type InstancesProvider struct {
	InstancesStub func() ([]redis.Instance, error)
	// contains filtered or unexported fields
}

func (*InstancesProvider) Instances

func (fake *InstancesProvider) Instances() ([]redis.Instance, error)

func (*InstancesProvider) InstancesCallCount

func (fake *InstancesProvider) InstancesCallCount() int

func (*InstancesProvider) InstancesReturns

func (fake *InstancesProvider) InstancesReturns(result1 []redis.Instance, result2 error)

type Keycounter

type Keycounter struct {
	KeycountStub func(host string) (int, error)
	// contains filtered or unexported fields
}

func (*Keycounter) Keycount

func (fake *Keycounter) Keycount(host string) (int, error)

func (*Keycounter) KeycountArgsForCall

func (fake *Keycounter) KeycountArgsForCall(i int) string

func (*Keycounter) KeycountCallCount

func (fake *Keycounter) KeycountCallCount() int

func (*Keycounter) KeycountReturns

func (fake *Keycounter) KeycountReturns(result1 int, result2 error)

type Reporter

type Reporter struct {
	ReportStub func(redis.Instance, error)
	// contains filtered or unexported fields
}

func (*Reporter) Report

func (fake *Reporter) Report(arg1 redis.Instance, arg2 error)

func (*Reporter) ReportArgsForCall

func (fake *Reporter) ReportArgsForCall(i int) (redis.Instance, error)

func (*Reporter) ReportCallCount

func (fake *Reporter) ReportCallCount() int

Jump to

Keyboard shortcuts

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