17 #ifndef __RESOURCE_PROVIDER_DAEMON_HPP__ 18 #define __RESOURCE_PROVIDER_DAEMON_HPP__ 38 class LocalResourceProviderDaemonProcess;
60 void start(
const SlaveID& slaveId);
65 const std::string&
type,
66 const std::string&
name);
71 const std::string& workDir,
82 #endif // __RESOURCE_PROVIDER_DAEMON_HPP__ void start(const SlaveID &slaveId)
~LocalResourceProviderDaemon()
Definition: daemon.hpp:44
process::Future< bool > add(const ResourceProviderInfo &info)
process::Future< bool > update(const ResourceProviderInfo &info)
LocalResourceProviderDaemon & operator=(const LocalResourceProviderDaemon &other)=delete
LocalResourceProviderDaemon(const LocalResourceProviderDaemon &other)=delete
The SecretGenerator interface represents a mechanism to create a secret from a principal.
Definition: secret_generator.hpp:34
Definition: attributes.hpp:24
Definition: executor.hpp:48
static Try< process::Owned< LocalResourceProviderDaemon > > create(const process::http::URL &url, const slave::Flags &flags, SecretGenerator *secretGenerator)
Try< uint32_t > type(const std::string &path)
constexpr const char * name
Definition: shell.hpp:41