BackendMetadata#
- class efiboot.backends.BackendMetadata(name, priority=500, controller='efiboot.backends.default:DefaultController')#
The efiboot backend metadata class.
Packages should register their
BackendMetadata
objects under theefiboot_backends
entry point namespace. This allows the backend to be auto-discovered by efiboot.- Parameters
name (str) – The name of the backend. All backends must have a unique name. If this backend is registered under the
efiboot_backends
entry point, it must be registered with the same name.priority (int) – The priority of this backend. This is used to pick a backend when multiple backends that are compatible with the host system. A lower value has higher priority. The default is 500.
controller (str) – A string of the form
<module>:<class>
pointing to anEfiController
subclass.
Methods
Import the backend controller class.
Returns true if this backend is compatible with the host system.
Create an instance of the backend controller.
Attributes
The controller class for this backend.
The priority of this backend.
The name of the backend.