utils

package
v0.0.0-...-58e557b Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RetryConf = wait.Backoff{
	Steps:    constants.RetrySteps,
	Duration: 10 * time.Millisecond,
	Factor:   1.0,
	Jitter:   0.1,
}

Functions

func BigIntToIP

func BigIntToIP(ipInt *big.Int) net.IP

func GetIPsFromRange

func GetIPsFromRange(from, to string) []string

func IPRangeCount

func IPRangeCount(from, to string) int

func IPToBigInt

func IPToBigInt(ip net.IP) *big.Int

func IncrementIP

func IncrementIP(ip net.IP, increment *big.Int) net.IP

func ParseIP

func ParseIP(ip string) *net.IP

ParseIP returns an IP from a string

Types

This section is empty.

Jump to

Keyboard shortcuts

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