Documentation
¶
Index ¶
- type A
- type AsyncProducer
- type Blank
- type ConsulLock
- type Example
- type ExpecterTest
- type Fooer
- type FuncArgsCollision
- type HasConflictingNestedImports
- type ImportsSameAsPackage
- type KeyManager
- type MapFunc
- type MapToInterface
- type MyReader
- type Requester
- type Requester2
- type Requester3
- type Requester4
- type RequesterArgSameAsImport
- type RequesterArgSameAsNamedImport
- type RequesterArgSameAsPkg
- type RequesterArray
- type RequesterElided
- type RequesterIface
- type RequesterNS
- type RequesterPtr
- type RequesterReturnElided
- type RequesterSlice
- type RequesterVariadic
- type RequesterVariadicOneArgument
- func (_m *RequesterVariadicOneArgument) Get(values ...string) bool
- func (_m *RequesterVariadicOneArgument) MultiWriteToFile(filename string, w ...io.Writer) string
- func (_m *RequesterVariadicOneArgument) OneInterface(a ...interface{}) bool
- func (_m *RequesterVariadicOneArgument) Sprintf(format string, a ...interface{}) string
- type SendFunc
- type Sibling
- type UsesOtherPkgIface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncProducer ¶
AsyncProducer is an autogenerated mock type for the AsyncProducer type
func (*AsyncProducer) Input ¶
func (_m *AsyncProducer) Input() chan<- bool
Input provides a mock function with given fields:
func (*AsyncProducer) Output ¶
func (_m *AsyncProducer) Output() <-chan bool
Output provides a mock function with given fields:
func (*AsyncProducer) Whatever ¶
func (_m *AsyncProducer) Whatever() chan bool
Whatever provides a mock function with given fields:
type ConsulLock ¶
ConsulLock is an autogenerated mock type for the ConsulLock type
func (*ConsulLock) Lock ¶
func (_m *ConsulLock) Lock(_a0 <-chan struct{}) (<-chan struct{}, error)
Lock provides a mock function with given fields: _a0
func (*ConsulLock) Unlock ¶
func (_m *ConsulLock) Unlock() error
Unlock provides a mock function with given fields:
type Example ¶
Example is an autogenerated mock type for the Example type
type ExpecterTest ¶ added in v2.10.3
ExpecterTest is an autogenerated mock type for the ExpecterTest type
func (*ExpecterTest) ManyArgsReturns ¶ added in v2.10.3
func (_m *ExpecterTest) ManyArgsReturns(str string, i int) ([]string, error)
ManyArgsReturns provides a mock function with given fields: str, i
func (*ExpecterTest) NoArg ¶ added in v2.10.3
func (_m *ExpecterTest) NoArg() string
NoArg provides a mock function with given fields:
func (*ExpecterTest) NoReturn ¶ added in v2.10.3
func (_m *ExpecterTest) NoReturn(str string)
NoReturn provides a mock function with given fields: str
func (*ExpecterTest) Variadic ¶ added in v2.10.3
func (_m *ExpecterTest) Variadic(ints ...int) error
Variadic provides a mock function with given fields: ints
func (*ExpecterTest) VariadicMany ¶ added in v2.10.3
func (_m *ExpecterTest) VariadicMany(i int, a string, intfs ...interface{}) error
VariadicMany provides a mock function with given fields: i, a, intfs
type Fooer ¶
Fooer is an autogenerated mock type for the Fooer type
type FuncArgsCollision ¶ added in v2.7.2
FuncArgsCollision is an autogenerated mock type for the FuncArgsCollision type
func (*FuncArgsCollision) Foo ¶ added in v2.7.2
func (_m *FuncArgsCollision) Foo(ret interface{}) error
Foo provides a mock function with given fields: ret
type HasConflictingNestedImports ¶
HasConflictingNestedImports is an autogenerated mock type for the HasConflictingNestedImports type
func (*HasConflictingNestedImports) Get ¶
func (_m *HasConflictingNestedImports) Get(path string) (http.Response, error)
Get provides a mock function with given fields: path
func (*HasConflictingNestedImports) Z ¶
func (_m *HasConflictingNestedImports) Z() fixtureshttp.MyStruct
Z provides a mock function with given fields:
type ImportsSameAsPackage ¶
ImportsSameAsPackage is an autogenerated mock type for the ImportsSameAsPackage type
func (*ImportsSameAsPackage) A ¶
func (_m *ImportsSameAsPackage) A() test.B
A provides a mock function with given fields:
func (*ImportsSameAsPackage) B ¶
func (_m *ImportsSameAsPackage) B() fixtures.KeyManager
B provides a mock function with given fields:
func (*ImportsSameAsPackage) C ¶
func (_m *ImportsSameAsPackage) C(_a0 fixtures.C)
C provides a mock function with given fields: _a0
type KeyManager ¶
KeyManager is an autogenerated mock type for the KeyManager type
type MapToInterface ¶
MapToInterface is an autogenerated mock type for the MapToInterface type
func (*MapToInterface) Foo ¶
func (_m *MapToInterface) Foo(arg1 ...map[string]interface{})
Foo provides a mock function with given fields: arg1
type Requester2 ¶
Requester2 is an autogenerated mock type for the Requester2 type
func (*Requester2) Get ¶
func (_m *Requester2) Get(path string) error
Get provides a mock function with given fields: path
type Requester3 ¶
Requester3 is an autogenerated mock type for the Requester3 type
func (*Requester3) Get ¶
func (_m *Requester3) Get() error
Get provides a mock function with given fields:
type Requester4 ¶
Requester4 is an autogenerated mock type for the Requester4 type
func (*Requester4) Get ¶
func (_m *Requester4) Get()
Get provides a mock function with given fields:
type RequesterArgSameAsImport ¶
RequesterArgSameAsImport is an autogenerated mock type for the RequesterArgSameAsImport type
func (*RequesterArgSameAsImport) Get ¶
func (_m *RequesterArgSameAsImport) Get(_a0 string) *json.RawMessage
Get provides a mock function with given fields: _a0
type RequesterArgSameAsNamedImport ¶
RequesterArgSameAsNamedImport is an autogenerated mock type for the RequesterArgSameAsNamedImport type
func (*RequesterArgSameAsNamedImport) Get ¶
func (_m *RequesterArgSameAsNamedImport) Get(_a0 string) *json.RawMessage
Get provides a mock function with given fields: _a0
type RequesterArgSameAsPkg ¶
RequesterArgSameAsPkg is an autogenerated mock type for the RequesterArgSameAsPkg type
func (*RequesterArgSameAsPkg) Get ¶
func (_m *RequesterArgSameAsPkg) Get(_a0 string)
Get provides a mock function with given fields: _a0
type RequesterArray ¶
RequesterArray is an autogenerated mock type for the RequesterArray type
type RequesterElided ¶
RequesterElided is an autogenerated mock type for the RequesterElided type
type RequesterIface ¶
RequesterIface is an autogenerated mock type for the RequesterIface type
func (*RequesterIface) Get ¶
func (_m *RequesterIface) Get() io.Reader
Get provides a mock function with given fields:
type RequesterNS ¶
RequesterNS is an autogenerated mock type for the RequesterNS type
type RequesterPtr ¶
RequesterPtr is an autogenerated mock type for the RequesterPtr type
type RequesterReturnElided ¶
RequesterReturnElided is an autogenerated mock type for the RequesterReturnElided type
type RequesterSlice ¶
RequesterSlice is an autogenerated mock type for the RequesterSlice type
type RequesterVariadic ¶
RequesterVariadic is an autogenerated mock type for the RequesterVariadic type
func (*RequesterVariadic) Get ¶
func (_m *RequesterVariadic) Get(values ...string) bool
Get provides a mock function with given fields: values
func (*RequesterVariadic) MultiWriteToFile ¶
func (_m *RequesterVariadic) MultiWriteToFile(filename string, w ...io.Writer) string
MultiWriteToFile provides a mock function with given fields: filename, w
func (*RequesterVariadic) OneInterface ¶
func (_m *RequesterVariadic) OneInterface(a ...interface{}) bool
OneInterface provides a mock function with given fields: a
func (*RequesterVariadic) Sprintf ¶
func (_m *RequesterVariadic) Sprintf(format string, a ...interface{}) string
Sprintf provides a mock function with given fields: format, a
type RequesterVariadicOneArgument ¶ added in v2.6.0
RequesterVariadicOneArgument is an autogenerated mock type for the RequesterVariadic type
func (*RequesterVariadicOneArgument) Get ¶ added in v2.6.0
func (_m *RequesterVariadicOneArgument) Get(values ...string) bool
Get provides a mock function with given fields: values
func (*RequesterVariadicOneArgument) MultiWriteToFile ¶ added in v2.6.0
func (_m *RequesterVariadicOneArgument) MultiWriteToFile(filename string, w ...io.Writer) string
MultiWriteToFile provides a mock function with given fields: filename, w
func (*RequesterVariadicOneArgument) OneInterface ¶ added in v2.6.0
func (_m *RequesterVariadicOneArgument) OneInterface(a ...interface{}) bool
OneInterface provides a mock function with given fields: a
func (*RequesterVariadicOneArgument) Sprintf ¶ added in v2.6.0
func (_m *RequesterVariadicOneArgument) Sprintf(format string, a ...interface{}) string
Sprintf provides a mock function with given fields: format, a
type Sibling ¶
Sibling is an autogenerated mock type for the Sibling type
func (*Sibling) DoSomething ¶
func (_m *Sibling) DoSomething()
DoSomething provides a mock function with given fields:
type UsesOtherPkgIface ¶
UsesOtherPkgIface is an autogenerated mock type for the UsesOtherPkgIface type
func (*UsesOtherPkgIface) DoSomethingElse ¶
func (_m *UsesOtherPkgIface) DoSomethingElse(obj test.Sibling)
DoSomethingElse provides a mock function with given fields: obj
Source Files
¶
- A.go
- AsyncProducer.go
- Blank.go
- ConsulLock.go
- Example.go
- ExpecterTest.go
- Fooer.go
- FuncArgsCollision.go
- HasConflictingNestedImports.go
- ImportsSameAsPackage.go
- KeyManager.go
- MapFunc.go
- MapToInterface.go
- MyReader.go
- Requester.go
- Requester2.go
- Requester3.go
- Requester4.go
- RequesterArgSameAsImport.go
- RequesterArgSameAsNamedImport.go
- RequesterArgSameAsPkg.go
- RequesterArray.go
- RequesterElided.go
- RequesterIface.go
- RequesterNS.go
- RequesterPtr.go
- RequesterReturnElided.go
- RequesterSlice.go
- RequesterVariadic.go
- RequesterVariadicOneArgument.go
- SendFunc.go
- Sibling.go
- UsesOtherPkgIface.go
- requester_unexported.go