Documentation ¶
Index ¶
- type Getter
- type Registry
- func (s *Registry) Discover(ctx context.Context, subj string, instanceID string, getData func() []byte) error
- func (s *Registry) LookupComponents(ctx context.Context, workspaceID string) ([]*modulepb.DiscoveryNode, error)
- func (s *Registry) LookupFlows(ctx context.Context, workspaceID string) ([]*modulepb.DiscoveryNode, error)
- func (s *Registry) LookupNodes(ctx context.Context, flowID string) ([]*modulepb.DiscoveryNode, error)
- func (s *Registry) LookupServers(ctx context.Context, workspaceID string) ([]*modulepb.DiscoveryNode, error)
- func (s *Registry) LookupStatNodes(ctx context.Context, flowID string) ([]*modulepb.DiscoveryNode, error)
- func (s *Registry) SetLogger(l zerolog.Logger) *Registry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry(nc *nats.Conn) *Registry
func (*Registry) Discover ¶
func (s *Registry) Discover(ctx context.Context, subj string, instanceID string, getData func() []byte) error
Discover universal method listens for subj messages and responses back to the reply subject
func (*Registry) LookupComponents ¶
func (*Registry) LookupFlows ¶
func (*Registry) LookupNodes ¶
func (*Registry) LookupServers ¶
func (*Registry) LookupStatNodes ¶ added in v0.0.5
Click to show internal directories.
Click to hide internal directories.