code: func SetDefaults_Discovery(obj *Discovery) {
  	if len(obj.TLSBootstrapToken) == 0 && obj.BootstrapToken != nil {
  		obj.TLSBootstrapToken = obj.BootstrapToken.Token
  	}
  
  	if obj.Timeout == nil {
  		obj.Timeout = &metav1.Duration{
  			Duration: DefaultDiscoveryTimeout,
  		}
  	}
  
  	if obj.File != nil {
  		SetDefaults_FileDiscovery(obj.File)
  	}
  }
docs: // SetDefaults_Discovery assigns default values for the discovery process