package
0.45.0
Repository: https://github.com/siderolabs/omni.git
Documentation: pkg.go.dev

# Packages

Package trustd provides "extra" virtual trustd for Talos workers.

# Functions

IsBufferNotFoundError returns true if the error is of type BufferNotFoundError.
NewLogHandler returns a new LogHandler.
NewMachineCache returns a new MachineCache.
NewMachineMap returns a new MachineMap.
NewManager creates new Manager.
NewStateStorage returns a new StateStorage.

# Constants

JoinTokenLen number of random bytes to be encoded in the join token.

# Variables

DefaultWireguardHandler is a default wireguard handler to be used with the siderolink manager.
ListenHost is the host SideroLink should listen.

# Structs

BufferNotFoundError is returned when the machine buffer is not found.
LineReader is a reader which reads lines surrounded by \n from the underlying reader.
LinkCounterDelta represents a delta of link counters, namely bytes sent and received.
LogHandler stores a map of machines to their circular log buffers.
MachineCache stores a map of machines to their circular log buffers.
MachineMap is a map of IP to machineID.
Manager sets up Siderolink server, manages it's state.
MapStorage is a concrete implementation of MachineStorage that uses the map.
Params are the parameters for the Manager.
PhysicalWireguardHandler implements WireguardHandler interface.
StateStorage is a concrete implementation of MachineStorage that uses the state.

# Interfaces

MachineStorage returns machineID for the given IP.
WireguardHandler abstraction around peer handler and wgDevice.

# Type aliases

LinkCounterDeltas represents a map of link counters deltas.
MachineID is a machine ID type.