Versions in this module Expand all Collapse all v0 v0.1.1 Feb 5, 2026 Changes in this version + func DeleteDeviceTaint(ctx context.Context, c client.Client, resource *crov1alpha1.ComposableResource) error + func HasDeviceTaint(ctx context.Context, c client.Client, resource *crov1alpha1.ComposableResource) (bool, error) v0.1.0 Sep 18, 2025 Changes in this version + func CheckGPUVisible(ctx context.Context, client client.Client, clientset *kubernetes.Clientset, ...) (bool, error) + func CheckNoGPULoads(ctx context.Context, client client.Client, clientset *kubernetes.Clientset, ...) error + func CheckNodeCapacitySufficient(ctx context.Context, client client.Client, nodeName string, ...) (bool, error) + func CheckNodeExisted(ctx context.Context, client client.Client, nodeName string) error + func ContainsString(slice []string, s string) bool + func CreateDeviceTaint(ctx context.Context, client client.Client, ...) error + func DrainGPU(ctx context.Context, client client.Client, clientset *kubernetes.Clientset, ...) error + func GenerateComposableResourceName(typeName string) string + func GetAllNodes(ctx context.Context, client client.Client) (*corev1.NodeList, error) + func RestartDaemonset(ctx context.Context, client client.Client, namespace string, name string) error + func RunNvidiaSmi(ctx context.Context, client client.Client, clientset *kubernetes.Clientset, ...) error + func SetNodeSchedulable(ctx context.Context, client client.Client, ...) (bool, error) + type AccountedAppInfo struct + GPUUUID string + ProcessName string + func (a AccountedAppInfo) String() string