k8s

package
v0.0.0-...-8ba4687 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const CACHE_RESYNC_INTERVAL int = 10

Variables

This section is empty.

Functions

func GetNamespace

func GetNamespace(namespace string) string

GetNamespace returns a namespace to use in controller manager set up

func MsgExit

func MsgExit(logger logr.Logger, code int, area string)

func Run

func Run(conf Config, logger logr.Logger, scheme *runtime.Scheme)

Types

type Config

type Config struct {
	MasterURL            string
	Kubeconfig           string
	ControllerCount      int
	Rsyncperiod          int
	Namespace            string
	LogLevel             string
	ProbeAddr            string
	MetricsAddr          string
	EnableLeaderElection bool
	ConfigManager        *generator.GenVarsConfig
}

Jump to

Keyboard shortcuts

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