Documentation
¶
Overview ¶
Package hubble implements providers.NetworkProvider against Cilium Hubble Relay (the observer gRPC API), surfacing dropped flows for an investigation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client queries a Hubble Relay endpoint (e.g. hubble-relay.kube-system:80).
func New ¶
func New(addr string, tlsEnabled bool, opts ...grpc.DialOption) *Client
New builds a client. tlsEnabled selects TLS transport (credentials.NewTLS) when true, or insecure/plaintext when false (the DEFAULT — keeps the maintainer's test cluster connecting without any config change). Extra dial options are appended and take precedence (used by tests for an in-memory connection).
Click to show internal directories.
Click to hide internal directories.