Interface KubeConfigLoader

All Known Implementing Classes:
AbstractKubeConfigLoader, DefaultKubeConfigLoader

public interface KubeConfigLoader
The loader for kube config file.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable KubeConfig
    Returns KubeConfig instance which contains data from the kube config file.
  • Method Details

    • getKubeConfig

      @Nullable @Nullable KubeConfig getKubeConfig()
      Returns KubeConfig instance which contains data from the kube config file. The method is called multiple times during the application context startup so the KubeConfig 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