17 #ifndef __SLAVE_HTTP_HPP__ 18 #define __SLAVE_HTTP_HPP__ 114 const ResourceUsage&
usage,
126 bool showNestedContainers,
127 bool showStandaloneContainers)
const;
186 std::function<void(JSON::ObjectWriter*)> jsonifyGetFrameworks(
188 std::string serializeGetFrameworks(
196 std::function<void(JSON::ObjectWriter*)> jsonifyGetExecutors(
198 std::string serializeGetExecutors(
211 std::function<void(JSON::ObjectWriter*)> jsonifyGetTasks(
213 std::string serializeGetTasks(
231 std::function<void(JSON::ObjectWriter*)> jsonifyGetState(
233 std::string serializeGetState(
246 template <mesos::authorization::Action action>
252 template <mesos::authorization::Action action>
254 const ContainerID& containerId,
255 const CommandInfo& commandInfo,
258 google::protobuf::Map<std::string, Value::Scalar>>& resourceLimits,
274 template <authorization::Action action>
280 template <authorization::Action action>
282 const ContainerID& containerId,
285 const bool deprecated)
const;
297 template <mesos::authorization::Action ACTION>
303 template <mesos::authorization::Action ACTION>
305 const ContainerID& containerId,
320 template <mesos::authorization::Action ACTION>
326 template <mesos::authorization::Action ACTION>
328 const ContainerID& containerId,
349 const ContainerID& containerId)
const;
392 #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 > containerizerDebug(const process::http::Request &request, const Option< process::http::authentication::Principal > &principal) const
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:2851
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:471
Definition: slave.hpp:118
static std::string CONTAINERIZER_DEBUG_HELP()
Definition: duration.hpp:207
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
process::Future< process::http::Response > health(const process::http::Request &request) const
Definition: attributes.hpp:24
Definition: executor.hpp:48
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