netproviders

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 7 Imported by: 52

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, 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