perkeep/internal/osutil
Brad Fitzpatrick f3f38f0c76 perkeepd, serverinit, gce: opaque-ify serverinit.Config, trim camlistored.go
This change has two major parts, which were interwoven enough to do
them in one change:

1) make serverinit.Config fully opaque, in prep for TOML configs #1134

2) shrink the massive server/perkeepd/camlistored.go file. It was out
   of control and had a bunch of code that better belonged
   elsewhere. This change moves a few hundred lines of code from
   camlistored.go into more logical places: internal/osutil/gce for
   GCE stuff, serverinit for config stuff (KeyRingAndId), etc.

I also added a TODO to make it possible to compile perkeepd without
any GCE stuff, which I saw as a possible and worthy goal only after
moving everything away.

Updates #1134

Change-Id: Iea6f84c5aca9c70b97806f4a201ec35e0f630e3b
2018-05-13 15:50:10 -07:00
..
gce perkeepd, serverinit, gce: opaque-ify serverinit.Config, trim camlistored.go 2018-05-13 15:50:10 -07:00
cpu.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
cpu_freebsd.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
cpu_linux.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
findproc_appengine.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
findproc_normal.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
mem.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
mem_unix.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
openurl.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
osutil.go all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
paths.go internal/osutil: revert to using "test safe" func for identitySecretRing 2018-05-12 02:12:03 +02:00
paths_test.go osutil: fix Windows use old Camlistore-named APPDATA directory 2018-05-07 20:52:13 -07:00
restart_freebsd.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
restart_stub.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
restart_unix.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
restart_windows.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
syscall.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
syscall_appengine.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
syscall_posix.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
syscall_solaris.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00
syscall_windows.go Move more packages out of pkg/ and into internal/ 2018-01-02 21:03:30 -08:00