Documentation ¶
Overview ¶
Package server implements a gRPC server that streams Tagger entities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a grpc server that streams tagger entities
func (*Server) TaggerFetchEntity ¶
func (s *Server) TaggerFetchEntity(ctx context.Context, in *pb.FetchEntityRequest) (*pb.FetchEntityResponse, error)
TaggerFetchEntity fetches an entity from the Tagger with the desired cardinality tags.
func (*Server) TaggerStreamEntities ¶
func (s *Server) TaggerStreamEntities(in *pb.StreamTagsRequest, out pb.AgentSecure_TaggerStreamEntitiesServer) error
TaggerStreamEntities subscribes to added, removed, or changed entities in the Tagger and streams them to clients as pb.StreamTagsResponse events. Filtering is as of yet not implemented.
Click to show internal directories.
Click to hide internal directories.