type registrationServer … var _ … // GetInfo is the RPC invoked by plugin watcher. func (e *registrationServer) GetInfo(ctx context.Context, req *registerapi.InfoRequest) (*registerapi.PluginInfo, error) { … } // NotifyRegistrationStatus is the RPC invoked by plugin watcher. func (e *registrationServer) NotifyRegistrationStatus(ctx context.Context, status *registerapi.RegistrationStatus) (*registerapi.RegistrationStatusResponse, error) { … }