portforward

package
v0.0.391 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PortForward

type PortForward struct {
	LocalAddr string
	Env       *schema.Environment
	Debug     io.Writer
	Warnings  io.Writer

	ForwardPort    func(runtime.Deployable, int32, []string, runtime.SinglePortForwardedFunc) (io.Closer, error)
	ForwardIngress func([]string, int, runtime.PortForwardedFunc) (io.Closer, error)

	OnAdd    func(*schema.Endpoint, uint)
	OnDelete func([]*schema.Endpoint)
	OnUpdate func(*storage.NetworkPlan)
	// contains filtered or unexported fields
}

func (*PortForward) Cleanup

func (pi *PortForward) Cleanup() error

func (*PortForward) Update

func (pi *PortForward) Update(stack *schema.Stack, focus []schema.PackageName, fragments []*schema.IngressFragment)

Jump to

Keyboard shortcuts

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