Documentation ¶
Overview ¶
The server component main package for Varasto
Index ¶
Constants ¶
View Source
const FIXMEsystemUserId = ""
current middlewares has this empty too
Variables ¶
This section is empty.
Functions ¶
func Entrypoint ¶
Types ¶
type ReconciliationCompletionReport ¶
type ReconciliationCompletionReport struct { Timestamp time.Time // of report start (because that's what the tx sees) TotalCollections int EmptyCollectionIds []string EmptyDirectoryIds []string CollectionsWithNonCompliantPolicy []collectionToReconcile }
func NewReconciliationCompletionReport ¶
func NewReconciliationCompletionReport() *ReconciliationCompletionReport
type ServerConfig ¶
type ServerConfig struct { File ServerConfigFile SelfNodeId string SelfNodeSmartBackend stoservertypes.SmartBackend ClusterWideMounts map[int]stotypes.VolumeMount DiskAccess *stodiskaccess.Controller // only for mounts on self node ClientsAuthTokens map[string]bool LogTail *logtee.StringTail ReplicationControllers map[int]*storeplication.Controller Scheduler *scheduler.Controller MediaScanner *subsystem FuseProjector *subsystem TlsCertificate wrappedKeypair KeyStore *stokeystore.Store FailedMountNames []string Metrics *metricsController }
type ServerConfigFile ¶
Source Files ¶
- backupcommandhandler.go
- commandhandlers.go
- commandhandlerscollectionmutations.go
- commandhandlersdatamanagement.go
- commandhandlerskek.go
- commandhandlersmetadata.go
- commandhandlersscheduledjobs.go
- crypto.go
- entrypoint.go
- health.go
- metrics.go
- restapi.go
- restapichangefeed.go
- restapiconversions.go
- restapiintegrations.go
- scheduledjobs.go
- schemamigrations.go
- server.go
- updatechecker.go
- utils.go
Directories ¶
Path | Synopsis |
---|---|
Encapsulates access to the metadata database
|
Encapsulates access to the metadata database |
logic for importing/exporting the metadata database into a file
|
logic for importing/exporting the metadata database into a file |
diskaccess ties together DB metadata read/write in addition to writing to disk
|
diskaccess ties together DB metadata read/write in addition to writing to disk |
Health checks for Varasto server
|
Health checks for Varasto server |
Responsible for integrity of your data by periodically scanning your volumes to detect bit rot and hardware failures.
|
Responsible for integrity of your data by periodically scanning your volumes to detect bit rot and hardware failures. |
Controls replication of data between volumes
|
Controls replication of data between volumes |
Click to show internal directories.
Click to hide internal directories.