ark::aws::S3Server
Defined in header “ark/aws/testing/s3server.hh”.
This class represents a mock AWS S3 server, which allows you to upload and download content using the standard S3 APIs.
Methods
-
S3Server(std::string bucket_name, const comms::NetworkAddress & address, std::filesystem::path root_path)
Constructor. Initializes the given S3 service on the specified address, hosting content from the root path. -
S3Server(S3ServerConfig config)
Constructor. Initializes the given S3 service on the specified address, hosting content from the root path. -
~S3Server()
Destructor implemented internally. -
core::Url endpoint()
Returns the endpoint that you can talk to this server over.