util

package
v0.0.0-...-d99090c Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: Apache-2.0, Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureNetwork

func ConfigureNetwork(netClient *network.Client, routingPolicy network.RoutingPolicyType, ctx context.Context)

Configures the instance's network network, using the passed netClient and routingPolicy This can affect behavior in certain tests (e.g. denying all routing will effectively block the instance from the network)

func SameAddrs

func SameAddrs(a, b []net.Addr) bool

Returns true if the two given addresses are the same

Types

This section is empty.

Jump to

Keyboard shortcuts

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