App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.tools.devappserver2.vm_runtime_proxy.VMRuntimeProxy Class Reference
Inheritance diagram for google.appengine.tools.devappserver2.vm_runtime_proxy.VMRuntimeProxy:
google.appengine.tools.devappserver2.instance.RuntimeProxy

Public Member Functions

def __init__
 
def handle
 
def start
 
def quit
 
- Public Member Functions inherited from google.appengine.tools.devappserver2.instance.RuntimeProxy
def handle
 
def start
 
def quit
 

Detailed Description

Manages a VM Runtime process running inside of a docker container

Constructor & Destructor Documentation

def google.appengine.tools.devappserver2.vm_runtime_proxy.VMRuntimeProxy.__init__ (   self,
  docker_client,
  runtime_config_getter,
  module_configuration 
)
Initializer for VMRuntimeProxy.

Args:
  docker_client: docker.Client object to communicate with Docker daemon.
  runtime_config_getter: A function that can be called without arguments
  and returns the runtime_config_pb2.Config containing the configuration
  for the runtime.
  module_configuration: An application_configuration.ModuleConfiguration
  instance respresenting the configuration of the module that owns the
  runtime.

Member Function Documentation

def google.appengine.tools.devappserver2.vm_runtime_proxy.VMRuntimeProxy.handle (   self,
  environ,
  start_response,
  url_map,
  match,
  request_id,
  request_type 
)
Serves this request by forwarding it to application instance
via HttpProxy.

Args:
  environ: An environ dict for the request as defined in PEP-333.
  start_response: A function with semantics defined in PEP-333.
  url_map: An appinfo.URLMap instance containing the configuration for the
  handler matching this request.
  match: A re.MatchObject containing the result of the matched URL pattern.
  request_id: A unique string id associated with the request.
  request_type: The type of the request. See instance.*_REQUEST module
  constants.

Yields:
  A sequence of strings containing the body of the HTTP response.
def google.appengine.tools.devappserver2.vm_runtime_proxy.VMRuntimeProxy.quit (   self)
Kills running container and removes it.

The documentation for this class was generated from the following file: