hubble

package
v1.17.0-pre.3 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableWithHelm

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

func EnableWithHelm

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

	// 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

func (p *Parameters) RelayPortForwardCommand(ctx context.Context, k8sClient *k8s.Client) error

func (*Parameters) UIPortForwardCommand

func (p *Parameters) UIPortForwardCommand(ctx context.Context, k8sClient *k8s.Client) error

Jump to

Keyboard shortcuts

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