containercache

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(bastion platform.Machine, machines []platform.Machine) error

Load all containers cached by the bastion node into the docker and rkt store of the given machines.

func StartBastionOnce

func StartBastionOnce(bastion platform.Machine, names []ImageName) error

StartBastionOnce will populate a bastion machine with the given containers for rkt and docker. Since its best to run this only once per test suite, the bastion machine should be in a separate platform.Cluster then the one used in the test so it can be available for all tests in a given run. This function is guarded with a sync.Once, so only the first within a test suite it will have it run.

Types

type ImageName

type ImageName struct {
	Name   string
	Engine string // docker or rkt
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL