code: func DefaultDevicesFromReference(client *govmomi.Client, ref types.ManagedObjectReference, guest string) (object.VirtualDeviceList, error) {
  	log.Printf("[DEBUG] Fetching default device list for object reference %q for OS type %q", ref.Value, guest)
  	b, err := EnvironmentBrowserFromReference(client, ref)
  	if err != nil {
  		return nil, err
  	}
  	ctx, cancel := context.WithTimeout(context.Background(), provider.DefaultAPITimeout)
  	defer cancel()
  	return b.DefaultDevices(ctx, "", nil)
  }
docs: // DefaultDevicesFromReference fetches the default virtual device list for a
  // specific compute resource from a supplied managed object reference.