controller-runtime: sigs.k8s.io/controller-runtime/pkg/internal/testing/integration/addr Index | Files

package addr

import "sigs.k8s.io/controller-runtime/pkg/internal/testing/integration/addr"

Index

Package Files

manager.go

func Suggest Uses

func Suggest() (port int, resolvedHost string, err error)

Suggest suggests an address a process can listen on. It returns a tuple consisting of a free port and the hostname resolved to its IP. It makes sure that new port allocated does not conflict with old ports allocated within 1 minute.

Package addr imports 4 packages (graph) and is imported by 4 packages. Updated 2020-01-06. Refresh now. Tools for package owners.