Documentation ¶
Index ¶
- type HostInfo
- type PeeringService
- func (p *PeeringService) GetHostID() (uint8, error)
- func (p *PeeringService) InitPeering(remotes map[orchestrator.Host]HostInfo) error
- func (p *PeeringService) Register(host orchestrator.Host) (publickey string, listenaddr string, err error)
- func (p *PeeringService) Route(network net.IPNet, host orchestrator.Host) error
- func (p *PeeringService) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PeeringService ¶ added in v0.2.0
type PeeringService struct {
// contains filtered or unexported fields
}
PeeringService uses Wireguard to connect to other machines and route traffic to them.
func (*PeeringService) GetHostID ¶ added in v0.2.0
func (p *PeeringService) GetHostID() (uint8, error)
func (*PeeringService) InitPeering ¶ added in v0.2.0
func (p *PeeringService) InitPeering(remotes map[orchestrator.Host]HostInfo) error
func (*PeeringService) Register ¶ added in v0.2.0
func (p *PeeringService) Register(host orchestrator.Host) (publickey string, listenaddr string, err error)
func (*PeeringService) Route ¶ added in v0.2.0
func (p *PeeringService) Route(network net.IPNet, host orchestrator.Host) error
func (*PeeringService) Stop ¶ added in v0.2.0
func (p *PeeringService) Stop() error
Click to show internal directories.
Click to hide internal directories.