manager

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func New

func New(configMap string, config *patroni_bgp.Config) (*Manager, error)

New will create a new managing object

func (*Manager) PrometheusCollector

func (sm *Manager) PrometheusCollector() []prometheus.Collector

PrometheusCollector defines a service watch event counter.

func (*Manager) Start

func (sm *Manager) Start() error

Start will begin the Manager, which will start services and watch the configmap

Jump to

Keyboard shortcuts

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