Skip to content

Instantly share code, notes, and snippets.

View jasonlai's full-sized avatar

Jason Lai jasonlai

  • San Francisco Bay Area, CA
View GitHub Profile
@jasonlai
jasonlai / mesos-agent-task-run-call-graph.rs
Last active January 6, 2019 01:28
Mesos Agent task run call graph
Slave::run(FrameworkInfo&, ExecutorInfo, Option<TaskInfo>, Option<TaskGroupInfo>, UPID&);
|-> Slave::unschedule(path: string&) -> Future<bool>; // path = paths::getFrameworkPath(work_dir: string&, SlaveID&, FrameworkID&) -> string;
|-> Slave::unschedule(path: string&) -> Future<bool>; // path = paths::getFrameworkPath(metaDir: string&, SlaveID&, FrameworkID&) -> string;
|-> Slave::unschedule(path: string&) -> Future<bool>; // path = paths::getExecutorPath(work_dir: string&, SlaveID&, FrameworkID&, ExecutorID&) -> string;
|-> Slave::unschedule(path: string&) -> Future<bool>; // path = paths::getExecutorPath(metaDir: string&, SlaveID&, FrameworkID&, ExecutorID&) -> string;
\-> Slave::_run(Future<bool>&, FrameworkInfo&, ExecutorInfo&, Option<TaskInfo>&, Option<TaskGroupInfo>&);
|-> Slave::authorizeTask(TaskInfo&, FrameworkInfo&) -> Future<bool>;
\-> Slave::__run(Future<list<bool>>&, FrameworkInfo&, ExecutorInfo&, Option<TaskInfo>&, Option<TaskGroupInfo>&);
|-> Slave::launchExecutor(Option<Future<