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.docker.containers.ContainerOptions Class Reference
Inheritance diagram for google.appengine.tools.docker.containers.ContainerOptions:

Public Member Functions

def __new__
 

Detailed Description

Options for creating and running Docker Containers.

Member Function Documentation

def google.appengine.tools.docker.containers.ContainerOptions.__new__ (   cls,
  image_opts = None,
  port = None,
  port_bindings = None,
  environment = None,
  volumes = None,
  volumes_from = None,
  name = None 
)
This method is redefined to provide default values for namedtuple.

Args:
  image_opts: ImageOptions, properties of underlying Docker Image.
  port: int, Primary port that the process inside of a container is
  listening on. If this port is not part of the port bindings
  specified, a default binding will be added for this port.
  port_bindings: dict, Port bindings for exposing multiple ports. If the
  only binding needed is the default binding of just one port this
  can be None.
  environment: dict, Environment variables.
  volumes: dict,  Volumes to mount from the host system.
  volumes_from: list, Volumes from the specified container(s).
  name: str, Name of a container. Needed for data containers.

Returns:
  ContainerOptions object.

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