netproviders

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: Apache-2.0 Imports: 6 Imported by: 51

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