grpc

package
v1.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2019 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Overview

Package grpc provides the Pydio grpc service for querying indexer.

Insertion in the index is not performed directly but via events broadcasted by the broker.

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type EventsSubscriber

type EventsSubscriber struct {
	// contains filtered or unexported fields
}

EventsSubscriber definition

func (*EventsSubscriber) Handle

Handle the events received and send them to the subscriber

type SearchServer

type SearchServer struct {
	Engine dao.SearchEngine

	TreeClient tree.NodeProviderClient
	NsProvider *meta.NamespacesProvider
	// contains filtered or unexported fields
}

func (*SearchServer) CreateNodeChangeSubscriber

func (s *SearchServer) CreateNodeChangeSubscriber() *EventsSubscriber

CreateNodeChangeSubscriber that will treat events for the meta server

func (*SearchServer) NamespacesProvider added in v1.5.0

func (s *SearchServer) NamespacesProvider() *meta.NamespacesProvider

func (*SearchServer) ReindexFolder added in v1.5.0

func (s *SearchServer) ReindexFolder(c context.Context, node *tree.Node, excludes map[string]struct{})

func (*SearchServer) Search

func (*SearchServer) TriggerResync

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL