netproviders

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: Apache-2.0 Imports: 8 Imported by: 69

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Providers

func Providers(opt Opt) (providers map[pb.NetMode]network.Provider, proxyProvider network.ProxyProvider, resolvedMode string, err error)

Providers returns the network provider set. When opt.Mode is "auto" or "", resolvedMode is set to either "cni" or "host".

Types

type Opt

type Opt struct {
	CNI  cniprovider.Opt
	Mode string
}

Jump to

Keyboard shortcuts

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