Added integration tests for ephemeral nodes

Fetch the machines from headscale
This commit is contained in:
Juan Font committed 2023-01-05 14:59:02 +01:00
1 parent afae1ff7b6
commit 55a3885614
5 files changed
+120 -8

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ type ControlServer interface {
GetEndpoint() string
WaitForReady() error
CreateNamespace(namespace string) error
CreateAuthKey(namespace string) (*v1.PreAuthKey, error)
CreateAuthKey(namespace string, reusable bool, ephemeral bool) (*v1.PreAuthKey, error)
ListMachinesInNamespace(namespace string) ([]*v1.Machine, error)
GetCert() []byte
GetHostname() string