![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __init__ |
def | Build |
def | Remove |
![]() | |
def | __init__ |
def | Build |
def | Remove |
def | id |
def | tag |
def | __enter__ |
def | __exit__ |
def | __del__ |
Prebuilt Docker image. Build and Remove functions are noops.
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.
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.