code: func SetInitDynamicDefaults(cfg *kubeadmapi.InitConfiguration) error {
  	if err := SetBootstrapTokensDynamicDefaults(&cfg.BootstrapTokens); err != nil {
  		return err
  	}
  	if err := SetNodeRegistrationDynamicDefaults(&cfg.NodeRegistration, true); err != nil {
  		return err
  	}
  	if err := SetAPIEndpointDynamicDefaults(&cfg.LocalAPIEndpoint); err != nil {
  		return err
  	}
  	return SetClusterDynamicDefaults(&cfg.ClusterConfiguration, cfg.LocalAPIEndpoint.AdvertiseAddress, cfg.LocalAPIEndpoint.BindPort)
  }
docs: // SetInitDynamicDefaults checks and sets configuration values for the InitConfiguration object