Documentation
¶
Overview ¶
Package python implmenets Python runtime
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRuntime ¶
NewRuntime returns a new Python runtime
Types ¶
type Configuration ¶
type Configuration struct {
runtime.Configuration
// What to run (e.g. "module:function")
Handler string
// Python version
PythonVersion string
// a map of environment variables that need to be injected into the
// process. a nil value indicates to take it from the running process'
// environment map
Env map[string]*string
}
Configuration is python configuration
type EventJSONEncoder ¶
type EventJSONEncoder struct {
// contains filtered or unexported fields
}
EventJSONEncoder encodes nuclio events as JSON
func NewEventJSONEncoder ¶
func NewEventJSONEncoder(logger nuclio.Logger, writer io.Writer) *EventJSONEncoder
NewEventJSONEncoder returns a new JSONEncoder
Click to show internal directories.
Click to hide internal directories.