func wireStarter(logger lager.Logger, iptablesMgr *iptables.Manager) gardener.Starter { runner := &logging.Runner{CommandRunner: linux_command_runner.New(), Logger: logger.Session("runner")} return &StartAll{starters: []gardener.Starter{ rundmc.NewStarter(logger, mustOpen("/proc/cgroups"), path.Join(os.TempDir(), fmt.Sprintf("cgroups-%s", *tag)), runner), iptablesMgr, }} }
func wireStarter() *rundmc.Starter { runner := &log.Runner{CommandRunner: linux_command_runner.New(), Logger: log.Session("runner")} return rundmc.NewStarter(mustOpen("/proc/cgroups"), path.Join(os.TempDir(), fmt.Sprintf("cgroups-%s", *tag)), runner) }