• Kubernetes Submit Queue's avatar
    Merge pull request #34474 from liggitt/connection-info-refactor · f39e86c0
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Remove static kubelet client, refactor ConnectionInfoGetter
    
    Follow up to https://github.com/kubernetes/kubernetes/pull/33718
    
    * Collapses the multi-valued return to a `ConnectionInfo` struct
    * Removes the "raw" connection info method and interface, since it was only used in a single non-test location (by the "real" connection info method)
    * Disentangles the node REST object from being a ConnectionInfoProvider itself by extracting an implementation of ConnectionInfoProvider that takes a node (using a provided NodeGetter) and determines ConnectionInfo
    * Plumbs the KubeletClientConfig to the point where we construct the helper object that combines the config and the node lookup. I anticipate adding a preference order for choosing an address type in https://github.com/kubernetes/kubernetes/pull/34259
    f39e86c0
Name
Last commit
Last update
..
clicheck Loading commit data...
gendocs Loading commit data...
genkubedocs Loading commit data...
genman Loading commit data...
genswaggertypedocs Loading commit data...
genutils Loading commit data...
genyaml Loading commit data...
hyperkube Loading commit data...
kube-apiserver Loading commit data...
kube-controller-manager Loading commit data...
kube-discovery Loading commit data...
kube-dns Loading commit data...
kube-proxy Loading commit data...
kubeadm Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
kubernetes-discovery Loading commit data...
libs/go2idl Loading commit data...
linkcheck Loading commit data...
mungedocs Loading commit data...
OWNERS Loading commit data...