hubble

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

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).

func (*Client) Drops

Drops returns DROPPED flows touching the selector within the window.

Jump to

Keyboard shortcuts

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