dissect.target.plugins.child.colima

Module Contents

Classes

ColimaChildTargetPlugin

Child target plugin that yields Colima VMs.

Functions

find_vms

Find the Lima VMs from Colima and yield the name, Colima configuration path and Lima VM path.

dissect.target.plugins.child.colima.find_vms(path: pathlib.Path) collections.abc.Iterator[tuple[str, pathlib.Path, pathlib.Path]]

Find the Lima VMs from Colima and yield the name, Colima configuration path and Lima VM path.

References

class dissect.target.plugins.child.colima.ColimaChildTargetPlugin(target: dissect.target.Target)

Bases: dissect.target.plugin.ChildTargetPlugin

Child target plugin that yields Colima VMs.

Colima is a container runtime for macOS and Linux.

References

__type__ = 'colima'
paths = []
check_compatible() None

Perform a compatibility check with the target.

This function should return None if the plugin is compatible with the current target (self.target). For example, check if a certain file exists. Otherwise it should raise an UnsupportedPluginError.

Raises:

UnsupportedPluginError – If the plugin could not be loaded.

list_children() collections.abc.Iterator[dissect.target.helpers.record.ChildTargetRecord]

Yield ChildTargetRecord records of all possible child targets on this target.