- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newClaimInfoFromState (0.14 sec)
-
pkg/kubelet/cm/dra/claiminfo.go
annotations: make(map[string][]kubecontainer.Annotation), prepared: false, } return info } // newClaimInfoFromClaim creates a new claim info from a checkpointed claim info state object. func newClaimInfoFromState(state *state.ClaimInfoState) *ClaimInfo { info := &ClaimInfo{ ClaimInfoState: *state.DeepCopy(), annotations: make(map[string][]kubecontainer.Annotation), prepared: false, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:30:31 UTC 2024 - 7.9K bytes - Viewed (0) -
pkg/kubelet/cm/dra/claiminfo_test.go
ResourceHandles: []resourcev1alpha2.ResourceHandle{}, CDIDevices: map[string][]string{}, }, }, } { t.Run(test.description, func(t *testing.T) { result := newClaimInfoFromState(test.state) if reflect.DeepEqual(result, test.expectedResult) { t.Errorf("Expected %v, but got %v", test.expectedResult, result) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:30:31 UTC 2024 - 21K bytes - Viewed (0)