Add Execute helper for controlserver

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2022-10-24 16:40:49 +02:00
commit 2c0488da0b
No known key found for this signature in database
2 changed files with 24 additions and 0 deletions

View file

@ -6,6 +6,7 @@ import (
type ControlServer interface {
Shutdown() error
Execute(command []string) (string, error)
GetHealthEndpoint() string
GetEndpoint() string
WaitForReady() error