• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2015 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5"""This module provides some tools to interact with LXC containers, for example:
6  1. Download base container from given GS location, setup the base container.
7  2. Create a snapshot as test container from base container.
8  3. Mount a directory in drone to the test container.
9  4. Run a command in the container and return the output.
10  5. Cleanup, e.g., destroy the container.
11"""
12
13from base_image import BaseImage
14from constants import *
15from container import Container
16from container import ContainerId
17from container_bucket import ContainerBucket
18from container_factory import ContainerFactory
19from lxc import install_package
20from lxc import install_packages
21from lxc import install_python_package
22from shared_host_dir import SharedHostDir
23from zygote import Zygote
24