/** # Copyright (c) 2024, HCUOpt CORPORATION. All rights reserved. **/ package c3000cdi import ( "dcu-container-toolkit/pkg/c3000cdi/spec" "dcu-container-toolkit/pkg/go-c3000lib/pkg/device" "tags.cncf.io/container-device-interface/pkg/cdi" "tags.cncf.io/container-device-interface/specs-go" ) // Interface defines the API for the c3000cdi package type Interface interface { GetSpec() (spec.Interface, error) GetCommonEdits() (*cdi.ContainerEdits, error) GetAllDeviceSpecs() ([]specs.Device, error) GetHCUDeviceEdits(device.Device) (*cdi.ContainerEdits, error) GetHCUDeviceSpecs(string, device.Device) ([]specs.Device, error) GetMIGDeviceEdits(device.Device, device.MigDevice) (*cdi.ContainerEdits, error) GetMIGDeviceSpecs(int, device.Device, int, device.MigDevice) ([]specs.Device, error) GetDeviceSpecsByID(...string) ([]specs.Device, error) }