Versions in this module Expand all Collapse all v0 v0.17.0 Apr 30, 2024 v0.16.0 Nov 9, 2023 Changes in this version + func MakeConfigDrive(userdata *conf.Conf, outputDir string) (string, error) + type Dnsmasq struct + Segments []*Segment + func NewDnsmasq() (*Dnsmasq, error) + func (dm *Dnsmasq) Destroy() + func (dm *Dnsmasq) GetInterface(bridge string) (in *Interface) + type Interface struct + DHCPv4 []net.IPNet + DHCPv6 []net.IPNet + HardwareAddr net.HardwareAddr + type LocalCluster struct + func (lc *LocalCluster) Destroy() + func (lc *LocalCluster) GetNsHandle() netns.NsHandle + func (lc *LocalCluster) NewCommand(name string, arg ...string) exec.Cmd + func (lc *LocalCluster) NewTap(bridge string) (tap *TunTap, err error) + type LocalFlight struct + Dnsmasq *Dnsmasq + NTPServer *ntp.Server + func NewLocalFlight(opts *platform.Options, platformName platform.Name) (*LocalFlight, error) + func (lf *LocalFlight) Destroy() + func (lf *LocalFlight) NewCluster(rconf *platform.RuntimeConfig) (*LocalCluster, error) + type Segment struct + BridgeIf *Interface + BridgeName string + Interfaces []*Interface + type TunTap struct + func AddLinkTap(name string) (*TunTap, error) + func AddLinkTun(name string) (*TunTap, error) + func (tt *TunTap) Attrs() *netlink.LinkAttrs + func (tt *TunTap) Type() string