MCPcopy
hub / github.com/cilium/cilium / WireguardConfig

Interface WireguardConfig

pkg/wireguard/types/types.go:33–35  ·  view source on GitHub ↗

WireguardConfig exports the Enabled method rather than the whole config. This is useful when the whole agent is not needed. See [WireguardAgent] otherwise.

Source from the content-addressed store, hash-verified

31// WireguardConfig exports the Enabled method rather than the whole config.
32// This is useful when the whole agent is not needed. See [WireguardAgent] otherwise.
33type WireguardConfig interface {
34 Enabled() bool
35}

Callers

nothing calls this directly

Implementers 15

LoggingHookpkg/metrics/logging_hook.go
multiSlogHandlerpkg/logging/multihandler.go
SyslogHookpkg/logging/syslog.go
Agentpkg/wireguard/agent/agent.go
Configpkg/wireguard/agent/cell.go
Configpkg/datapath/gneigh/cells.go
PreFilterpkg/datapath/prefilter/prefilter.go
FakePreFilterpkg/datapath/loader/util_test.go
Configpkg/datapath/linux/ipsec/cell.go
Agentpkg/datapath/linux/ipsec/ipsec_linux.g
managerpkg/datapath/linux/bandwidth/bandwidth
WireguardAgentpkg/datapath/fake/types/wireguard.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…