metricfakes

package
v0.0.0-...-484f906 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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 FakeConn

type FakeConn struct {
	PrepareStub func(query string) (driver.Stmt, error)

	CloseStub func() error

	BeginStub func() (driver.Tx, error)
	// contains filtered or unexported fields
}

func (*FakeConn) Begin

func (fake *FakeConn) Begin() (driver.Tx, error)

func (*FakeConn) BeginCallCount

func (fake *FakeConn) BeginCallCount() int

func (*FakeConn) BeginReturns

func (fake *FakeConn) BeginReturns(result1 driver.Tx, result2 error)

func (*FakeConn) Close

func (fake *FakeConn) Close() error

func (*FakeConn) CloseCallCount

func (fake *FakeConn) CloseCallCount() int

func (*FakeConn) CloseReturns

func (fake *FakeConn) CloseReturns(result1 error)

func (*FakeConn) Invocations

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

func (*FakeConn) Prepare

func (fake *FakeConn) Prepare(query string) (driver.Stmt, error)

func (*FakeConn) PrepareArgsForCall

func (fake *FakeConn) PrepareArgsForCall(i int) string

func (*FakeConn) PrepareCallCount

func (fake *FakeConn) PrepareCallCount() int

func (*FakeConn) PrepareReturns

func (fake *FakeConn) PrepareReturns(result1 driver.Stmt, result2 error)

type FakeDriver

type FakeDriver struct {
	OpenStub func(name string) (driver.Conn, error)
	// contains filtered or unexported fields
}

func (*FakeDriver) Invocations

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

func (*FakeDriver) Open

func (fake *FakeDriver) Open(name string) (driver.Conn, error)

func (*FakeDriver) OpenArgsForCall

func (fake *FakeDriver) OpenArgsForCall(i int) string

func (*FakeDriver) OpenCallCount

func (fake *FakeDriver) OpenCallCount() int

func (*FakeDriver) OpenReturns

func (fake *FakeDriver) OpenReturns(result1 driver.Conn, result2 error)

Jump to

Keyboard shortcuts

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