kubefwd

package
v0.0.0-...-2f66ebe Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "0.0.0"

Functions

func AddServiceHandler

func AddServiceHandler(opts *services.NamespaceOpts, obj interface{})

func Execute

func Execute(kubeClient *kube.Kube, frpsValues *models.KubeTunnelResourceSpec, channel chan error) *fwdport.HostFileWithLock

Execute - This code was copied from kubefwd and modified a bit to support kubetunnel requirements

func IsChannelClosed

func IsChannelClosed(ch <-chan struct{}) bool

func UpdateServiceHandler

func UpdateServiceHandler(opts *services.NamespaceOpts, oldObj interface{}, newObj interface{})

func WaitUntilKubeTunnelIsUp

func WaitUntilKubeTunnelIsUp(frpsValues *models.KubeTunnelResourceSpec, done <-chan struct{})

Types

type LogOutputSplitter

type LogOutputSplitter struct{}

func (*LogOutputSplitter) Write

func (splitter *LogOutputSplitter) Write(p []byte) (n int, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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