libioc.helpers_object module

Collection of iocage helper functions used in objects.

libioc.helpers_object.init_distribution(self, distribution=None)[source]

Attach or initialize a Distribution object.

Return type

DistributionGenerator

libioc.helpers_object.init_host(self, host=None)[source]

Attach or initialize a Host object.

Return type

HostGenerator

libioc.helpers_object.init_logger(self, logger=None)[source]

Attach or initialize a Logger object.

Return type

Logger

libioc.helpers_object.init_zfs(self, zfs=None)[source]

Attach or initialize a ZFS object.

Return type

ZFS