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)
Click to show internal directories.
Click to hide internal directories.