type systemdFactory … func (f *systemdFactory) String() string { … } func (f *systemdFactory) NewContainerHandler(name string, metadataEnvAllowList []string, inHostNamespace bool) (container.ContainerHandler, error) { … } func (f *systemdFactory) CanHandleAndAccept(name string) (bool, bool, error) { … } func (f *systemdFactory) DebugInfo() map[string][]string { … } // Register registers the systemd container factory. func Register(machineInfoFactory info.MachineInfoFactory, fsInfo fs.FsInfo, includedMetrics container.MetricSet) error { … }