def platform(conf, target): platform = Platform.get_platform(conf, target) return platform
def provision(options): Platform.get_platform(options.conf, options.platform).provision( num_master=options.master_count, num_worker=options.worker_count)
def get_logs(options): platform_logging_errors = Platform.get_platform( options.conf, options.platform).gather_logs() if platform_logging_errors: raise Exception("Failure(s) while collecting logs")
def cleanup(options): Platform.get_platform(options.conf, options.platform).cleanup() Skuba.cleanup(options.conf)