Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKubeConfigFromCache ¶
func GetKubeConfigFromCache(logger *zap.SugaredLogger, coreV1 v1.CoreV1Interface, runtimeID string) (string, error, )
GetKubeConfigFromCache returns the kubeconfig from the cache if it is not expired. If it is expired, it will get the kubeconfig from the secret and set it in the cache.
Types ¶
Click to show internal directories.
Click to hide internal directories.