Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(106)

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 Created 11 years, 9 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « state/api/client.go ('k') | state/api/machiner/machine.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « state/api/client.go ('k') | state/api/machiner/machine.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b