Files
linuxkit/vendor/github.com/docker/infrakit/pkg/rpc/info.go
Rolf Neugebauer 6a29d153f5 infrakit: Move the hyperkit instance plugin into the source directory
- The tools directory ideally should not contain source code
- Removes double vendoring of packagages
- Makes it easer to hook the build into the top-level Makefile

Eventually, the plugin should be moved to the infrakit repo.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-03-25 13:02:45 +01:00

22 lines
715 B
Go

package rpc
const (
// URLAPI is the well-known HTTP GET endpoint that retrieves description of the plugin's interfaces.
URLAPI = "/info/api.json"
// URLFunctions exposes the templates functions that are available via this plugin
URLFunctions = "/info/functions.json"
// URLEventsPrefix is the prefix of the events endpoint
URLEventsPrefix = "/events"
)
// InputExample is the interface implemented by the rpc implementations for
// group, instance, and flavor to set example input using custom/ vendored data types.
type InputExample interface {
// SetExampleProperties updates the parameter with example properties.
// The request param must be a pointer
SetExampleProperties(request interface{})
}