relay

package
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 25 Imported by: 0

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

GetFlows implements observer.ObserverServer.GetFlows by proxying requests to the hubble instance the proxy is connected to.

func (*Server) Serve

func (s *Server) Serve() error

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

ServerStatus implements observer.ObserverServer.ServerStatus by aggregating the ServerStatus answer of all hubble peers.

func (*Server) Stop

func (s *Server) Stop()

Stop terminates the hubble-relay server.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL