code: func (p *Plugin) Register(pluginName infra.PluginName, probe PluginStateProbe) {
  	p.access.Lock()
  	defer p.access.Unlock()
  
  	stat := &status.PluginStatus{
  		State:      status.OperationalState_INIT,
  		LastChange: time.Now().Unix(),
  	}
  	p.pluginStat[string(pluginName)] = stat
  
  	if probe != nil {
  		p.pluginProbe[string(pluginName)] = probe
  	}
  
  	// write initial status data into ETCD
  	p.publishPluginData(pluginName, stat)
  
  	p.Log.Debugf("Plugin %v: status check probe registered", pluginName)
  }
docs: // Register a plugin for status change reporting.