Versions in this module Expand all Collapse all v0 v0.1.1 Dec 20, 2017 Changes in this version + type Context map[string]interface + func (ctx Context) Logs() []string + func (ctx Context) SetLogs(reader io.Reader) + type Exec struct + Code string + Image string + Language string + Main string + type FaaSDriver interface + Create func(f *Function, exec *Exec) error + Delete func(f *Function) error + GetRunnable func(e *FunctionExecution) Runnable + type FnRun struct + Blocking bool + FinishedTime time.Time + FunctionID string + FunctionName string + Input interface{} + Logs []string + Output interface{} + Secrets []string + WaitChan chan struct{} + func (r *FnRun) Done() + func (r *FnRun) Wait() + type Function struct + Code string + ImageName string + Main string + Schema *Schema + Secrets []string + type FunctionError interface + AsFunctionErrorObject func() interface{} + type FunctionExecution struct + Context Context + Cookie string + ID string + Name string + Schemas *Schemas + Secrets []string + type Middleware func(f Runnable) Runnable + type Runnable func(ctx Context, in interface{}) (interface{}, error) + type Runner interface + Run func(fn *FunctionExecution, in interface{}) (interface{}, error) + type Schema struct + In *spec.Schema + Out *spec.Schema + type Schemas struct + SchemaIn interface{} + SchemaOut interface{} + type SecretInjector interface + GetMiddleware func(secrets []string, cookie string) Middleware + type UserError interface + AsUserErrorObject func() interface{} + type Validator interface + GetMiddleware func(schemas *Schemas) Middleware