// Default TCP address on which to listen for requests.
// Initialized by the --listen flag.
- const DEFAULT_ADDR = ":25107"
+ const DefaultAddr = ":25107"
// A Keep "block" is 64MB.
- const BLOCKSIZE = 64 * 1024 * 1024
+ const BlockSize = 64 * 1024 * 1024
- // A Keep volume must have at least MIN_FREE_KILOBYTES available
+ // A Keep volume must have at least MinFreeKilobytes available
// in order to permit writes.
- const MIN_FREE_KILOBYTES = BLOCKSIZE / 1024
+ const MinFreeKilobytes = BlockSize / 1024
- // However, allow it to be false in testing.
+// Until #6221 is resolved, never_delete must be true.
- var PROC_MOUNTS = "/proc/mounts"
++// However, allow it to be false in testing with TEST_DATA_MANAGER_TOKEN
+const TEST_DATA_MANAGER_TOKEN = "4axaw8zxe0qm22wa6urpp5nskcne8z88cvbupv653y1njyi05h"
+
+ // ProcMounts /proc/mounts
+ var ProcMounts = "/proc/mounts"
- // enforce_permissions controls whether permission signatures
+ // enforcePermissions controls whether permission signatures
// should be enforced (affecting GET and DELETE requests).
// Initialized by the -enforce-permissions flag.
- var enforce_permissions bool
+ var enforcePermissions bool
// blob_signature_ttl is the time duration for which new permission
// signatures (returned by PUT requests) will be valid.