- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for setPrepared (0.32 sec)
-
pkg/kubelet/cm/dra/claiminfo_test.go
prepared: true, }, }, { description: "empty claim info", claimInfo: &ClaimInfo{}, }, } { t.Run(test.description, func(t *testing.T) { test.claimInfo.setPrepared() assert.Equal(t, test.claimInfo.isPrepared(), true) }) } } func TestClaimInfoIsPrepared(t *testing.T) { for _, test := range []struct { description string claimInfo *ClaimInfo
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:30:31 UTC 2024 - 21K bytes - Viewed (0) -
pkg/kubelet/cm/dra/manager.go
info, exists := m.cache.get(claim.Name, claim.Namespace) if !exists { return fmt.Errorf("unable to get claim info for claim %s in namespace %s", claim.Name, claim.Namespace) } info.setPrepared() } // Checkpoint to ensure all prepared claims are tracked with their list // of CDI devices attached. if err := m.cache.syncToCheckpoint(); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:23:29 UTC 2024 - 19.4K bytes - Viewed (0)