updated how we search for nodes

This commit is contained in:
pb
2025-05-15 10:27:28 +02:00
parent cb2e4f6028
commit 5069b3455a
3 changed files with 6 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ type Infrastructure interface {
CreateKubeconfigSecret(context context.Context, kubeconfig string, executionId string, peerId string) ([]byte, error)
GetKubeconfigSecret(context context.Context, executionId string, peerId string) ([]byte, error)
CreateAdmiraltyTarget(context context.Context, executionId string, peerId string)([]byte,error)
GetOneNode(context context.Context, executionID string) (*v1.Node, error)
GetOneNode(context context.Context, executionID string, peerId string) (*v1.Node, error)
}
var _service = map[string]func() (Infrastructure, error){