Side by Side Diff: state/api/common/interfaces.go
Issue 10026044 :
state/api: Split client Machiner into subpackage (Closed)
Patch Set: state/api: Split client Machiner into subpackage
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
[revision details]
cmd/jujud/machine_test.go
state/api/apiclient.go
state/api/client.go
state/api/common/interfaces.go
state/api/machiner/machine.go
state/api/machiner/machiner.go
state/api/machiner/machiner_test.go
state/api/state.go
state/api/watcher.go
state/apiserver/login_test.go
state/apiserver/server_test.go
OLD NEW
(Empty) 1 // Copyright 2012, 2013 Canonical Ltd.
2 // Licensed under the AGPLv3, see LICENCE file for details.
3
4 package common
5
6 // Caller is implemented by the client-facing State object.
7 type Caller interface {
8 // Call makes a call to the API server with the given object type,
9 // id, request and parameters. The response is filled in with the
10 // call's result if the call is successful.
11 Call(objType, id, request string, params, response interface{}) error
12 }
OLD NEW