Versions in this module Expand all Collapse all v0 v0.11.0 Jan 18, 2024 Changes in this version + const IPAddrIndex + const MACAddrIndex + func GetIPs(h *v1alpha1.Hardware) []string + func GetMACs(h *v1alpha1.Hardware) []string + func IPAddrs(obj client.Object) []string + func MACAddrs(obj client.Object) []string + type Backend struct + func NewBackend(conf *rest.Config, opts ...cluster.Option) (*Backend, error) + func (b *Backend) GetByIP(ctx context.Context, ip net.IP) (*data.DHCP, *data.Netboot, error) + func (b *Backend) GetByMac(ctx context.Context, mac net.HardwareAddr) (*data.DHCP, *data.Netboot, error) + func (b *Backend) Start(ctx context.Context) error