Documentation ¶
Index ¶
- Constants
- Variables
- func ActivateMachine(event *events.Event, apiClient *client.RancherClient) (err error)
- func CreateMachine(event *events.Event, apiClient *client.RancherClient) (err error)
- func GetDockerClient(machineDir string, machineName string) (*docker.Client, error)
- func PingNoOp(event *events.Event, apiClient *client.RancherClient) error
- func PurgeMachine(event *events.Event, apiClient *client.RancherClient) error
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 ¶
Returns a TLS-enabled docker client for the specified machine.
func PurgeMachine ¶
func PurgeMachine(event *events.Event, apiClient *client.RancherClient) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.