INNER CODE UNIT · Go

getCacheNamespacesFromFlag

openkruise/kruise-game · main.go:337

func getCacheNamespacesFromFlag(ns string) map[string]cache.Config {
	if ns == "" {
		return nil
	}
	return map[string]cache.Config{
		ns: {},
	}
}

type serviceSummary struct {
	MetricsAddr     string
	HealthAddr      string
	Namespace       string
	SyncPeriodRaw   string
	LeaderElection  bool
	LogFormat       string
	LogJSONPreset   logging.JSONPreset
	ScaleServerAddr string

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…