Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
s3-url.hh File Reference
#include "nix/util/configuration.hh"
#include "nix/util/error.hh"
#include "nix/util/url.hh"
#include "nix/util/util.hh"
#include <optional>
#include <string>
#include <string_view>
#include <variant>
#include <vector>

Go to the source code of this file.

Classes

struct  nix::ParsedS3URL

Enumerations

enum class  nix::S3AddressingStyle { Auto , Path , Virtual }

Functions

 nix::MakeError (InvalidS3AddressingStyle, Error)
S3AddressingStyle nix::parseS3AddressingStyle (std::string_view style)
std::string_view nix::showS3AddressingStyle (S3AddressingStyle style)

Enumeration Type Documentation

◆ S3AddressingStyle

enum class nix::S3AddressingStyle
strong

S3 addressing style for bucket access.

  • Auto: virtual-hosted-style for standard AWS endpoints, path-style for custom endpoints.
  • Path: always use path-style (bucket in URL path).
  • Virtual: always use virtual-hosted-style (bucket as hostname prefix; bucket name must not contain dots).