netutils

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package netutils provides network-related helpers for platform implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RetryFetch

func RetryFetch(ctx context.Context, f func(ctx context.Context) (string, error)) (string, error)

RetryFetch retries fetching from metadata service.

func Wait

func Wait(ctx context.Context, r state.State) error

Wait for the network to be ready to interact with platform metadata services.

Types

This section is empty.

Jump to

Keyboard shortcuts

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