core

package
v3.6.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2018 License: LGPL-3.0 Imports: 14 Imported by: 42

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Method EventMethod
	Source object.Object
}

Event source change event

type EventMethod

type EventMethod string

EventMethod event method

const ADDEventMethod EventMethod = "ADD"

ADDEventMethod add method

const DELETEEventMethod EventMethod = "DELETE"

DELETEEventMethod add method

const UPDATEEventMethod EventMethod = "UPDATE"

UPDATEEventMethod add method

type Manager

type Manager interface {
	EventChan() chan<- Event
	Start() error
	Stop() error
	Scrape(ch chan<- prometheus.Metric, namespace, exporter string) error
}

Manager core manager

func NewManager

func NewManager(server *option.ACPLBServer, pluginManager *plugin.Manager, storeManager *store.Manager, cluster *cluster.Manager) Manager

NewManager create core manager

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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