fakes

package
v0.0.1-cli Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2016 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Marshaler

type Marshaler struct {
	MarshalStub func(input interface{}) ([]byte, error)
	// contains filtered or unexported fields
}

func (*Marshaler) Invocations

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

func (*Marshaler) Marshal

func (fake *Marshaler) Marshal(input interface{}) ([]byte, error)

func (*Marshaler) MarshalArgsForCall

func (fake *Marshaler) MarshalArgsForCall(i int) interface{}

func (*Marshaler) MarshalCallCount

func (fake *Marshaler) MarshalCallCount() int

func (*Marshaler) MarshalReturns

func (fake *Marshaler) MarshalReturns(result1 []byte, result2 error)

type Sleeper

type Sleeper struct {
	SleepStub func(time.Duration)
	// contains filtered or unexported fields
}

func (*Sleeper) Invocations

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

func (*Sleeper) Sleep

func (fake *Sleeper) Sleep(arg1 time.Duration)

func (*Sleeper) SleepArgsForCall

func (fake *Sleeper) SleepArgsForCall(i int) time.Duration

func (*Sleeper) SleepCallCount

func (fake *Sleeper) SleepCallCount() int

type Unmarshaler

type Unmarshaler struct {
	UnmarshalStub func(input []byte, output interface{}) error
	// contains filtered or unexported fields
}

func (*Unmarshaler) Invocations

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

func (*Unmarshaler) Unmarshal

func (fake *Unmarshaler) Unmarshal(input []byte, output interface{}) error

func (*Unmarshaler) UnmarshalArgsForCall

func (fake *Unmarshaler) UnmarshalArgsForCall(i int) ([]byte, interface{})

func (*Unmarshaler) UnmarshalCallCount

func (fake *Unmarshaler) UnmarshalCallCount() int

func (*Unmarshaler) UnmarshalReturns

func (fake *Unmarshaler) UnmarshalReturns(result1 error)

Jump to

Keyboard shortcuts

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