controller

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostHandler

type HostHandler interface {
	OnHostsAdded(hosts []string)
	OnHostsRemoved(hosts []string)
}

type MDNSController

type MDNSController struct {
	// contains filtered or unexported fields
}

func NewMDNS

func NewMDNS(
	factory informers.SharedInformerFactory,
	handler HostHandler,
	logger *slog.Logger,
) *MDNSController

func (*MDNSController) Run

func (c *MDNSController) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL