container

package
v0.0.0-...-1a2a7be Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2017 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Generated by generate_container_impl, dont move!

Index

Constants

This section is empty.

Variables

View Source
var CONTAINER_TEMPLATE = `` /* 980-byte string literal not displayed */

Functions

This section is empty.

Types

type Container

type Container interface {
	Run() error
	RunAsync() (Future, error)
	Close()
}

func NewContainer

func NewContainer(ctx Context) Container

type Context

type Context struct {
	Executor struct {
		Metadata map[string]string
		Data     string
		Path     string
	}
	Container struct {
		Metadata map[string]string
		Data     string
		Code     string
	}
	Request struct {
		Metadata map[string]string
		Data     string
	}
}

func NewContext

func NewContext() Context

type Future

type Future interface {
	Wait() error
}

func NewFuture

func NewFuture(ctx Context) Future

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL