Versions in this module Expand all Collapse all v1 v1.1.0 Jul 9, 2026 Changes in this version + const HostMyceliumBr + const MyceliumSeedDir + func Delete(name string) error + func SetupMycelium(netNS ns.NetNS, mycelium string, seed []byte) error + type MyceliumInspection struct + Address net.IP + PublicKey string + func InspectMycelium(seed []byte) (inspection MyceliumInspection, err error) + func (m *MyceliumInspection) Gateway() (gw net.IPNet, err error) + func (m *MyceliumInspection) IP() net.IP + func (m *MyceliumInspection) IPFor(seed []byte) (ip net.IPNet, gw net.IPNet, err error) + func (m *MyceliumInspection) Subnet() (subnet net.IPNet, err error) + type Resource struct + func Create(name string, master *netlink.Bridge, ndmzIP *net.IPNet, ndmzGwIP *net.IPNet, ...) (*Resource, error) + func Get(name string) (*Resource, error) + func (r *Resource) AttachMycelium(id string, seed []byte) (device localPkg.TapDevice, err error) + func (r *Resource) AttachMyceliumZDB(id string, zdbNS ns.NetNS) (err error) + func (r *Resource) AttachPrivate(id string, vmIp net.IP) (device localPkg.TapDevice, err error) + func (r *Resource) ConfigureWG(privateKey string) error + func (r *Resource) HasWireguard() (bool, error) + func (r *Resource) Namespace() (string, error) + func (r *Resource) Seed() (seed []byte, err error) + func (r *Resource) SetWireguard(wg *wireguard.Wireguard) error + func (r *Resource) WGName() (string, error)