Documentation ¶
Index ¶
Constants ¶
View Source
const ConfigurationKey = "bucket"
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewConfig, NewUserCache, wire.Bind(new(Bucket), new(*LocalBucket)), )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string `yaml:"name"` // TODO breadchris use builder LocalName string Path string }
func NewDefaultConfig ¶
func NewDefaultConfig() Config
type LocalBucket ¶
type LocalBucket struct {
// contains filtered or unexported fields
}
func FromDir ¶
func FromDir(dir string) (*LocalBucket, error)
func NewUserCache ¶
func NewUserCache(c Config) (*LocalBucket, error)
Click to show internal directories.
Click to hide internal directories.