integration: update DeleteAuthKey to use ID

This commit is contained in:
Kristoffer Dalby authored and Kristoffer Dalby committed 2026-01-20 12:53:20 +01:00
1 parent 1325fd8b27
commit db6882b5f5
3 files changed
+6 -8

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ type ControlServer interface {
CreateAuthKey(user uint64, reusable bool, ephemeral bool) (*v1.PreAuthKey, error)
CreateAuthKeyWithTags(user uint64, reusable bool, ephemeral bool, tags []string) (*v1.PreAuthKey, error)
CreateAuthKeyWithOptions(opts hsic.AuthKeyOptions) (*v1.PreAuthKey, error)
DeleteAuthKey(user uint64, key string) error
DeleteAuthKey(id uint64) error
ListNodes(users ...string) ([]*v1.Node, error)
DeleteNode(nodeID uint64) error
NodesByUser() (map[string][]*v1.Node, error)