Interface KubeConfigLoader
- All Known Implementing Classes:
AbstractKubeConfigLoader
,DefaultKubeConfigLoader
public interface KubeConfigLoader
The loader for kube config file.
-
Method Summary
Modifier and TypeMethodDescription@Nullable KubeConfig
ReturnsKubeConfig
instance which contains data from the kube config file.
-
Method Details
-
getKubeConfig
ReturnsKubeConfig
instance which contains data from the kube config file. The method is called multiple times during the application context startup so theKubeConfig
instance 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
-