scheduler

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultAPIURL = "http://localhost:4002"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Scheduler

type Scheduler struct {
	// contains filtered or unexported fields
}

func NewScheduler

func NewScheduler(url string) *Scheduler

func (*Scheduler) Containers

func (s *Scheduler) Containers() ([]schema.Container, error)

func (*Scheduler) CreateContainer

func (s *Scheduler) CreateContainer(c schema.Container, cv schema.ConfigVars) error

CreateContaier creates and starts a new container as systemd unit via fleet

func (*Scheduler) DestroyContainer

func (s *Scheduler) DestroyContainer(c schema.Container) error

Directories

Path Synopsis
Godeps
_workspace/src/code.google.com/p/go-uuid/uuid
The uuid package generates and inspects UUIDs.
The uuid package generates and inspects UUIDs.

Jump to

Keyboard shortcuts

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