Versions in this module Expand all Collapse all v0 v0.11.0 Jan 18, 2024 Changes in this version + var ArchToBootFile = map[iana.Arch]string + var ErrUnknownArch = fmt.Errorf("could not determine client architecture from option 93") + func Arch(d *dhcpv4.DHCPv4) iana.Arch + func IsNetbootClient(pkt *dhcpv4.DHCPv4) error + type ClientType string + const HTTPClient + const PXEClient + func (c ClientType) String() string + type Info struct + Arch iana.Arch + ClientType ClientType + IPXEBinary string + IsNetbootClient error + Mac net.HardwareAddr + Pkt *dhcpv4.DHCPv4 + UserClass UserClass + func NewInfo(pkt *dhcpv4.DHCPv4) Info + func (i Info) AddRPIOpt43(opts dhcpv4.Options) []byte + func (i Info) Bootfile(customUC UserClass, ipxeScript, ipxeHTTPBinServer *url.URL, ...) string + func (i Info) ClientTypeFrom() ClientType + func (i Info) IPXEBinaryFrom() string + func (i Info) NextServer(ipxeHTTPBinServer *url.URL, ipxeTFTPBinServer netip.AddrPort) net.IP + func (i Info) UserClassFrom() UserClass + type UserClass string + const IPXE + const Tinkerbell + func (u UserClass) String() string