github.com/artpar/rclone@v1.67.3/backend/union/common/options.go (about)

     1  // Package common defines code common to the union and the policies
     2  //
     3  // These need to be defined in a separate package to avoid import loops
     4  package common
     5  
     6  import "github.com/artpar/rclone/fs"
     7  
     8  // Options defines the configuration for this backend
     9  type Options struct {
    10  	Upstreams    fs.SpaceSepList `config:"upstreams"`
    11  	Remotes      fs.SpaceSepList `config:"remotes"` // Deprecated
    12  	ActionPolicy string          `config:"action_policy"`
    13  	CreatePolicy string          `config:"create_policy"`
    14  	SearchPolicy string          `config:"search_policy"`
    15  	CacheTime    int             `config:"cache_time"`
    16  	MinFreeSpace fs.SizeSuffix   `config:"min_free_space"`
    17  }