Documentation ¶
Index ¶
- func ConfigReload() error
- func DeleteDevice(username string) error
- func DeleteRegistration(id string) (err error)
- func FirewallRules() (rules map[string]router.FirewallRules, err error)
- func GetBPFVersion() (string, error)
- func GetVersion() (string, error)
- func ListDevice(username string) (d []database.Device, err error)
- func LockDevice(username string) error
- func PinBPF() (err error)
- func Registrations() (out map[string]string, err error)
- func Sessions() (string, error)
- func Shutdown(cleanup bool) (err error)
- func StartControlSocket() error
- func TearDown()
- func UnlockDevice(username string) error
- func UnpinBPF() (err error)
- type RegistrationResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigReload ¶
func ConfigReload() error
func DeleteDevice ¶ added in v1.4.1
func DeleteRegistration ¶ added in v1.4.1
func FirewallRules ¶
func FirewallRules() (rules map[string]router.FirewallRules, err error)
func GetBPFVersion ¶ added in v1.4.1
func GetVersion ¶
func ListDevice ¶ added in v1.4.1
List devices, if the username field is empty (""), then list all devices. Otherwise list the one device corrosponding to the set username
func LockDevice ¶ added in v1.4.1
func Registrations ¶ added in v1.4.1
func StartControlSocket ¶
func StartControlSocket() error
func UnlockDevice ¶ added in v1.4.1
Types ¶
type RegistrationResult ¶ added in v1.4.1
func NewRegistration ¶ added in v1.4.1
func NewRegistration(token, username string) (r RegistrationResult, err error)
Click to show internal directories.
Click to hide internal directories.