2022-04-03 14:39:42 +02:00
|
|
|
// Package common defines code common to the union and the policies
|
|
|
|
//
|
|
|
|
// These need to be defined in a separate package to avoid import loops
|
|
|
|
package common
|
|
|
|
|
|
|
|
import "github.com/rclone/rclone/fs"
|
|
|
|
|
|
|
|
// Options defines the configuration for this backend
|
|
|
|
type Options struct {
|
|
|
|
Upstreams fs.SpaceSepList `config:"upstreams"`
|
|
|
|
Remotes fs.SpaceSepList `config:"remotes"` // Deprecated
|
|
|
|
ActionPolicy string `config:"action_policy"`
|
|
|
|
CreatePolicy string `config:"create_policy"`
|
|
|
|
SearchPolicy string `config:"search_policy"`
|
|
|
|
CacheTime int `config:"cache_time"`
|
2022-04-04 10:55:05 +02:00
|
|
|
MinFreeSpace fs.SizeSuffix `config:"min_free_space"`
|
2022-04-03 14:39:42 +02:00
|
|
|
}
|