mirror of
https://github.com/kubernetes/client-go.git
synced 2026-05-17 13:04:13 +00:00
This change updates the transport.Config .Dial and .TLS.GetCert fields to use a struct wrapper. This indirection via a pointer allows the functions to be compared and thus makes them valid to use as map keys. This change is then leveraged by the existing global exec auth and TLS config caches to return the same authenticator and TLS config even when distinct but identical rest configs were used to create distinct clientsets. Signed-off-by: Monis Khan <mok@microsoft.com> Kubernetes-commit: b69bbf362018ce4f105ff88fe118d4cf18f96706
16 KiB
16 KiB