Lines Matching refs:cls
31 def is_present(cls): argument
33 return shutil.which(cls.name) is not None
111 def get_names(cls): argument
113 return list(runtime.name for runtime in cls.runtimes)
116 def get(cls, name): argument
118 for runtime in cls.runtimes:
126 def find(cls): argument
128 for runtime in cls.runtimes:
150 cls = Runtimes.get(args.runtime) if args.runtime else Runtimes.find()
154 logger.debug("runtime: %s", cls.name)
156 return cls(args, logger).run(args.image, args.cmd)