fake

package
v0.0.0-...-dca030a Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EtcdClient

type EtcdClient struct {
	SetStub func(key string, value string, ttl uint64) (*etcd.Response, error)

	GetStub func(key string, sort, recursive bool) (*etcd.Response, error)
	// contains filtered or unexported fields
}

func (*EtcdClient) Get

func (fake *EtcdClient) Get(key string, sort bool, recursive bool) (*etcd.Response, error)

func (*EtcdClient) GetArgsForCall

func (fake *EtcdClient) GetArgsForCall(i int) (string, bool, bool)

func (*EtcdClient) GetCallCount

func (fake *EtcdClient) GetCallCount() int

func (*EtcdClient) GetReturns

func (fake *EtcdClient) GetReturns(result1 *etcd.Response, result2 error)

func (*EtcdClient) Set

func (fake *EtcdClient) Set(key string, value string, ttl uint64) (*etcd.Response, error)

func (*EtcdClient) SetArgsForCall

func (fake *EtcdClient) SetArgsForCall(i int) (string, string, uint64)

func (*EtcdClient) SetCallCount

func (fake *EtcdClient) SetCallCount() int

func (*EtcdClient) SetReturns

func (fake *EtcdClient) SetReturns(result1 *etcd.Response, result2 error)

Jump to

Keyboard shortcuts

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