services

package
v0.0.1-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TemplateService

type TemplateService interface {
	RenderLaunchManifest(*v1.VM) (*kubev1.Pod, error)
}

func NewTemplateService

func NewTemplateService(logger log.Logger, launcherImage string) (TemplateService, error)

type VMService

type VMService interface {
	StartVM(*corev1.VM) error
	DeleteVM(*corev1.VM) error
	PrepareMigration(*corev1.VM) error
	GetRunningPods(*corev1.VM) (*v1.PodList, error)
}

func NewVMService

func NewVMService(logger log.Logger) VMService

Jump to

Keyboard shortcuts

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