code: func (m *Manager) ValidateHost(ctx context.Context, ovfDescriptor string, host mo.Reference, vhp types.OvfValidateHostParams) (*types.OvfValidateHostResult, error) {
  	req := types.ValidateHost{
  		This:          m.Reference(),
  		OvfDescriptor: ovfDescriptor,
  		Host:          host.Reference(),
  		Vhp:           vhp,
  	}
  
  	res, err := methods.ValidateHost(ctx, m.c, &req)
  	if err != nil {
  		return nil, err
  	}
  
  	return &res.Returnval, nil
  }
docs: // ValidateHost wraps methods.ValidateHost