netproviders

package
v0.0.0-...-2745715 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

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