17 #ifndef __RESOURCE_PROVIDER_LOCAL_HPP__ 18 #define __RESOURCE_PROVIDER_LOCAL_HPP__ 38 const std::string& workDir,
39 const ResourceProviderInfo& info,
40 const SlaveID& slaveId,
51 const ResourceProviderInfo& info);
59 #endif // __RESOURCE_PROVIDER_LOCAL_HPP__
static process::http::authentication::Principal principal(const ResourceProviderInfo &info)
static Option< Error > validate(const ResourceProviderInfo &info)
virtual ~LocalResourceProvider()=default
Definition: attributes.hpp:24
Contains information associated with an authenticated principal.
Definition: authenticator.hpp:41
static Try< process::Owned< LocalResourceProvider > > create(const process::http::URL &url, const std::string &workDir, const ResourceProviderInfo &info, const SlaveID &slaveId, const Option< std::string > &authToken, bool strict)