netbird

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoute

func AddRoute(identifier string, state *state.CurrentState, token string) error

func Cleanup

func Cleanup(state *state.CurrentState, token string, groupDel, routeDel, setypKeysDel bool) error

func CreateSetupKey

func CreateSetupKey(identifier string, state *state.CurrentState, token string) (*netbird.SetupKey, error)

func DisableVPN

func DisableVPN(uninstall, groupDel, routeDel, setypKeysDel bool) error

func EnableVPN

func EnableVPN(identifier string) error

func GetGroup added in v1.8.0

func GetGroup(token string, id string) (*netbird.Group, error)

func GetGroupPeers added in v1.8.0

func GetGroupPeers(token string) ([]netbird.Peer, error)

func GetPeerByHostname added in v1.8.0

func GetPeerByHostname(token, hostname string) (*netbird.Peer, error)

func GetRandomID added in v1.6.0

func GetRandomID(length int) string

func Preconfigure added in v1.8.0

func Preconfigure(identifier string) (string, error)

func RoutingPeerIP

func RoutingPeerIP(token string) (string, error)

func UnPreconfigure added in v1.8.0

func UnPreconfigure() error

func WaitForRoutingPeer

func WaitForRoutingPeer(token string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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