Documentation
¶
Index ¶
- type Store
- func (s *Store) AllocatePeerIP(prefix netip.Prefix) (string, error)
- func (s *Store) CreatePeer(peer *types.Peer) error
- func (s *Store) DeletePeer(peer *types.Peer) error
- func (s *Store) GetAllocatedIPs() ([]netip.Addr, error)
- func (s *Store) GetPeerByMachineID(machineID string) *types.Peer
- func (s *Store) GetPeerbyID(id uint32) *types.Peer
- func (s *Store) GetPeers() ([]types.Peer, error)
- func (s *Store) UpdatePeer(peer *types.Peer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.