INNER CODE UNIT · Go

setRestConfig

kaito-project/kaito · cmd/workspace/main.go:449

func setRestConfig(c *rest.Config, kubeClientQPS, kubeClientBurst int) {
	if kubeClientQPS > 0 {
		c.QPS = float32(kubeClientQPS)
	}
	if kubeClientBurst > 0 {
		c.Burst = kubeClientBurst
	}
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…