Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewHandler ¶
func NewHandler() pb.RuntimeServer
Types ¶
type Runtime ¶
type Runtime interface { // Create retrieves a source including the script and its // model if necessary in a specific virtual environment. Create(string, ...Option) (Instance, error) // Delete deletes a service by its id, or do nothing if the // service is not found. Delete(string, ...Option) error // List lists all services List(...Option) ([]Instance, error) // Watch watches events from runtime. e.g. instance creation Watch() (Watcher, error) // Close blocks until all the service and sessions are finished, // then closes the runtime itself. Close() error }
var DefaultRuntime Runtime
Click to show internal directories.
Click to hide internal directories.