master

package
v5.0.4-release+incompa... Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2019 License: LGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller app runtime master controller

func NewMasterController

func NewMasterController(conf option.Config, store store.Storer) (*Controller, error)

NewMasterController new master controller

func (*Controller) IsLeader

func (m *Controller) IsLeader() bool

IsLeader is leader

func (*Controller) Scrape

func (m *Controller) Scrape(ch chan<- prometheus.Metric, scrapeDurationDesc *prometheus.Desc)

Scrape scrape app runtime

func (*Controller) Start

func (m *Controller) Start() error

Start start

func (*Controller) Stop

func (m *Controller) Stop()

Stop stop

Directories

Path Synopsis
volumes

Jump to

Keyboard shortcuts

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