snapshotter

package
v0.0.0-...-afaf855 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2016 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidSnapshot = errors.New("invalid snapshot")

Functions

This section is empty.

Types

type BuildSnapshot

type BuildSnapshot struct {
	Build     turbine.Build   `json:"build"`
	Status    turbine.Status  `json:"status"`
	ProcessID uint32          `json:"process_id"`
	Events    []event.Message `json:"events"`
}

type Snapshotter

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

func NewSnapshotter

func NewSnapshotter(logger lager.Logger, snapshotPath string, scheduler scheduler.Scheduler) *Snapshotter

func (*Snapshotter) Run

func (snapshotter *Snapshotter) Run(signals <-chan os.Signal, ready chan<- struct{}) error

Jump to

Keyboard shortcuts

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