code: func (e *examplePlugin) GetInfo(ctx context.Context, req *registerapi.InfoRequest) (*registerapi.PluginInfo, error) {
  	return &registerapi.PluginInfo{
  		Type:              e.pluginType,
  		Name:              e.pluginName,
  		Endpoint:          e.endpoint,
  		SupportedVersions: e.versions,
  	}, nil
  }
docs: // GetInfo is the RPC invoked by plugin watcher