Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
nogfsoctl
Command `nogfsoctl` to control FSO registries and repos via `nogfsoregd` and `nogfsostad`.
|
Command `nogfsoctl` to control FSO registries and repos via `nogfsoregd` and `nogfsostad`. |
nogfsodomd
Server `nogfsodomd`.
|
Server `nogfsodomd`. |
nogfsog2nd
Server `nogfsog2nd`; see NOE-13.
|
Server `nogfsog2nd`; see NOE-13. |
nogfsoregd
Server `nogfsoregd`; see NOE-13.
|
Server `nogfsoregd`; see NOE-13. |
nogfsorstd
Server `nogfsorstd`; see NOE-24.
|
Server `nogfsorstd`; see NOE-24. |
nogfsoschd
Nog FSO schedule server `nogfsoschd`.
|
Nog FSO schedule server `nogfsoschd`. |
nogfsostad
Server `nogfsostad`; see NOE-13.
|
Server `nogfsostad`; see NOE-13. |
nogfsostasvsd
Server `nogfsostasvsd`.
|
Server `nogfsostasvsd`. |
tartt/drivers
Package `tartt/drivers` contains the interfaces that allow customizing, through a store driver, how tartt stores data.
|
Package `tartt/drivers` contains the interfaces that allow customizing, through a store driver, how tartt stores data. |
test-git2go
Command `test-git2go` tests that package git2go works.
|
Command `test-git2go` tests that package git2go works. |
internal
|
|
events
Package `events` implements event sourcing with MongoDB as the event store.
|
Package `events` implements event sourcing with MongoDB as the event store. |
fsomain
Package `fsomain` implements an event-sourced aggregate that contains the FSO filesystem observer main root entity.
|
Package `fsomain` implements an event-sourced aggregate that contains the FSO filesystem observer main root entity. |
fsoregistry
Package `fsoregistry` implements an event-sourced aggregate that contains FSO registries.
|
Package `fsoregistry` implements an event-sourced aggregate that contains FSO registries. |
fsorepos
Package `fsorepos` implements an event-sourced aggregate that contains FSO repos.
|
Package `fsorepos` implements an event-sourced aggregate that contains FSO repos. |
nogfsog2nd
Package `nogfsog2nd` implements modules that are combined in `cmd/nogfsog2nd`.
|
Package `nogfsog2nd` implements modules that are combined in `cmd/nogfsog2nd`. |
nogfsoregd
Package `nogfsoregd` implements modules that are combined in `cmd/nogfsoregd`.
|
Package `nogfsoregd` implements modules that are combined in `cmd/nogfsoregd`. |
nogfsoregd/maind
Package `maind`: GRPC service `nogfso.Main` to access the FSO main root entity.
|
Package `maind`: GRPC service `nogfso.Main` to access the FSO main root entity. |
nogfsoregd/registryd
Package `registryd`: GRPC service `nogfso.Registry` to access the FSO registry.
|
Package `registryd`: GRPC service `nogfso.Registry` to access the FSO registry. |
nogfsoregd/registryinit
`registryinit.Processor` watches an `fsomain` event journal and tells `fsoregistry` to initialize registry entities.
|
`registryinit.Processor` watches an `fsomain` event journal and tells `fsoregistry` to initialize registry entities. |
nogfsoregd/replicate
`replicate.Processor` watches event journals and replicates selected events to other journals.
|
`replicate.Processor` watches event journals and replicates selected events to other journals. |
nogfsoregd/repoinit
`repoinit.Processor` watches a `fsoregistry` event journal and tells `fsorepos.Repos` to initialize repo instances.
|
`repoinit.Processor` watches a `fsoregistry` event journal and tells `fsorepos.Repos` to initialize repo instances. |
nogfsoregd/reposd
Package `reposd`: GRPC service `nogfso.Repos` to access the FSO repos.
|
Package `reposd`: GRPC service `nogfso.Repos` to access the FSO repos. |
nogfsostad
Package `nogfsostad` implements modules that are combined in `cmd/nogfsostad`.
|
Package `nogfsostad` implements modules that are combined in `cmd/nogfsostad`. |
nogfsostad/gits
Package `gits`: Init GitLab projects.
|
Package `gits`: Init GitLab projects. |
nogfsostad/observer6
Package `observer6` contains `Observer` to watch for registry and repo events and trigger actions on a `Processor`, specifically `nogfsostad.Processor`.
|
Package `observer6` contains `Observer` to watch for registry and repo events and trigger actions on a `Processor`, specifically `nogfsostad.Processor`. |
nogfsostad/privileges/udodprivileges
Package `privileges/udodprivileges` implements interfaces from `privileges/privileges` by gRPCs to a `privileges/daemons.Daemon`.
|
Package `privileges/udodprivileges` implements interfaces from `privileges/privileges` by gRPCs to a `privileges/daemons.Daemon`. |
nogfsostad/shadows
Package `shadows`: FSO shadow repos.
|
Package `shadows`: FSO shadow repos. |
nogfsostad/statd
Package `statd`: GRPC service `nogfso.Stat`.
|
Package `statd`: GRPC service `nogfso.Stat`. |
process/grpcentities
Package `grpcentities` contains interfaces for running entity activities via gRPC.
|
Package `grpcentities` contains interfaces for running entity activities via gRPC. |
shorter
Package `shorter` is a name shorting service backed by MongoDB.
|
Package `shorter` is a name shorting service backed by MongoDB. |
shorteruuid
Package `shorteruuid` is a name shorting service using RFC 4122 version 5 SHA-1-based UUIDs.
|
Package `shorteruuid` is a name shorting service using RFC 4122 version 5 SHA-1-based UUIDs. |
workflows/archiverepowf
Package `archiverepowf` implements the archive-repo ephemeral workflow.
|
Package `archiverepowf` implements the archive-repo ephemeral workflow. |
workflows/durootwf
Package `durootwf` implements the du-root ephemeral workflow, which runs the Unix command `du` on an FSO root.
|
Package `durootwf` implements the du-root ephemeral workflow, which runs the Unix command `du` on an FSO root. |
workflows/events
Package `workflows/events` helps with handling lowlevel `WorkflowEvent` protos.
|
Package `workflows/events` helps with handling lowlevel `WorkflowEvent` protos. |
workflows/freezerepowf
Package `freezerepowf` implements the freeze-repo ephemeral workflow.
|
Package `freezerepowf` implements the freeze-repo ephemeral workflow. |
workflows/moverepowf
Package `moverepowf` implements the move-repo workflow, which simultaneously changes the location of a real repo and its shadow repo.
|
Package `moverepowf` implements the move-repo workflow, which simultaneously changes the location of a real repo and its shadow repo. |
workflows/moveshadowwf
Package `moveshadowwf` implements the move-shadow workflow, which changes the location of a shadow repo.
|
Package `moveshadowwf` implements the move-shadow workflow, which changes the location of a shadow repo. |
workflows/pingregistrywf
Package `pingregistrywf` implements the ping-registry ephemeral workflow, which gathers pings from the daemons that watch a registry.
|
Package `pingregistrywf` implements the ping-registry ephemeral workflow, which gathers pings from the daemons that watch a registry. |
workflows/splitrootwf
Package `splitrootwf` implements the split-root ephemeral workflow, which analyzes the disk usage below a root an suggests new repos.
|
Package `splitrootwf` implements the split-root ephemeral workflow, which analyzes the disk usage below a root an suggests new repos. |
workflows/unarchiverepowf
Package `unarchiverepowf` implements the unarchive-repo ephemeral workflow.
|
Package `unarchiverepowf` implements the unarchive-repo ephemeral workflow. |
workflows/unfreezerepowf
Package `unfreezerepowf` implements the unfreeze-repo ephemeral workflow.
|
Package `unfreezerepowf` implements the unfreeze-repo ephemeral workflow. |
pkg
|
|
auth
Package `auth` contains basic types for authentication and authorization.
|
Package `auth` contains basic types for authentication and authorization. |
errorsx
Package `errorsx` implements error unwrapping and checking inspired by the Go 2 draft design document "Error Values — Problem Overview", <https://go.googlesource.com/proposal/+/master/design/go2draft-error-values-overview.md>.
|
Package `errorsx` implements error unwrapping and checking inspired by the Go 2 draft design document "Error Values — Problem Overview", <https://go.googlesource.com/proposal/+/master/design/go2draft-error-values-overview.md>. |
execx
Package `execx` provides utility functions that supplement the stdlib package `os/exec`.
|
Package `execx` provides utility functions that supplement the stdlib package `os/exec`. |
flock
Package `flock` wraps syscall `flock(2)`.
|
Package `flock` wraps syscall `flock(2)`. |
gitlab
Package `gitlab` wraps a subset of `github.com/xanzy/go-gitlab`; only what other Nog packages use.
|
Package `gitlab` wraps a subset of `github.com/xanzy/go-gitlab`; only what other Nog packages use. |
grpc/ucred
Package `ucred` provides `SO_PEERCRED` auth for gRPC over a Unix domain socket.
|
Package `ucred` provides `SO_PEERCRED` auth for gRPC over a Unix domain socket. |
mgo
Package `mgo` wraps `gopkg.in/mgo.v2`.
|
Package `mgo` wraps `gopkg.in/mgo.v2`. |
mulog
Package `mulog` provides minimal Zap-Sugar-like loggers with convenient structured logging `Levelw(msg, kv...)` functions.
|
Package `mulog` provides minimal Zap-Sugar-like loggers with convenient structured logging `Levelw(msg, kv...)` functions. |
pwd
Package `pwd` wraps system password functions `getpwnam(3)` and `getpwuid()`.
|
Package `pwd` wraps system password functions `getpwnam(3)` and `getpwuid()`. |
ratecounter
Package `ratecounter` is the subset of `paulbellamy/ratecounter` that we use.
|
Package `ratecounter` is the subset of `paulbellamy/ratecounter` that we use. |
ratelimit
Package `ratelimit` wraps the subset of `github.com/juju/ratelimit` that other Nog packages use.
|
Package `ratelimit` wraps the subset of `github.com/juju/ratelimit` that other Nog packages use. |
regexpx
Package `regexpx` contains functions that complement the standard package `regexp`.
|
Package `regexpx` contains functions that complement the standard package `regexp`. |
tarquote
Package `tarquote` converts quoted tar member names to UTF-8 strings.
|
Package `tarquote` converts quoted tar member names to UTF-8 strings. |
uuid
Package `uuid` is a subset of `google/uuid`.
|
Package `uuid` is a subset of `google/uuid`. |
x509io
Package `x509io` contains functions to load certs from disk.
|
Package `x509io` contains functions to load certs from disk. |
zap
Package `zap` wraps Zap logging.
|
Package `zap` wraps Zap logging. |
tools
|
|
Click to show internal directories.
Click to hide internal directories.