manager

package
v0.0.0-...-5af6bcd Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewManagerWraper

func NewManagerWraper(cfg Config, logger log.Logger) *managerWraper

Types

type Config

type Config struct {
	Port                  int    `yaml:"port"`
	MetricsAddress        string `yaml:"metric_address"`
	ProbeAddress          string `yaml:"probe_address"`
	EnabledLeaderElection bool   `yaml:"enable_leader_election"`
}

func (*Config) RegisterFlags

func (c *Config) RegisterFlags(f *flag.FlagSet)

type CtrlManagerWraper

type CtrlManagerWraper interface {
	Manager() ctrl.Manager
}

Jump to

Keyboard shortcuts

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