Directories ¶
Path | Synopsis |
---|---|
backend
|
|
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`. |
cmd/nogfsodomd
Server `nogfsodomd`.
|
Server `nogfsodomd`. |
cmd/nogfsog2nd
Server `nogfsog2nd`; see NOE-13.
|
Server `nogfsog2nd`; see NOE-13. |
cmd/nogfsoregd
Server `nogfsoregd`; see NOE-13.
|
Server `nogfsoregd`; see NOE-13. |
cmd/nogfsorstd
Server `nogfsorstd`; see NOE-24.
|
Server `nogfsorstd`; see NOE-24. |
cmd/nogfsoschd
Nog FSO schedule server `nogfsoschd`.
|
Nog FSO schedule server `nogfsoschd`. |
cmd/nogfsostad
Server `nogfsostad`; see NOE-13.
|
Server `nogfsostad`; see NOE-13. |
cmd/nogfsostasvsd
Server `nogfsostasvsd`.
|
Server `nogfsostasvsd`. |
cmd/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. |
cmd/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. |
internal/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. |
internal/fsoregistry
Package `fsoregistry` implements an event-sourced aggregate that contains FSO registries.
|
Package `fsoregistry` implements an event-sourced aggregate that contains FSO registries. |
internal/fsorepos
Package `fsorepos` implements an event-sourced aggregate that contains FSO repos.
|
Package `fsorepos` implements an event-sourced aggregate that contains FSO repos. |
internal/nogfsog2nd
Package `nogfsog2nd` implements modules that are combined in `cmd/nogfsog2nd`.
|
Package `nogfsog2nd` implements modules that are combined in `cmd/nogfsog2nd`. |
internal/nogfsoregd
Package `nogfsoregd` implements modules that are combined in `cmd/nogfsoregd`.
|
Package `nogfsoregd` implements modules that are combined in `cmd/nogfsoregd`. |
internal/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. |
internal/nogfsoregd/registryd
Package `registryd`: GRPC service `nogfso.Registry` to access the FSO registry.
|
Package `registryd`: GRPC service `nogfso.Registry` to access the FSO registry. |
internal/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. |
internal/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. |
internal/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. |
internal/nogfsoregd/reposd
Package `reposd`: GRPC service `nogfso.Repos` to access the FSO repos.
|
Package `reposd`: GRPC service `nogfso.Repos` to access the FSO repos. |
internal/nogfsostad
Package `nogfsostad` implements modules that are combined in `cmd/nogfsostad`.
|
Package `nogfsostad` implements modules that are combined in `cmd/nogfsostad`. |
internal/nogfsostad/gits
Package `gits`: Init GitLab projects.
|
Package `gits`: Init GitLab projects. |
internal/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`. |
internal/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`. |
internal/nogfsostad/shadows
Package `shadows`: FSO shadow repos.
|
Package `shadows`: FSO shadow repos. |
internal/nogfsostad/statd
Package `statd`: GRPC service `nogfso.Stat`.
|
Package `statd`: GRPC service `nogfso.Stat`. |
internal/process/grpcentities
Package `grpcentities` contains interfaces for running entity activities via gRPC.
|
Package `grpcentities` contains interfaces for running entity activities via gRPC. |
internal/shorter
Package `shorter` is a name shorting service backed by MongoDB.
|
Package `shorter` is a name shorting service backed by MongoDB. |
internal/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. |
internal/workflows/archiverepowf
Package `archiverepowf` implements the archive-repo ephemeral workflow.
|
Package `archiverepowf` implements the archive-repo ephemeral workflow. |
internal/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. |
internal/workflows/events
Package `workflows/events` helps with handling lowlevel `WorkflowEvent` protos.
|
Package `workflows/events` helps with handling lowlevel `WorkflowEvent` protos. |
internal/workflows/freezerepowf
Package `freezerepowf` implements the freeze-repo ephemeral workflow.
|
Package `freezerepowf` implements the freeze-repo ephemeral workflow. |
internal/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. |
internal/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. |
internal/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. |
internal/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. |
internal/workflows/unarchiverepowf
Package `unarchiverepowf` implements the unarchive-repo ephemeral workflow.
|
Package `unarchiverepowf` implements the unarchive-repo ephemeral workflow. |
internal/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. |
pkg/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>. |
pkg/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`. |
pkg/flock
Package `flock` wraps syscall `flock(2)`.
|
Package `flock` wraps syscall `flock(2)`. |
pkg/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. |
pkg/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. |
pkg/mgo
Package `mgo` wraps `gopkg.in/mgo.v2`.
|
Package `mgo` wraps `gopkg.in/mgo.v2`. |
pkg/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. |
pkg/pwd
Package `pwd` wraps system password functions `getpwnam(3)` and `getpwuid()`.
|
Package `pwd` wraps system password functions `getpwnam(3)` and `getpwuid()`. |
pkg/ratecounter
Package `ratecounter` is the subset of `paulbellamy/ratecounter` that we use.
|
Package `ratecounter` is the subset of `paulbellamy/ratecounter` that we use. |
pkg/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. |
pkg/regexpx
Package `regexpx` contains functions that complement the standard package `regexp`.
|
Package `regexpx` contains functions that complement the standard package `regexp`. |
pkg/tarquote
Package `tarquote` converts quoted tar member names to UTF-8 strings.
|
Package `tarquote` converts quoted tar member names to UTF-8 strings. |
pkg/uuid
Package `uuid` is a subset of `google/uuid`.
|
Package `uuid` is a subset of `google/uuid`. |
pkg/x509io
Package `x509io` contains functions to load certs from disk.
|
Package `x509io` contains functions to load certs from disk. |
pkg/zap
Package `zap` wraps Zap logging.
|
Package `zap` wraps Zap logging. |
Click to show internal directories.
Click to hide internal directories.