netutils

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: MPL-2.0 Imports: 11 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.

func WaitForDevicesReady

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

WaitForDevicesReady waits for devices to be ready.

func WaitInterfaces

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

WaitInterfaces for the interfaces to be up 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