Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GenerateAnnotations (0.13 sec)

  1. pkg/kubelet/cm/dra/claiminfo.go

    		ClaimInfoState: *state.DeepCopy(),
    		annotations:    make(map[string][]kubecontainer.Annotation),
    		prepared:       false,
    	}
    	for pluginName, devices := range info.CDIDevices {
    		annotations, _ := cdi.GenerateAnnotations(info.ClaimUID, info.DriverName, devices)
    		info.annotations[pluginName] = append(info.annotations[pluginName], annotations...)
    	}
    	return info
    }
    
    // setCDIDevices adds a set of CDI devices to the claim info.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top