fwdnet

package
v1.17.3 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2020 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadyInterface

func ReadyInterface(svcName string, podName string, clusterN int, namespaceN int, port string) (net.IP, error)

ReadyInterface prepares a local IP address on the loopback interface.

func RemoveInterfaceAlias added in v1.13.1

func RemoveInterfaceAlias(ip net.IP)

RemoveInterfaceAlias can remove the Interface alias after port forwarding. if -alias command get err, just print the error and continue.

Types

This section is empty.

Jump to

Keyboard shortcuts

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