func (w *KubeWaiter) WaitForStaticPodSingleHash(nodeName string, component string) (string, error) {

	componentPodHash := ""
	var err error
	err = wait.PollImmediate(kubeadmconstants.APICallRetryInterval, w.timeout, func() (bool, error) {
		componentPodHash, err = getStaticPodSingleHash(w.client, nodeName, component)
		if err != nil {
			return false, nil
		}
		return true, nil
	})

	return componentPodHash, err
}
// WaitForStaticPodSingleHash blocks until it timeouts or gets a hash for a single component and its Static Pod
WaitForStaticPodSingleHash blocks until it timeouts or gets a hash for a single component and its Static Pod
// WaitForStaticPodSingleHash blocks until it timeouts or gets a hash for a single component and its Static Pod
func (w *KubeWaiter) WaitForStaticPodSingleHash(nodeName string, component string) (string, error) {
	componentPodHash := ""
	var err error
	err = wait.PollImmediate(kubeadmconstants.APICallRetryInterval, w.timeout, func() (bool, error) {
		componentPodHash, err = getStaticPodSingleHash(w.client, nodeName, component)
		if err != nil {
			return false, nil
		}
		return true, nil
	})
	return componentPodHash, err
}
func ( w * KubeWaiter ) WaitForStaticPodSingleHash ( nodeName string , component string ) ( string , error ) { componentPodHash := " " var err error err = wait . PollImmediate ( kubeadmconstants . APICallRetryInterval , w . timeout , func ( ) ( bool , error ) { componentPodHash , err = getStaticPodSingleHash ( w . client , nodeName , component ) if err != nil { return false , nil } return true , nil } ) return componentPodHash , err }
WaitForStaticPodSingleHash blocks until it timeouts or gets a hash for a single component and its Static Pod
WaitForStaticPodSingleHash blocks until it timeouts or gets a hash for a single component and its Static Pod