compute

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2016 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoInstanceActivate

func DoInstanceActivate(instance model.Instance, host model.Host, progress *progress.Progress, dockerClient *client.Client, infoData model.InfoData) error

func DoInstanceDeactivate

func DoInstanceDeactivate(instance model.Instance, client *client.Client, timeout int) error

func DoInstanceForceStop

func DoInstanceForceStop(request model.InstanceForceStop, dockerClient *client.Client) error

func DoInstanceInspect

func DoInstanceInspect(inspect model.InstanceInspect, dockerClient *client.Client) (types.ContainerJSON, error)

func DoInstancePull

func DoInstancePull(params model.ImageParams, progress *progress.Progress, dockerClient *client.Client) (types.ImageInspect, error)

func DoInstanceRemove

func DoInstanceRemove(instance model.Instance, dockerClient *client.Client) error

func IsInstanceActive

func IsInstanceActive(instance model.Instance, host model.Host, client *client.Client) (bool, error)

func IsInstanceInactive

func IsInstanceInactive(instance model.Instance, client *client.Client) (bool, error)

func IsInstanceRemoved

func IsInstanceRemoved(instance model.Instance, dockerClient *client.Client) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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