nodecontainer

package
v0.0.0-...-1b7c243 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2017 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const QueueTaskName = "run-bs"

Variables

This section is empty.

Functions

func RecreateNamedContainers

func RecreateNamedContainers(p DockerProvisioner, w io.Writer, name string, pool string) error

func RegisterQueueTask

func RegisterQueueTask(p DockerProvisioner) error

RegisterQueueTask registers the internal bs queue task for later execution.

func RemoveNamedContainers

func RemoveNamedContainers(p DockerProvisioner, w io.Writer, name string, pool string) error

Types

type ClusterHook

type ClusterHook struct {
	Provisioner DockerProvisioner
}

func (*ClusterHook) RunClusterHook

func (h *ClusterHook) RunClusterHook(evt cluster.HookEvent, node *cluster.Node) error

type DockerProvisioner

type DockerProvisioner interface {
	GetName() string
	Cluster() *cluster.Cluster
}

Jump to

Keyboard shortcuts

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