Documentation ¶
Overview ¶
Package kubespan implements adapters wrapping resources/kubespan to provide additional functionality.
Index ¶
Constants ¶
View Source
const EndpointConnectionTimeout = 15 * time.Second
EndpointConnectionTimeout is time to wait for initial handshake when the endpoint is just set.
View Source
const PeerDownInterval = (180 + 5 + 90) * time.Second
PeerDownInterval is the time since last handshake when established peer is considered to be down.
WG whitepaper defines a downed peer as being: Handshake Timeout (180s) + Rekey Timeout (5s) + Rekey Attempt Timeout (90s)
This interval is applied when the link is already established.
Variables ¶
This section is empty.
Functions ¶
func IdentitySpec ¶
func IdentitySpec(r *kubespan.IdentitySpec) identity
IdentitySpec adapter provides identity generation.
func PeerStatusSpec ¶
func PeerStatusSpec(r *kubespan.PeerStatusSpec) peerStatus
PeerStatusSpec adapter provides Wiregard integration and state management.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.