Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CDI ¶
CDI is an autogenerated mock type for the CDI type
func NewCDI ¶
func NewCDI(t mockConstructorTestingTNewCDI) *CDI
NewCDI creates a new instance of CDI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CDI) CreateCDISpec ¶
func (_m *CDI) CreateCDISpec(resourcePrefix string, resourceName string, poolName string, devices []types.PciNetDevice) error
CreateCDISpec provides a mock function with given fields: resourcePrefix, resourceName, poolName, devices
func (*CDI) CreateContainerAnnotations ¶
func (_m *CDI) CreateContainerAnnotations(devices []types.PciNetDevice, resourcePrefix string, resourceKind string) (map[string]string, error)
CreateContainerAnnotations provides a mock function with given fields: devices, resourcePrefix, resourceKind
Click to show internal directories.
Click to hide internal directories.