Documentation
¶
Index ¶
- type Server
- type Store
- func (s *Store) GetNodeSnapshot(nodeID string) (api.NodeSnapshot, error)
- func (s *Store) ListNodeSnapshots() []api.NodeSnapshot
- func (s *Store) SetNodeConnected(nodeID string, connected bool)
- func (s *Store) SetNodeRegistration(reg *api.Registration)
- func (s *Store) SetNodeSourceIP(nodeID, sourceIP string)
- func (s *Store) TouchNode(nodeID string, at int64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
pb.UnimplementedTelemetryServiceServer
// contains filtered or unexported fields
}
func (*Server) StreamTelemetry ¶
func (s *Server) StreamTelemetry(stream pb.TelemetryService_StreamTelemetryServer) error
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) GetNodeSnapshot ¶
func (s *Store) GetNodeSnapshot(nodeID string) (api.NodeSnapshot, error)
func (*Store) ListNodeSnapshots ¶
func (s *Store) ListNodeSnapshots() []api.NodeSnapshot
func (*Store) SetNodeConnected ¶
func (*Store) SetNodeRegistration ¶
func (s *Store) SetNodeRegistration(reg *api.Registration)
func (*Store) SetNodeSourceIP ¶
Click to show internal directories.
Click to hide internal directories.