rainbond: github.com/goodrain/rainbond/worker/master Index | Files | Directories

package master

import "github.com/goodrain/rainbond/worker/master"

Index

Package Files

master.go

type Controller Uses

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

Controller app runtime master controller

func NewMasterController Uses

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

NewMasterController new master controller

func (*Controller) IsLeader Uses

func (m *Controller) IsLeader() bool

IsLeader is leader

func (*Controller) Scrape Uses

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

Scrape scrape app runtime

func (*Controller) Start Uses

func (m *Controller) Start() error

Start start

func (*Controller) Stop Uses

func (m *Controller) Stop()

Stop stop

Directories

PathSynopsis
podevent
volumes/provider
volumes/provider/lib/controller
volumes/provider/lib/controller/metrics
volumes/provider/lib/util
volumes/statistical

Package master imports 16 packages (graph) and is imported by 3 packages. Updated 2019-10-01. Refresh now. Tools for package owners.