master

package
v0.0.0-...-a3a5c94 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2021 License: MIT Imports: 25 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, kubeClient kubernetes.Interface, katoClient versioned.Interface, restConfig *rest.Config) (*Controller, error)

NewMasterController new master controller

func (*Controller) GetStore

func (m *Controller) GetStore() store.Storer

GetStore -

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

Jump to

Keyboard shortcuts

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