INNER CODE UNIT · Go

defaultReconcileTimeout

SeldonIO/seldon-core · operator/main.go:54

	defaultReconcileTimeout = 2 * time.Minute
)

func getLogLevel(l string) zap2.AtomicLevel {
	level, err := zap2.ParseAtomicLevel(strings.ToLower(l))
	if err != nil {
		level = zap2.NewAtomicLevelAt(zapcore.DebugLevel)
	}
	return level
}

func getWatchNamespaceConfig(namespace, watchNamespaces string, clusterwide bool) map[string]cache.Config {
	configs := make(map[string]cache.Config)

	if !clusterwide {
		setupLog.Info("Watching namespace", "namespace", namespace)
		configs[namespace] = cache.Config{}
		return configs

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…