From 08f52161ef283bf803a56a75e7f9571f7bc50bc9 Mon Sep 17 00:00:00 2001 From: Antonio Ojea Date: Sun, 15 Dec 2024 22:17:40 +0000 Subject: [PATCH] comment use of storage Change-Id: Ic512bf244ca3f5ccd76df816e57ecd021c3c4d1c --- pkg/driver/driver.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg/driver/driver.go b/pkg/driver/driver.go index f743adf..886f991 100644 --- a/pkg/driver/driver.go +++ b/pkg/driver/driver.go @@ -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)