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

Public Member Functions

def __init__
 
def Build
 
def Remove
 
- Public Member Functions inherited from google.appengine.tools.docker.containers.BaseImage
def __init__
 
def Build
 
def Remove
 
def id
 
def tag
 
def __enter__
 
def __exit__
 
def __del__
 

Detailed Description

Prebuilt Docker image. Build and Remove functions are noops.

Constructor & Destructor Documentation

def google.appengine.tools.docker.containers.PrebuiltImage.__init__ (   self,
  docker_client,
  image_opts 
)
Initializer for PrebuiltImage.

Args:
  docker_client: an object of docker.Client class to communicate with a
  Docker daemon.
  image_opts: an instance of ImageOptions class that must have
  dockerfile_dir not set and tag set.

Raises:
  ImageError: if image_opts.dockerfile_dir is set or
  image_opts.tag is not set.

Member Function Documentation

def google.appengine.tools.docker.containers.PrebuiltImage.Build (   self)
Searches for pre-built image with specified tag.

Raises:
  ImageError: if image with this tag was not found.
def google.appengine.tools.docker.containers.PrebuiltImage.Remove (   self)
Unassigns image_id only, does not remove the image as we don't own it.

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