app

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

Runner orchestrates multiple port forwarders and manages their lifecycle.

func New

func New(
	configuration config.Configuration,
	configPath string,
	logger zerolog.Logger,
	client kubernetes.Interface,
	restCfg *rest.Config,
	kubeConfigSource string,
	kubeConfigContext string,
) *Runner

New creates a new Runner with all dependencies injected.

func (*Runner) Shutdown

func (r *Runner) Shutdown()

Shutdown gracefully shuts down the runner and all forwarders.

func (*Runner) Start

func (r *Runner) Start() error

Start initializes and starts all configured forwarders.

Jump to

Keyboard shortcuts

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