proxy

package
v0.13.5 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const NamespaceNone string = "-"

Variables

This section is empty.

Functions

func DeletePort

func DeletePort(namespace, svcName, portName string)

func FwdSvc

func FwdSvc(namespace, svcName string)

func RunningPort

func RunningPort(namespace, svcName, portName string) bool

func SetPort

func SetPort(proxyServiceType ServiceType, namespace, svcName, svcIP, vIP, portName string, proto layers.IPProtocol, port int32, af ipnet.AddressFamily)

Types

type ServiceType

type ServiceType int
const (
	ServiceTypeNone ServiceType = iota
	ServiceTypeKubernetes
	ServiceTypeProxy64
)

Jump to

Keyboard shortcuts

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