hubble

package
v0.16.6 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableWithHelm added in v0.14.0

func DisableWithHelm(ctx context.Context, k8sClient *k8s.Client, params Parameters) error

func EnableWithHelm added in v0.14.0

func EnableWithHelm(ctx context.Context, k8sClient *k8s.Client, params Parameters) error

Types

type Parameters

type Parameters struct {
	Namespace     string
	Relay         bool
	PortForward   int
	UI            bool
	UIPortForward int
	Writer        io.Writer
	Context       string // Only for 'kubectl' pass-through commands

	// UIOpenBrowser will automatically open browser if true
	UIOpenBrowser bool

	// Wait will cause Helm upgrades related to disabling Hubble to wait.
	Wait bool

	HelmReleaseName string
}

func (*Parameters) Log

func (p *Parameters) Log(format string, a ...interface{})

func (*Parameters) RelayPortForwardCommand added in v0.12.0

func (p *Parameters) RelayPortForwardCommand(ctx context.Context, client k8sHubbleImplementation) error

func (*Parameters) UIPortForwardCommand

func (p *Parameters) UIPortForwardCommand() error

Jump to

Keyboard shortcuts

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