Documentation ¶
Index ¶
- func CreateAddress(addr string, meta map[string]string) registry.Generic
- func CreateEndpoint(name string, meta map[string]string) registry.Generic
- func CreateNode() registry.Node
- func DetectType(i registry.Item) pb.ItemType
- func NewChanStatusWatcher(item registry.Item, input chan map[string]interface{}) registry.StatusWatcher
- func NewIntervalStatsWatcher(item registry.Item, interval time.Duration, ...) registry.StatusWatcher
- func NewIntervalStatusWatcher(item registry.Item, interval time.Duration, ...) registry.StatusWatcher
- func ToDao(i *pb.Item, d *pb.Dao) registry.Dao
- func ToEdge(i *pb.Item, e *pb.Edge) registry.Edge
- func ToGeneric(i *pb.Item, e *pb.Generic) registry.Generic
- func ToItem(s *pb.Item) registry.Item
- func ToNode(i *pb.Item, d *pb.Node) registry.Node
- func ToOptions(s *pb.Options) (oo []registry.Option)
- func ToProtoDao(d registry.Dao) *pb.Dao
- func ToProtoEdge(e registry.Edge) *pb.Edge
- func ToProtoGeneric(e registry.Generic) *pb.Generic
- func ToProtoItem(i registry.Item) *pb.Item
- func ToProtoItems(ii []registry.Item) []*pb.Item
- func ToProtoNode(d registry.Node) *pb.Node
- func ToProtoServer(s registry.Server) *pb.Server
- func ToProtoService(s registry.Service) *pb.Service
- func ToServer(i *pb.Item, s *pb.Server) registry.Server
- func ToService(i *pb.Item, s *pb.Service) registry.Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNode ¶
func NewChanStatusWatcher ¶
func NewChanStatusWatcher(item registry.Item, input chan map[string]interface{}) registry.StatusWatcher
func NewIntervalStatsWatcher ¶
func ToProtoItem ¶
ToProtoItem transforms a registry.Item to its protobuf counterpart
func ToProtoItems ¶
ToProtoItems transforms a list of interfaces to protobuf for serialization
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.