net

package
v0.0.0-...-44dad58 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GetLBIPTimeoutSec = 30
	GetLBIPPeriodSec  = 2
)

Variables

This section is empty.

Functions

func GetLBIP

func GetLBIP(name, namespace string, cli client.Client) (string, error)

GetLBIP returns the external ip address assigned to Loadbalancer by cloud provider

func GetNodeIP

func GetNodeIP(cli client.Client) (string, error)

GetNodeIP returns a node IP address

func GetSvcNodePort

func GetSvcNodePort(name, namespace string, cli client.Client) (int32, error)

GetSvcNodePort returns the nodePort of service with given name in given namespace

Types

This section is empty.

Jump to

Keyboard shortcuts

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