snapshot

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 15, 2017 License: BSD-3-Clause Imports: 7 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scheduler

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

Scheduler stores info about how to snapshot the cluster

func New

func New(bucketName, cronSchedule string, enabled bool) *Scheduler

New creates an instance of Scheduler

func (*Scheduler) CreateSnapshot

func (s *Scheduler) CreateSnapshot()

CreateSnapshot makes a snapshot of all indexes

func (*Scheduler) CreateSnapshotRepository

func (s *Scheduler) CreateSnapshotRepository()

CreateSnapshotRepository creates a repository to place snapshots

func (*Scheduler) Run

func (s *Scheduler) Run()

Run starts the automated scheduler

Jump to

Keyboard shortcuts

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