code: func (p *Plugin) publishPluginData(pluginName infra.PluginName, pluginStat *status.PluginStatus) error {
  	pluginStat.LastUpdate = time.Now().Unix()
  	if p.Transport != nil {
  		return p.Transport.Put(status.PluginStatusKey(string(pluginName)), pluginStat)
  	}
  	return nil
  }
docs: // publishPluginData writes the current plugin state into ETCD.