Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrCheckBucketExists could not verify that bucket directory exists ErrCheckBucketExists = &shared.BadRequestError{Message: "could not verify that bucket directory exists"} // ErrWriteFile could not write file ErrWriteFile = &shared.BadRequestError{Message: "could not write file"} // ErrReadFile could not read file ErrReadFile = &shared.BadRequestError{Message: "could not read file"} // ErrCheckFileExists could not check if file exists ErrCheckFileExists = &shared.BadRequestError{Message: "could not check if file exists"} // ErrDeleteFile could not delete file ErrDeleteFile = &shared.BadRequestError{Message: "could not delete file"} // ErrListFiles could not list files ErrListFiles = &shared.BadRequestError{Message: "could not list files"} // ErrBucketConfigDeserialization bucket config could not be deserialized ErrBucketConfigDeserialization = &shared.BadRequestError{Message: "bucket config could not be deserialized"} )
Functions ¶
Types ¶
type BucketConfig ¶
type BucketConfig struct {
Name string `yaml:"name"`
Owner string `yaml:"owner"`
RetentionDays int `yaml:"retentionDays"`
}
BucketConfig describes the config for a bucket
type Config ¶
type Config struct {
StoreDirectory string `yaml:"storeDirectory"`
DefaultBucket BucketConfig `yaml:"defaultBucket"`
CustomBuckets []BucketConfig `yaml:"customBuckets"`
}
Config describes the configuration needed to construct a blobstore client backed by file system
Click to show internal directories.
Click to hide internal directories.