Documentation
¶
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 proxy that connects to a running instance of hubble gRPC server via unix domain socket.
func NewServer ¶
func NewServer(options ...relayoption.Option) (*Server, error)
NewServer creates a new hubble-relay Server.
func (*Server) GetFlows ¶
func (s *Server) GetFlows(req *observerpb.GetFlowsRequest, stream observerpb.Observer_GetFlowsServer) error
GetFlows implements observer.ObserverServer.GetFlows by proxying requests to the hubble instance the proxy is connected to.
func (*Server) Serve ¶
Serve starts the hubble-relay server. Serve does not return unless a listening fails with fatal errors. Serve will return a non-nil error if Stop() is not called.
func (*Server) ServerStatus ¶
func (s *Server) ServerStatus(ctx context.Context, req *observerpb.ServerStatusRequest) (*observerpb.ServerStatusResponse, error)
ServerStatus implements observer.ObserverServer.ServerStatus by aggregating the ServerStatus answer of all hubble peers.
Click to show internal directories.
Click to hide internal directories.