Skip to content

Commit

Permalink
ipamclaim: Add key generator
Browse files Browse the repository at this point in the history
Signed-off-by: Enrique Llorente <[email protected]>
  • Loading branch information
qinqon committed Sep 3, 2024
1 parent 2fe20dd commit 85c8f19
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkg/claims/generator.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package claims

import (
"fmt"
)

func GenerateName(vmName, networkName string) string {
return fmt.Sprintf("%s.%s", vmName, networkName)
}

0 comments on commit 85c8f19

Please sign in to comment.