Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetadataEvent ¶
type Repository ¶
type Repository interface { Watcher() SendMetadataEvent(MetadataEvent) StoreGroup(groupMeta *commonv1.Metadata) (*group, error) LoadGroup(name string) (Group, bool) LoadResource(metadata *commonv1.Metadata) (Resource, bool) NotifyAll() (err error) Close() }
func NewRepository ¶
func NewRepository( metadata metadata.Repo, repo discovery.ServiceRepo, l *logger.Logger, resourceSupplier ResourceSupplier, shardTopic bus.Topic, entityTopic bus.Topic, ) Repository
type Resource ¶
type Resource interface { GetIndexRules() []*databasev1.IndexRule MaxObservedModRevision() int64 EntityLocator() partition.EntityLocator ResourceSchema io.Closer }
type ResourceSchema ¶
type ResourceSpec ¶
type ResourceSpec struct { Schema ResourceSchema IndexRules []*databasev1.IndexRule }
Click to show internal directories.
Click to hide internal directories.