Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Server ¶
Server runs an HTTP server with an S3-like API for PFS. This allows you to use s3 clients to acccess PFS contents.
Bucket names correspond to repo names, and files are accessible via the s3 key pattern "<branch>/<filepath>". For example, to get the file "a/b/c.txt" on the "foo" repo's "master" branch, you'd making an s3 get request with bucket = "foo", key = "master/a/b/c.txt".
Note: in s3, bucket names are constrained by IETF RFC 1123, (and its predecessor RFC 952) but pachyderm's repo naming constraints are slightly more liberal. If the s3 client does any kind of bucket name validation (this includes minio), repos whose names do not comply with RFC 1123 will not be accessible.
Types ¶
This section is empty.