Documentation ¶
Index ¶
- func AddRoute(identifier string, state *state.CurrentState, token string) error
- func Cleanup(state *state.CurrentState, token string, groupDel, routeDel, setypKeysDel bool) error
- func CreateSetupKey(identifier string, state *state.CurrentState, token string) (*netbird.SetupKey, error)
- func DisableVPN(uninstall, groupDel, routeDel, setypKeysDel bool) error
- func EnableVPN(identifier string) error
- func GetGroup(token string, id string) (*netbird.Group, error)
- func GetGroupPeers(token string) ([]netbird.Peer, error)
- func GetPeerByHostname(token, hostname string) (*netbird.Peer, error)
- func GetRandomID(length int) string
- func Preconfigure(identifier string) (string, error)
- func RoutingPeerIP(token string) (string, error)
- func UnPreconfigure() error
- func WaitForRoutingPeer(token string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cleanup ¶
func Cleanup(state *state.CurrentState, token string, groupDel, routeDel, setypKeysDel bool) error
func CreateSetupKey ¶
func DisableVPN ¶
func GetPeerByHostname ¶ added in v1.8.0
func GetRandomID ¶ added in v1.6.0
func Preconfigure ¶ added in v1.8.0
func RoutingPeerIP ¶
func UnPreconfigure ¶ added in v1.8.0
func UnPreconfigure() error
func WaitForRoutingPeer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.