Documentation
¶
Index ¶
- Variables
- type BlockPullOrder
- func (BlockPullOrder) Descriptor() protoreflect.EnumDescriptor
- func (x BlockPullOrder) Enum() *BlockPullOrder
- func (BlockPullOrder) EnumDescriptor() ([]byte, []int)deprecated
- func (x BlockPullOrder) Number() protoreflect.EnumNumber
- func (x BlockPullOrder) String() string
- func (BlockPullOrder) Type() protoreflect.EnumType
- type Configuration
- func (*Configuration) Descriptor() ([]byte, []int)deprecated
- func (x *Configuration) GetGarbageCollect() *GarbageCollection
- func (x *Configuration) GetPattern() []*DevicePattern
- func (x *Configuration) GetSyncthing() []*SyncthingInstance
- func (*Configuration) ProtoMessage()
- func (x *Configuration) ProtoReflect() protoreflect.Message
- func (x *Configuration) Reset()
- func (x *Configuration) String() string
- func (c *Configuration) Validate() error
- type CopyRangeMethod
- func (CopyRangeMethod) Descriptor() protoreflect.EnumDescriptor
- func (x CopyRangeMethod) Enum() *CopyRangeMethod
- func (CopyRangeMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x CopyRangeMethod) Number() protoreflect.EnumNumber
- func (x CopyRangeMethod) String() string
- func (CopyRangeMethod) Type() protoreflect.EnumType
- type DeviceConfiguration
- func (*DeviceConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceConfiguration) GetAddresses() []string
- func (x *DeviceConfiguration) GetAllowedNetworks() []string
- func (x *DeviceConfiguration) GetAutoAcceptFolders() bool
- func (x *DeviceConfiguration) GetMaxRecvKbps() int32
- func (x *DeviceConfiguration) GetMaxRequestKib() int32
- func (x *DeviceConfiguration) GetMaxSendKbps() int32
- func (x *DeviceConfiguration) GetNumConnections() int32
- func (*DeviceConfiguration) ProtoMessage()
- func (x *DeviceConfiguration) ProtoReflect() protoreflect.Message
- func (x *DeviceConfiguration) Reset()
- func (x *DeviceConfiguration) String() string
- type DevicePattern
- func (*DevicePattern) Descriptor() ([]byte, []int)deprecated
- func (x *DevicePattern) GetAcceptCidr() []string
- func (x *DevicePattern) GetFolder() []*FolderPattern
- func (x *DevicePattern) GetSettings() *DeviceConfiguration
- func (p *DevicePattern) MatchesAddress(addr netip.Addr) bool
- func (*DevicePattern) ProtoMessage()
- func (x *DevicePattern) ProtoReflect() protoreflect.Message
- func (x *DevicePattern) Reset()
- func (x *DevicePattern) String() string
- func (p *DevicePattern) Validate() error
- type FolderConfiguration
- func (*FolderConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *FolderConfiguration) GetBlockPullOrder() BlockPullOrder
- func (x *FolderConfiguration) GetCaseSensitiveFs() bool
- func (x *FolderConfiguration) GetCopiers() int32
- func (x *FolderConfiguration) GetCopyOwnershipFromParent() bool
- func (x *FolderConfiguration) GetCopyRangeMethod() CopyRangeMethod
- func (x *FolderConfiguration) GetDisableFsync() bool
- func (x *FolderConfiguration) GetDisableSparseFiles() bool
- func (x *FolderConfiguration) GetDisableTempIndexes() bool
- func (x *FolderConfiguration) GetFollowJunctions() bool
- func (x *FolderConfiguration) GetFsWatcherDelayS() float64
- func (x *FolderConfiguration) GetFsWatcherDisabled() bool
- func (x *FolderConfiguration) GetHashers() int32
- func (x *FolderConfiguration) GetIgnoreDelete() bool
- func (x *FolderConfiguration) GetIgnorePermissions() bool
- func (x *FolderConfiguration) GetLabel() string
- func (x *FolderConfiguration) GetMarkerName() string
- func (x *FolderConfiguration) GetMaxConcurrentWrites() int32
- func (x *FolderConfiguration) GetMaxConflicts() int32
- func (x *FolderConfiguration) GetMinDiskFree() *Size
- func (x *FolderConfiguration) GetModTimeWindowS() int32
- func (x *FolderConfiguration) GetNoAutoNormalize() bool
- func (x *FolderConfiguration) GetOrder() PullOrder
- func (x *FolderConfiguration) GetPath() string
- func (x *FolderConfiguration) GetPullerMaxPendingKib() int32
- func (x *FolderConfiguration) GetPullerPauseS() int32
- func (x *FolderConfiguration) GetRescanIntervalS() int32
- func (x *FolderConfiguration) GetScanProgressIntervalS() int32
- func (x *FolderConfiguration) GetSendOwnership() bool
- func (x *FolderConfiguration) GetSendXattrs() bool
- func (x *FolderConfiguration) GetSyncOwnership() bool
- func (x *FolderConfiguration) GetSyncXattrs() bool
- func (x *FolderConfiguration) GetType() FolderType
- func (x *FolderConfiguration) GetWeakHashThresholdPct() int32
- func (*FolderConfiguration) ProtoMessage()
- func (x *FolderConfiguration) ProtoReflect() protoreflect.Message
- func (x *FolderConfiguration) Reset()
- func (x *FolderConfiguration) String() string
- type FolderPattern
- func (*FolderPattern) Descriptor() ([]byte, []int)deprecated
- func (x *FolderPattern) GetId() string
- func (x *FolderPattern) GetSettings() *FolderConfiguration
- func (*FolderPattern) ProtoMessage()
- func (x *FolderPattern) ProtoReflect() protoreflect.Message
- func (x *FolderPattern) Reset()
- func (x *FolderPattern) String() string
- type FolderType
- type GarbageCollection
- func (*GarbageCollection) Descriptor() ([]byte, []int)deprecated
- func (x *GarbageCollection) GetRunEveryS() int32
- func (x *GarbageCollection) GetUnseenDevicesDays() int32
- func (x *GarbageCollection) GetUnsharedFolders() bool
- func (*GarbageCollection) ProtoMessage()
- func (x *GarbageCollection) ProtoReflect() protoreflect.Message
- func (x *GarbageCollection) Reset()
- func (x *GarbageCollection) String() string
- type PullOrder
- type Size
- type SyncthingInstance
- func (*SyncthingInstance) Descriptor() ([]byte, []int)deprecated
- func (x *SyncthingInstance) GetAddress() string
- func (x *SyncthingInstance) GetApiKey() string
- func (*SyncthingInstance) ProtoMessage()
- func (x *SyncthingInstance) ProtoReflect() protoreflect.Message
- func (x *SyncthingInstance) Reset()
- func (x *SyncthingInstance) String() string
Constants ¶
This section is empty.
Variables ¶
var ( FolderType_name = map[int32]string{ 0: "SEND_RECEIVE", 1: "SEND_ONLY", 2: "RECEIVE_ONLY", 3: "RECEIVE_ENCRYPTED", } FolderType_value = map[string]int32{ "SEND_RECEIVE": 0, "SEND_ONLY": 1, "RECEIVE_ONLY": 2, "RECEIVE_ENCRYPTED": 3, } )
Enum value maps for FolderType.
var ( PullOrder_name = map[int32]string{ 0: "PULL_RANDOM", 1: "PULL_ALPHABETIC", 2: "PULL_SMALLEST_FIRST", 3: "PULL_LARGEST_FIRST", 4: "PULL_OLDEST_FIRST", 5: "PULL_NEWEST_FIRST", } PullOrder_value = map[string]int32{ "PULL_RANDOM": 0, "PULL_ALPHABETIC": 1, "PULL_SMALLEST_FIRST": 2, "PULL_LARGEST_FIRST": 3, "PULL_OLDEST_FIRST": 4, "PULL_NEWEST_FIRST": 5, } )
Enum value maps for PullOrder.
var ( BlockPullOrder_name = map[int32]string{ 0: "BLOCKS_STANDARD", 1: "BLOCKS_RANDOM", 2: "BLOCKS_IN_ORDER", } BlockPullOrder_value = map[string]int32{ "BLOCKS_STANDARD": 0, "BLOCKS_RANDOM": 1, "BLOCKS_IN_ORDER": 2, } )
Enum value maps for BlockPullOrder.
var ( CopyRangeMethod_name = map[int32]string{ 0: "COPY_RANGE_STANDARD", 1: "COPY_RANGE_IOCTL", 2: "COPY_RANGE_COPY_FILE_RANGE", 3: "COPY_RANGE_SEND_FILE", 4: "COPY_RANGE_DUPLICATE_EXTENTS", 5: "COPY_RANGE_ALL_WITH_FALLBACK", } CopyRangeMethod_value = map[string]int32{ "COPY_RANGE_STANDARD": 0, "COPY_RANGE_IOCTL": 1, "COPY_RANGE_COPY_FILE_RANGE": 2, "COPY_RANGE_SEND_FILE": 3, "COPY_RANGE_DUPLICATE_EXTENTS": 4, "COPY_RANGE_ALL_WITH_FALLBACK": 5, } )
Enum value maps for CopyRangeMethod.
var File_proto_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BlockPullOrder ¶
type BlockPullOrder int32
const ( BlockPullOrder_BLOCKS_STANDARD BlockPullOrder = 0 BlockPullOrder_BLOCKS_RANDOM BlockPullOrder = 1 BlockPullOrder_BLOCKS_IN_ORDER BlockPullOrder = 2 )
func (BlockPullOrder) Descriptor ¶
func (BlockPullOrder) Descriptor() protoreflect.EnumDescriptor
func (BlockPullOrder) Enum ¶
func (x BlockPullOrder) Enum() *BlockPullOrder
func (BlockPullOrder) EnumDescriptor
deprecated
func (BlockPullOrder) EnumDescriptor() ([]byte, []int)
Deprecated: Use BlockPullOrder.Descriptor instead.
func (BlockPullOrder) Number ¶
func (x BlockPullOrder) Number() protoreflect.EnumNumber
func (BlockPullOrder) String ¶
func (x BlockPullOrder) String() string
func (BlockPullOrder) Type ¶
func (BlockPullOrder) Type() protoreflect.EnumType
type Configuration ¶
type Configuration struct {
Syncthing []*SyncthingInstance `protobuf:"bytes,1,rep,name=syncthing,proto3" json:"syncthing,omitempty"`
Pattern []*DevicePattern `protobuf:"bytes,2,rep,name=pattern,proto3" json:"pattern,omitempty"`
GarbageCollect *GarbageCollection `protobuf:"bytes,3,opt,name=garbage_collect,json=garbageCollect,proto3" json:"garbage_collect,omitempty"`
// contains filtered or unexported fields
}
func (*Configuration) Descriptor
deprecated
func (*Configuration) Descriptor() ([]byte, []int)
Deprecated: Use Configuration.ProtoReflect.Descriptor instead.
func (*Configuration) GetGarbageCollect ¶
func (x *Configuration) GetGarbageCollect() *GarbageCollection
func (*Configuration) GetPattern ¶
func (x *Configuration) GetPattern() []*DevicePattern
func (*Configuration) GetSyncthing ¶
func (x *Configuration) GetSyncthing() []*SyncthingInstance
func (*Configuration) ProtoMessage ¶
func (*Configuration) ProtoMessage()
func (*Configuration) ProtoReflect ¶
func (x *Configuration) ProtoReflect() protoreflect.Message
func (*Configuration) Reset ¶
func (x *Configuration) Reset()
func (*Configuration) String ¶
func (x *Configuration) String() string
func (*Configuration) Validate ¶
func (c *Configuration) Validate() error
type CopyRangeMethod ¶
type CopyRangeMethod int32
const ( CopyRangeMethod_COPY_RANGE_STANDARD CopyRangeMethod = 0 CopyRangeMethod_COPY_RANGE_IOCTL CopyRangeMethod = 1 CopyRangeMethod_COPY_RANGE_COPY_FILE_RANGE CopyRangeMethod = 2 CopyRangeMethod_COPY_RANGE_SEND_FILE CopyRangeMethod = 3 CopyRangeMethod_COPY_RANGE_DUPLICATE_EXTENTS CopyRangeMethod = 4 CopyRangeMethod_COPY_RANGE_ALL_WITH_FALLBACK CopyRangeMethod = 5 )
func (CopyRangeMethod) Descriptor ¶
func (CopyRangeMethod) Descriptor() protoreflect.EnumDescriptor
func (CopyRangeMethod) Enum ¶
func (x CopyRangeMethod) Enum() *CopyRangeMethod
func (CopyRangeMethod) EnumDescriptor
deprecated
func (CopyRangeMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use CopyRangeMethod.Descriptor instead.
func (CopyRangeMethod) Number ¶
func (x CopyRangeMethod) Number() protoreflect.EnumNumber
func (CopyRangeMethod) String ¶
func (x CopyRangeMethod) String() string
func (CopyRangeMethod) Type ¶
func (CopyRangeMethod) Type() protoreflect.EnumType
type DeviceConfiguration ¶
type DeviceConfiguration struct {
Addresses []string `protobuf:"bytes,3,rep,name=addresses,proto3" json:"addresses,omitempty"`
AllowedNetworks []string `protobuf:"bytes,10,rep,name=allowed_networks,json=allowedNetworks,proto3" json:"allowed_networks,omitempty"`
AutoAcceptFolders bool `protobuf:"varint,11,opt,name=auto_accept_folders,json=autoAcceptFolders,proto3" json:"auto_accept_folders,omitempty"`
MaxSendKbps int32 `protobuf:"varint,12,opt,name=max_send_kbps,json=maxSendKbps,proto3" json:"max_send_kbps,omitempty"`
MaxRecvKbps int32 `protobuf:"varint,13,opt,name=max_recv_kbps,json=maxRecvKbps,proto3" json:"max_recv_kbps,omitempty"`
MaxRequestKib int32 `protobuf:"varint,16,opt,name=max_request_kib,json=maxRequestKib,proto3" json:"max_request_kib,omitempty"`
NumConnections int32 `protobuf:"varint,19,opt,name=num_connections,json=numConnections,proto3" json:"num_connections,omitempty"`
// contains filtered or unexported fields
}
func (*DeviceConfiguration) Descriptor
deprecated
func (*DeviceConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use DeviceConfiguration.ProtoReflect.Descriptor instead.
func (*DeviceConfiguration) GetAddresses ¶
func (x *DeviceConfiguration) GetAddresses() []string
func (*DeviceConfiguration) GetAllowedNetworks ¶
func (x *DeviceConfiguration) GetAllowedNetworks() []string
func (*DeviceConfiguration) GetAutoAcceptFolders ¶
func (x *DeviceConfiguration) GetAutoAcceptFolders() bool
func (*DeviceConfiguration) GetMaxRecvKbps ¶
func (x *DeviceConfiguration) GetMaxRecvKbps() int32
func (*DeviceConfiguration) GetMaxRequestKib ¶
func (x *DeviceConfiguration) GetMaxRequestKib() int32
func (*DeviceConfiguration) GetMaxSendKbps ¶
func (x *DeviceConfiguration) GetMaxSendKbps() int32
func (*DeviceConfiguration) GetNumConnections ¶
func (x *DeviceConfiguration) GetNumConnections() int32
func (*DeviceConfiguration) ProtoMessage ¶
func (*DeviceConfiguration) ProtoMessage()
func (*DeviceConfiguration) ProtoReflect ¶
func (x *DeviceConfiguration) ProtoReflect() protoreflect.Message
func (*DeviceConfiguration) Reset ¶
func (x *DeviceConfiguration) Reset()
func (*DeviceConfiguration) String ¶
func (x *DeviceConfiguration) String() string
type DevicePattern ¶
type DevicePattern struct {
Folder []*FolderPattern `protobuf:"bytes,1,rep,name=folder,proto3" json:"folder,omitempty"`
AcceptCidr []string `protobuf:"bytes,2,rep,name=accept_cidr,json=acceptCidr,proto3" json:"accept_cidr,omitempty"`
Settings *DeviceConfiguration `protobuf:"bytes,3,opt,name=settings,proto3" json:"settings,omitempty"`
// contains filtered or unexported fields
}
func (*DevicePattern) Descriptor
deprecated
func (*DevicePattern) Descriptor() ([]byte, []int)
Deprecated: Use DevicePattern.ProtoReflect.Descriptor instead.
func (*DevicePattern) GetAcceptCidr ¶
func (x *DevicePattern) GetAcceptCidr() []string
func (*DevicePattern) GetFolder ¶
func (x *DevicePattern) GetFolder() []*FolderPattern
func (*DevicePattern) GetSettings ¶
func (x *DevicePattern) GetSettings() *DeviceConfiguration
func (*DevicePattern) MatchesAddress ¶
func (p *DevicePattern) MatchesAddress(addr netip.Addr) bool
func (*DevicePattern) ProtoMessage ¶
func (*DevicePattern) ProtoMessage()
func (*DevicePattern) ProtoReflect ¶
func (x *DevicePattern) ProtoReflect() protoreflect.Message
func (*DevicePattern) Reset ¶
func (x *DevicePattern) Reset()
func (*DevicePattern) String ¶
func (x *DevicePattern) String() string
func (*DevicePattern) Validate ¶
func (p *DevicePattern) Validate() error
type FolderConfiguration ¶
type FolderConfiguration struct {
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
Type FolderType `protobuf:"varint,5,opt,name=type,proto3,enum=config.FolderType" json:"type,omitempty"`
RescanIntervalS int32 `protobuf:"varint,7,opt,name=rescan_interval_s,json=rescanIntervalS,proto3" json:"rescan_interval_s,omitempty"`
FsWatcherDisabled bool `protobuf:"varint,8,opt,name=fs_watcher_disabled,json=fsWatcherDisabled,proto3" json:"fs_watcher_disabled,omitempty"`
FsWatcherDelayS float64 `protobuf:"fixed64,9,opt,name=fs_watcher_delay_s,json=fsWatcherDelayS,proto3" json:"fs_watcher_delay_s,omitempty"`
IgnorePermissions bool `protobuf:"varint,10,opt,name=ignore_permissions,json=ignorePermissions,proto3" json:"ignore_permissions,omitempty"`
NoAutoNormalize bool `protobuf:"varint,11,opt,name=no_auto_normalize,json=noAutoNormalize,proto3" json:"no_auto_normalize,omitempty"`
MinDiskFree *Size `protobuf:"bytes,12,opt,name=min_disk_free,json=minDiskFree,proto3" json:"min_disk_free,omitempty"`
Copiers int32 `protobuf:"varint,14,opt,name=copiers,proto3" json:"copiers,omitempty"`
PullerMaxPendingKib int32 `protobuf:"varint,15,opt,name=puller_max_pending_kib,json=pullerMaxPendingKib,proto3" json:"puller_max_pending_kib,omitempty"`
Hashers int32 `protobuf:"varint,16,opt,name=hashers,proto3" json:"hashers,omitempty"`
Order PullOrder `protobuf:"varint,17,opt,name=order,proto3,enum=config.PullOrder" json:"order,omitempty"`
IgnoreDelete bool `protobuf:"varint,18,opt,name=ignore_delete,json=ignoreDelete,proto3" json:"ignore_delete,omitempty"`
ScanProgressIntervalS int32 `` /* 130-byte string literal not displayed */
PullerPauseS int32 `protobuf:"varint,20,opt,name=puller_pause_s,json=pullerPauseS,proto3" json:"puller_pause_s,omitempty"`
MaxConflicts int32 `protobuf:"varint,21,opt,name=max_conflicts,json=maxConflicts,proto3" json:"max_conflicts,omitempty"`
DisableSparseFiles bool `protobuf:"varint,22,opt,name=disable_sparse_files,json=disableSparseFiles,proto3" json:"disable_sparse_files,omitempty"`
DisableTempIndexes bool `protobuf:"varint,23,opt,name=disable_temp_indexes,json=disableTempIndexes,proto3" json:"disable_temp_indexes,omitempty"`
WeakHashThresholdPct int32 `` /* 127-byte string literal not displayed */
MarkerName string `protobuf:"bytes,26,opt,name=marker_name,json=markerName,proto3" json:"marker_name,omitempty"`
CopyOwnershipFromParent bool `` /* 136-byte string literal not displayed */
ModTimeWindowS int32 `protobuf:"varint,28,opt,name=mod_time_window_s,json=modTimeWindowS,proto3" json:"mod_time_window_s,omitempty"`
MaxConcurrentWrites int32 `protobuf:"varint,29,opt,name=max_concurrent_writes,json=maxConcurrentWrites,proto3" json:"max_concurrent_writes,omitempty"`
DisableFsync bool `protobuf:"varint,30,opt,name=disable_fsync,json=disableFsync,proto3" json:"disable_fsync,omitempty"`
BlockPullOrder BlockPullOrder `` /* 134-byte string literal not displayed */
CopyRangeMethod CopyRangeMethod `` /* 138-byte string literal not displayed */
CaseSensitiveFs bool `protobuf:"varint,33,opt,name=case_sensitive_fs,json=caseSensitiveFs,proto3" json:"case_sensitive_fs,omitempty"`
FollowJunctions bool `protobuf:"varint,34,opt,name=follow_junctions,json=followJunctions,proto3" json:"follow_junctions,omitempty"`
SyncOwnership bool `protobuf:"varint,35,opt,name=sync_ownership,json=syncOwnership,proto3" json:"sync_ownership,omitempty"`
SendOwnership bool `protobuf:"varint,36,opt,name=send_ownership,json=sendOwnership,proto3" json:"send_ownership,omitempty"`
SyncXattrs bool `protobuf:"varint,37,opt,name=sync_xattrs,json=syncXattrs,proto3" json:"sync_xattrs,omitempty"`
SendXattrs bool `protobuf:"varint,38,opt,name=send_xattrs,json=sendXattrs,proto3" json:"send_xattrs,omitempty"`
// contains filtered or unexported fields
}
func (*FolderConfiguration) Descriptor
deprecated
func (*FolderConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use FolderConfiguration.ProtoReflect.Descriptor instead.
func (*FolderConfiguration) GetBlockPullOrder ¶
func (x *FolderConfiguration) GetBlockPullOrder() BlockPullOrder
func (*FolderConfiguration) GetCaseSensitiveFs ¶
func (x *FolderConfiguration) GetCaseSensitiveFs() bool
func (*FolderConfiguration) GetCopiers ¶
func (x *FolderConfiguration) GetCopiers() int32
func (*FolderConfiguration) GetCopyOwnershipFromParent ¶
func (x *FolderConfiguration) GetCopyOwnershipFromParent() bool
func (*FolderConfiguration) GetCopyRangeMethod ¶
func (x *FolderConfiguration) GetCopyRangeMethod() CopyRangeMethod
func (*FolderConfiguration) GetDisableFsync ¶
func (x *FolderConfiguration) GetDisableFsync() bool
func (*FolderConfiguration) GetDisableSparseFiles ¶
func (x *FolderConfiguration) GetDisableSparseFiles() bool
func (*FolderConfiguration) GetDisableTempIndexes ¶
func (x *FolderConfiguration) GetDisableTempIndexes() bool
func (*FolderConfiguration) GetFollowJunctions ¶
func (x *FolderConfiguration) GetFollowJunctions() bool
func (*FolderConfiguration) GetFsWatcherDelayS ¶
func (x *FolderConfiguration) GetFsWatcherDelayS() float64
func (*FolderConfiguration) GetFsWatcherDisabled ¶
func (x *FolderConfiguration) GetFsWatcherDisabled() bool
func (*FolderConfiguration) GetHashers ¶
func (x *FolderConfiguration) GetHashers() int32
func (*FolderConfiguration) GetIgnoreDelete ¶
func (x *FolderConfiguration) GetIgnoreDelete() bool
func (*FolderConfiguration) GetIgnorePermissions ¶
func (x *FolderConfiguration) GetIgnorePermissions() bool
func (*FolderConfiguration) GetLabel ¶
func (x *FolderConfiguration) GetLabel() string
func (*FolderConfiguration) GetMarkerName ¶
func (x *FolderConfiguration) GetMarkerName() string
func (*FolderConfiguration) GetMaxConcurrentWrites ¶
func (x *FolderConfiguration) GetMaxConcurrentWrites() int32
func (*FolderConfiguration) GetMaxConflicts ¶
func (x *FolderConfiguration) GetMaxConflicts() int32
func (*FolderConfiguration) GetMinDiskFree ¶
func (x *FolderConfiguration) GetMinDiskFree() *Size
func (*FolderConfiguration) GetModTimeWindowS ¶
func (x *FolderConfiguration) GetModTimeWindowS() int32
func (*FolderConfiguration) GetNoAutoNormalize ¶
func (x *FolderConfiguration) GetNoAutoNormalize() bool
func (*FolderConfiguration) GetOrder ¶
func (x *FolderConfiguration) GetOrder() PullOrder
func (*FolderConfiguration) GetPath ¶
func (x *FolderConfiguration) GetPath() string
func (*FolderConfiguration) GetPullerMaxPendingKib ¶
func (x *FolderConfiguration) GetPullerMaxPendingKib() int32
func (*FolderConfiguration) GetPullerPauseS ¶
func (x *FolderConfiguration) GetPullerPauseS() int32
func (*FolderConfiguration) GetRescanIntervalS ¶
func (x *FolderConfiguration) GetRescanIntervalS() int32
func (*FolderConfiguration) GetScanProgressIntervalS ¶
func (x *FolderConfiguration) GetScanProgressIntervalS() int32
func (*FolderConfiguration) GetSendOwnership ¶
func (x *FolderConfiguration) GetSendOwnership() bool
func (*FolderConfiguration) GetSendXattrs ¶
func (x *FolderConfiguration) GetSendXattrs() bool
func (*FolderConfiguration) GetSyncOwnership ¶
func (x *FolderConfiguration) GetSyncOwnership() bool
func (*FolderConfiguration) GetSyncXattrs ¶
func (x *FolderConfiguration) GetSyncXattrs() bool
func (*FolderConfiguration) GetType ¶
func (x *FolderConfiguration) GetType() FolderType
func (*FolderConfiguration) GetWeakHashThresholdPct ¶
func (x *FolderConfiguration) GetWeakHashThresholdPct() int32
func (*FolderConfiguration) ProtoMessage ¶
func (*FolderConfiguration) ProtoMessage()
func (*FolderConfiguration) ProtoReflect ¶
func (x *FolderConfiguration) ProtoReflect() protoreflect.Message
func (*FolderConfiguration) Reset ¶
func (x *FolderConfiguration) Reset()
func (*FolderConfiguration) String ¶
func (x *FolderConfiguration) String() string
type FolderPattern ¶
type FolderPattern struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Settings *FolderConfiguration `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"`
// contains filtered or unexported fields
}
func (*FolderPattern) Descriptor
deprecated
func (*FolderPattern) Descriptor() ([]byte, []int)
Deprecated: Use FolderPattern.ProtoReflect.Descriptor instead.
func (*FolderPattern) GetId ¶
func (x *FolderPattern) GetId() string
func (*FolderPattern) GetSettings ¶
func (x *FolderPattern) GetSettings() *FolderConfiguration
func (*FolderPattern) ProtoMessage ¶
func (*FolderPattern) ProtoMessage()
func (*FolderPattern) ProtoReflect ¶
func (x *FolderPattern) ProtoReflect() protoreflect.Message
func (*FolderPattern) Reset ¶
func (x *FolderPattern) Reset()
func (*FolderPattern) String ¶
func (x *FolderPattern) String() string
type FolderType ¶
type FolderType int32
const ( FolderType_SEND_RECEIVE FolderType = 0 FolderType_SEND_ONLY FolderType = 1 FolderType_RECEIVE_ONLY FolderType = 2 FolderType_RECEIVE_ENCRYPTED FolderType = 3 )
func (FolderType) Descriptor ¶
func (FolderType) Descriptor() protoreflect.EnumDescriptor
func (FolderType) Enum ¶
func (x FolderType) Enum() *FolderType
func (FolderType) EnumDescriptor
deprecated
func (FolderType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FolderType.Descriptor instead.
func (FolderType) Number ¶
func (x FolderType) Number() protoreflect.EnumNumber
func (FolderType) String ¶
func (x FolderType) String() string
func (FolderType) Type ¶
func (FolderType) Type() protoreflect.EnumType
type GarbageCollection ¶
type GarbageCollection struct {
RunEveryS int32 `protobuf:"varint,1,opt,name=run_every_s,json=runEveryS,proto3" json:"run_every_s,omitempty"`
UnseenDevicesDays int32 `protobuf:"varint,2,opt,name=unseen_devices_days,json=unseenDevicesDays,proto3" json:"unseen_devices_days,omitempty"`
// contains filtered or unexported fields
}
func (*GarbageCollection) Descriptor
deprecated
func (*GarbageCollection) Descriptor() ([]byte, []int)
Deprecated: Use GarbageCollection.ProtoReflect.Descriptor instead.
func (*GarbageCollection) GetRunEveryS ¶
func (x *GarbageCollection) GetRunEveryS() int32
func (*GarbageCollection) GetUnseenDevicesDays ¶
func (x *GarbageCollection) GetUnseenDevicesDays() int32
func (*GarbageCollection) GetUnsharedFolders ¶
func (x *GarbageCollection) GetUnsharedFolders() bool
func (*GarbageCollection) ProtoMessage ¶
func (*GarbageCollection) ProtoMessage()
func (*GarbageCollection) ProtoReflect ¶
func (x *GarbageCollection) ProtoReflect() protoreflect.Message
func (*GarbageCollection) Reset ¶
func (x *GarbageCollection) Reset()
func (*GarbageCollection) String ¶
func (x *GarbageCollection) String() string
type PullOrder ¶
type PullOrder int32
func (PullOrder) Descriptor ¶
func (PullOrder) Descriptor() protoreflect.EnumDescriptor
func (PullOrder) EnumDescriptor
deprecated
func (PullOrder) Number ¶
func (x PullOrder) Number() protoreflect.EnumNumber
func (PullOrder) Type ¶
func (PullOrder) Type() protoreflect.EnumType
type Size ¶
type Size struct {
Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
Unit string `protobuf:"bytes,2,opt,name=unit,proto3" json:"unit,omitempty"`
// contains filtered or unexported fields
}
func (*Size) Descriptor
deprecated
func (*Size) ProtoMessage ¶
func (*Size) ProtoMessage()
func (*Size) ProtoReflect ¶
func (x *Size) ProtoReflect() protoreflect.Message
type SyncthingInstance ¶
type SyncthingInstance struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
// contains filtered or unexported fields
}
func (*SyncthingInstance) Descriptor
deprecated
func (*SyncthingInstance) Descriptor() ([]byte, []int)
Deprecated: Use SyncthingInstance.ProtoReflect.Descriptor instead.
func (*SyncthingInstance) GetAddress ¶
func (x *SyncthingInstance) GetAddress() string
func (*SyncthingInstance) GetApiKey ¶
func (x *SyncthingInstance) GetApiKey() string
func (*SyncthingInstance) ProtoMessage ¶
func (*SyncthingInstance) ProtoMessage()
func (*SyncthingInstance) ProtoReflect ¶
func (x *SyncthingInstance) ProtoReflect() protoreflect.Message
func (*SyncthingInstance) Reset ¶
func (x *SyncthingInstance) Reset()
func (*SyncthingInstance) String ¶
func (x *SyncthingInstance) String() string