kubespan

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2023 License: MPL-2.0 Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL