master

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: LGPL-3.0 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, wutongClient 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