Documentation ¶
Index ¶
- type Handler
- type HandlerBuilder
- type Info
- type InfoFn
- type Manager
- func (m *Manager) AddDocumentDetails(d *watcherpb.DocumentDetails)
- func (m *Manager) Collect(s *watcherpb.WatcherDetails) (*Manager, error)
- func (m *Manager) Difference(current *watcherpb.Index) *Manager
- func (m *Manager) GetIndex() *watcherpb.Index
- func (m *Manager) MergeIndex(newIndex *Manager) error
- func (m *Manager) SetCount(n int)
- type NewBuilderrFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerBuilder ¶
type Info ¶
type Info struct { Name string Impl string Description string NewBuilder NewBuilderrFn }
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager() *Manager
func (*Manager) AddDocumentDetails ¶
func (m *Manager) AddDocumentDetails(d *watcherpb.DocumentDetails)
func (*Manager) Collect ¶
func (m *Manager) Collect(s *watcherpb.WatcherDetails) (*Manager, error)
Collect will fetch all documents found missing for the given syncronisation process
func (*Manager) MergeIndex ¶
UpdateIndex reconcile and update two index with newly discovered contents
type NewBuilderrFn ¶
type NewBuilderrFn func() HandlerBuilder
Click to show internal directories.
Click to hide internal directories.