runtime

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package runtime handle the defenitions of the different runtimes.

Currently only python2.7 is supproted, but addition of more should affect this package while the rest of the code should not be aware of the differences

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(dir, ip string)

Init the runtime with the location of the runtime scripts

Types

type Type

type Type interface {
	// CmdLine create a comamnd line that can start the runner
	CmdLine(f formation.Function, env map[string]string, id int) ([]string, error)
}

Type represent the type of of the runtime (pythos2.7, etc.)

func Get

func Get(tp string) Type

Get a runtime Type according to name or nil if it does not exist

Jump to

Keyboard shortcuts

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