scheduler

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2017 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const MinInterval = 10

min interval, unit second

Variables

View Source
var (
	GoPluginSchedulers map[string]*Scheduler //ns|name
)

Functions

func DeleteAll

func DeleteAll()

func DisablePlugin

func DisablePlugin(ns, repo string) error

func EnablePlugin

func EnablePlugin(ns, repo string) error

func PluginStatus

func PluginStatus() map[string]bool

func Start

func Start()

func Update

func Update()

Types

type Scheduler

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

func NewScheduler

func NewScheduler(interval int, collector common.Collector) *Scheduler

Jump to

Keyboard shortcuts

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