k8s

package
v0.0.0-...-95dc4d9 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 12 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 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