17 #ifndef __SLAVE_HTTP_HPP__
18 #define __SLAVE_HTTP_HPP__
109 const ResourceUsage&
usage,
122 bool showNestedContainers,
123 bool showStandaloneContainers)
const;
179 mesos::agent::Response::GetFrameworks _getFrameworks(
187 mesos::agent::Response::GetExecutors _getExecutors(
196 mesos::agent::Response::GetTasks _getTasks(
216 mesos::agent::Response::GetState _getState(
232 const ContainerID& containerId,
233 const CommandInfo& commandInfo,
251 const ContainerID& containerId,
254 const bool deprecated)
const;
267 const ContainerID& containerId,
283 const ContainerID& containerId,
340 #endif // __SLAVE_HTTP_HPP__
ContentType
Definition: http.hpp:43
process::Future< process::http::Response > statistics(const process::http::Request &request, const Option< process::http::authentication::Principal > &principal) const
Future< Response > request(const Request &request, bool streamedResponse=false)
Asynchronously sends an HTTP request to the process and returns the HTTP response once the entire res...
process::Future< process::http::Response > state(const process::http::Request &request, const Option< process::http::authentication::Principal > &) const
mesos::v1::scheduler::Call Call
Definition: mesos.hpp:2583
static std::string STATISTICS_HELP()
static std::string STATE_HELP()
static std::string HEALTH_HELP()
Try< ResourceStatistics > usage(pid_t pid, bool mem=true, bool cpus=true)
Provides RecordIO decoding on top of an http::Pipe::Reader.
Definition: recordio.hpp:62
static std::string API_HELP()
Used to filter results for API handlers.
Definition: http.hpp:206
Definition: slave.hpp:115
Definition: duration.hpp:259
static std::string CONTAINERS_HELP()
process::Future< process::http::Response > api(const process::http::Request &request, const Option< process::http::authentication::Principal > &principal) const
static std::string EXECUTOR_HELP()
process::Future< process::http::Response > executor(const process::http::Request &request, const Option< process::http::authentication::Principal > &principal) const
Result< Process > process(pid_t pid)
Definition: freebsd.hpp:30
process::Future< process::http::Response > health(const process::http::Request &request) const
static std::string FLAGS_HELP()
static std::string RESOURCE_PROVIDER_HELP()
process::Future< process::http::Response > containers(const process::http::Request &request, const Option< process::http::authentication::Principal > &principal) const
Http(Slave *_slave)
Definition: http.hpp:45
process::Future< process::http::Response > flags(const process::http::Request &request, const Option< process::http::authentication::Principal > &principal) const
Definition: future.hpp:57