2024-06-12 08:18:33 +00:00
|
|
|
// Package garage contains types and helpers related to interacting with garage
|
|
|
|
// processes via garage's APIs.
|
2021-04-20 21:31:37 +00:00
|
|
|
package garage
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
|
|
|
// Region is the region which garage is configured with.
|
|
|
|
Region = "garage"
|
|
|
|
|
|
|
|
// GlobalBucket is the name of the global garage bucket which is
|
|
|
|
// accessible to all hosts in the network.
|
2023-08-13 14:14:59 +00:00
|
|
|
GlobalBucket = "global-shared"
|
2022-10-16 20:17:26 +00:00
|
|
|
|
2024-07-13 12:34:06 +00:00
|
|
|
// GlobalBucketS3APICredentialsName is the main alias of the shared API key
|
|
|
|
// used to write to the global bucket.
|
2024-06-12 08:53:06 +00:00
|
|
|
GlobalBucketS3APICredentialsName = "global-shared-key"
|
|
|
|
|
2022-10-16 20:17:26 +00:00
|
|
|
// ReplicationFactor indicates the replication factor set on the garage
|
|
|
|
// cluster. We currently only support a factor of 3.
|
|
|
|
ReplicationFactor = 3
|
2021-04-20 21:31:37 +00:00
|
|
|
)
|