Skip to content

Commit

Permalink
comment use of storage
Browse files Browse the repository at this point in the history
Change-Id: Ic512bf244ca3f5ccd76df816e57ecd021c3c4d1c
  • Loading branch information
aojea committed Dec 15, 2024
1 parent c98e60a commit 08f5216
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/driver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@ type NetworkDriver struct {
draPlugin kubeletplugin.DRAPlugin
nriPlugin stub.Stub

podAllocations storage
claimAllocations storage
netdb *inventory.DB
podAllocations storage // claims indexed by Pod UID to run on the NRI hooks
claimAllocations storage // claims indexed by Claim UID to run on the Kubelet/DRA hooks
// contains the host interfaces
netdb *inventory.DB
}

type Option func(*NetworkDriver)
Expand Down

0 comments on commit 08f5216

Please sign in to comment.