Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrResourceMessageInvalidPath = func(hmType proxmoxtypes.Type) string { return fmt.Sprintf("not a valid Linux device path for hardware mapping of type %q", hmType) }
ErrResourceMessageInvalidPath is the error message for an invalid Linux device path for a hardware mapping of the specified type. Extracting the message helps to reduce duplicated code and allows to use it in automated unit and acceptance tests.
Functions ¶
func NewDataSource ¶
func NewDataSource() datasource.DataSource
NewDataSource returns a new data source for hardware mappings. This is a helper function to simplify the provider implementation.
func NewPCIDataSource ¶ added in v0.63.0
func NewPCIDataSource() datasource.DataSource
NewPCIDataSource returns a new data source for a PCI hardware mapping. This is a helper function to simplify the provider implementation.
func NewPCIResource ¶ added in v0.63.0
NewPCIResource returns a new resource for managing a PCI hardware mapping. This is a helper function to simplify the provider implementation.
func NewUSBDataSource ¶ added in v0.63.0
func NewUSBDataSource() datasource.DataSource
NewUSBDataSource returns a new data source for a USB hardware mapping. This is a helper function to simplify the provider implementation.
func NewUSBResource ¶ added in v0.63.0
NewUSBResource returns a new resource for managing a USB hardware mapping. This is a helper function to simplify the provider implementation.
Types ¶
This section is empty.