Interface KubeConfigLoader
- All Known Implementing Classes:
AbstractKubeConfigLoader,DefaultKubeConfigLoader
public interface KubeConfigLoader
The loader for kube config file.
-
Method Summary
Modifier and TypeMethodDescription@Nullable KubeConfigReturnsKubeConfiginstance which contains data from the kube config file.
-
Method Details
-
getKubeConfig
ReturnsKubeConfiginstance which contains data from the kube config file. The method is called multiple times during the application context startup so theKubeConfiginstance should be created when the method is called for the first time, cached and then returned by subsequent calls. Since it is called only in the context startup, it doesn't require thread synchronization.- Returns:
- kube config
-