handlers

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2015 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BOOTSTRAPPED_FILE = "bootstrapped"
)
View Source
const (
	CREATED_FILE = "created"
)

Variables

View Source
var RegExMachineDirEnv = regexp.MustCompile("^" + machineDirEnvKey + ".*")

Functions

func ActivateMachine

func ActivateMachine(event *events.Event, apiClient *client.RancherClient) (err error)

func CreateMachine

func CreateMachine(event *events.Event, apiClient *client.RancherClient) (err error)

func GetDockerClient

func GetDockerClient(machineDir string, machineName string) (*docker.Client, error)

Returns a TLS-enabled docker client for the specified machine.

func PingNoOp

func PingNoOp(event *events.Event, apiClient *client.RancherClient) error

func PurgeMachine

func PurgeMachine(event *events.Event, apiClient *client.RancherClient) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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