Documentation
¶
Index ¶
- func AliveFact(peer *wgtypes.Key, expires time.Time) *fact.Fact
- func AliveFactFull(peer *wgtypes.Key, expires time.Time, bootID uuid.UUID) *fact.Fact
- func AllowedIPFactFull(aip net.IPNet, peer *wgtypes.Key, expires time.Time) *fact.Fact
- func EndpointFact(ep *net.UDPAddr) *fact.Fact
- func EndpointFactFull(ep *net.UDPAddr, peer *wgtypes.Key, expires time.Time) *fact.Fact
- func EndpointValue(ep *net.UDPAddr) *fact.IPPortValue
- func MemberFactFull(peer *wgtypes.Key, expires time.Time) *fact.Fact
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AliveFact ¶ added in v0.9.0
AliveFact generates an alive fact for the peer, with a zero boot ID
func AliveFactFull ¶ added in v0.9.1
AliveFactFull generates an alive fact for the peer, with the given boot ID
func AllowedIPFactFull ¶
AllowedIPFactFull wraps an IPNet in a Fact, with all fields filled
func EndpointFact ¶
EndpointFact wraps a UDPAddr in a Fact, with just the Attribute and Value filled
func EndpointFactFull ¶
EndpointFactFull wraps a UDPAddr in a Fact, with all fields filled
func EndpointValue ¶
func EndpointValue(ep *net.UDPAddr) *fact.IPPortValue
EndpointValue wraps a UDPAddr in an IPPortValue
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.