kubespan

package
v1.1.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: MPL-2.0 Imports: 8 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