MCPcopy Create free account
hub / github.com/PasarGuard/node / ConfigureDevice

Method ConfigureDevice

backend/wireguard/manager.go:15–15  ·  view source on GitHub ↗
(name string, cfg wgtypes.Config)

Source from the content-addressed store, hash-verified

13
14type wgClient interface {
15 ConfigureDevice(name string, cfg wgtypes.Config) error
16 Device(name string) (*wgtypes.Device, error)
17 Close() error
18}

Callers 3

defaultConfigureDeviceFunction · 0.65
ApplyPeersMethod · 0.65
ApplyPeersReplaceAllMethod · 0.65

Implementers 1

fakeWGClientbackend/wireguard/manager_test.go

Calls

no outgoing calls

Tested by

no test coverage detected