plugins

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: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PLUGIN_RESULT = "plugin.result"
)

Variables

This section is empty.

Functions

func Update

func Update(namespace, gitPath string, pull bool) error

Types

type Collector

type Collector struct {
	Name        string `json:"name"`
	Cycle       int
	Namespace   string   `json:"namespace"`
	Repo        string   `json:"git"`
	ProjectName string   `json:projectname`
	Param       []string `json:"param"`
	Parameters  string   `json:"parameters"`
	StrCycle    string   `json:"interval"`
}

func (Collector) Description

func (self Collector) Description() string

func (Collector) Execute

func (self Collector) Execute(timeout int) error

func (Collector) Run

func (self Collector) Run()

func (Collector) SubmitException

func (self Collector) SubmitException()

Jump to

Keyboard shortcuts

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