gateway_agent

package
v0.0.0-...-c2fb372 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FailedConfigFetches       prometheus.Counter
	LastSuccessfulConfigFetch prometheus.Gauge
	RegisteredDevices         prometheus.Gauge
	CurrentVersion            prometheus.Counter
)

Functions

func InitializeMetrics

func InitializeMetrics(name, version string)

func Serve

func Serve(log *logrus.Entry, address string)

func SyncFromStream

func SyncFromStream(ctx context.Context, log *logrus.Entry, name, password string, staticPeers []wireguard.Peer, apiserverClient pb.APIServerClient, netConf wireguard.NetworkConfigurer) error

Types

type ErrGRPCConnection

type ErrGRPCConnection error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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