testing

package
v0.0.0-...-f19ae85 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2015 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PatchFacadeCall

func PatchFacadeCall(p Patcher, caller *base.FacadeCaller, f func(request string, params, response interface{}) error)

PatchFacadeCall patches the provided FacadeCaller such that the FacadeCall method calls are diverted to the provided function.

Types

type APICallerFunc

type APICallerFunc func(objType string, version int, id, request string, params, response interface{}) error

APICallerFunc is a function type that implements APICaller.

func (APICallerFunc) APICall

func (f APICallerFunc) APICall(objType string, version int, id, request string, params, response interface{}) error

func (APICallerFunc) BestFacadeVersion

func (APICallerFunc) BestFacadeVersion(facade string) int

func (APICallerFunc) Close

func (APICallerFunc) Close() error

func (APICallerFunc) EnvironTag

func (APICallerFunc) EnvironTag() (names.EnvironTag, error)

type Patcher

type Patcher interface {
	PatchValue(dest, value interface{})
}

Jump to

Keyboard shortcuts

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