Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
Option customizes then configuration of the hubble server.
func WithHealthService ¶
func WithHealthService() Option
WithHealthService configures the server to expose the gRPC health service.
func WithObserverService ¶
func WithObserverService(svc observerpb.ObserverServer) Option
WithObserverService configures the server to expose the given observer server service.
func WithPeerService ¶
func WithPeerService(svc peerpb.PeerServer) Option
WithPeerService configures the server to expose the given peer server service.
func WithTCPListener ¶
WithTCPListener configures a TCP listener with the address.
func WithUnixSocketListener ¶
WithUnixSocketListener configures a unix domain socket listener with the given file path. When the process runs in privileged mode, the file group owner is set to socketGroup.
type Options ¶
type Options struct { TCPListener net.Listener UnixSocketListener net.Listener HealthService healthpb.HealthServer ObserverService observerpb.ObserverServer PeerService peerpb.PeerServer }
Options stores all the configuration values for the hubble server.
Click to show internal directories.
Click to hide internal directories.