Versions in this module Expand all Collapse all v0 v0.2.2 Jan 15, 2025 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 pkg.TapDevice, err error) + func (r *Resource) AttachMyceliumZDB(id string, zdbNS ns.NetNS) (err error) + func (r *Resource) AttachPrivate(id string, vmIp net.IP) (device pkg.TapDevice, err error) + func (r *Resource) Seed() (seed []byte, err error)