Documentation ¶
Index ¶
- Variables
- func ActivateDriver(event *events.Event, apiClient *client.RancherClient) error
- func ActivateMachine(event *events.Event, apiClient *client.RancherClient) (err error)
- func CreateMachine(event *events.Event, apiClient *client.RancherClient) error
- func DeactivateDriver(event *events.Event, apiClient *client.RancherClient) error
- func ErrorDriver(event *events.Event, apiClient *client.RancherClient) 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
- func RemoveDriver(event *events.Event, apiClient *client.RancherClient) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RegExMachineDirEnv = regexp.MustCompile("^" + machineDirEnvKey + ".*") RegExMachinePluginToken = regexp.MustCompile("^" + "MACHINE_PLUGIN_TOKEN=" + ".*") RegExMachineDriverName = regexp.MustCompile("^" + "MACHINE_PLUGIN_DRIVER_NAME=" + ".*") )
Functions ¶
func ActivateDriver ¶
func ActivateMachine ¶
func ActivateMachine(event *events.Event, apiClient *client.RancherClient) (err error)
func CreateMachine ¶
func CreateMachine(event *events.Event, apiClient *client.RancherClient) error
func DeactivateDriver ¶
func ErrorDriver ¶
func GetDockerClient ¶
GetDockerClient Returns a TLS-enabled docker client for the specified machine.
func PurgeMachine ¶
func PurgeMachine(event *events.Event, apiClient *client.RancherClient) error
func RemoveDriver ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.