Documentation ¶
Index ¶
- Constants
- Variables
- func NewCreateFSFunc(access map[string]*S3Access, regexpString string, logger zLogger.ZWrapper) writefs.CreateFSFunc
- func NewDebuggingRoundTripper(rt http.RoundTripper, logger zLogger.ZWrapper, levels ...debugLevel) *debuggingRoundTripper
- func NewFS(endpoint, accessKeyID, secretAccessKey, region string, useSSL bool, ...) (*s3FSRW, error)
- func NewFileInfo(o *minio.ObjectInfo) fs.FileInfo
- func NewUploadInfo(ui minio.UploadInfo, err error) uploadInfo
- func NewWriteCloser() *rwCloser
- type File
- type S3Access
Constants ¶
View Source
const ( JustURL debugLevel = iota URLTiming CurlCommand RequestHeaders ResponseStatus ResponseHeaders )
Variables ¶
View Source
var ARNRegexStr = `^arn:(?P<partition>[^:]*):s3:(?P<region>[^:]*):(?P<namespace>[^:]*):(?P<subpath>[^:]*)`
Functions ¶
func NewCreateFSFunc ¶
func NewDebuggingRoundTripper ¶
func NewDebuggingRoundTripper(rt http.RoundTripper, logger zLogger.ZWrapper, levels ...debugLevel) *debuggingRoundTripper
func NewFileInfo ¶
func NewUploadInfo ¶
func NewUploadInfo(ui minio.UploadInfo, err error) uploadInfo
func NewWriteCloser ¶
func NewWriteCloser() *rwCloser
Types ¶
Click to show internal directories.
Click to hide internal directories.