bunch of qol (#2748)
This commit is contained in:
parent
1a7a2f4196
commit
8e25f7f9dd
11 changed files with 307 additions and 95 deletions
|
|
@ -5,7 +5,9 @@ import (
|
|||
|
||||
v1 "github.com/juanfont/headscale/gen/go/headscale/v1"
|
||||
policyv2 "github.com/juanfont/headscale/hscontrol/policy/v2"
|
||||
"github.com/juanfont/headscale/hscontrol/types"
|
||||
"github.com/ory/dockertest/v3"
|
||||
"tailscale.com/tailcfg"
|
||||
)
|
||||
|
||||
type ControlServer interface {
|
||||
|
|
@ -29,4 +31,5 @@ type ControlServer interface {
|
|||
GetCert() []byte
|
||||
GetHostname() string
|
||||
SetPolicy(*policyv2.Policy) error
|
||||
GetAllMapReponses() (map[types.NodeID][]tailcfg.MapResponse, error)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue