Documentation
¶
Index ¶
- Variables
- func Package() config.ProtoCommandIface
- type Service
- func (srv *Service) AttachCounters(counter substrate.CounterService)
- func (srv *Service) Close() error
- func (n *Service) Context() context.Context
- func (s *Service) Counter() iface.CounterService
- func (srv *Service) Dev() bool
- func (s *Service) Http() http.Service
- func (srv *Service) Migrator() *migration.Migrator
- func (n *Service) Node() peer.Node
- func (srv *Service) Orbitals() []vm.Plugin
- func (s *Service) P2P() p2pIface.Service
- func (s *Service) SmartOps() iface.SmartOpsService
- func (s *Service) Tns() tns.Client
- func (srv *Service) Verbose() bool
- func (s *Service) Vm() vm.Service
Constants ¶
This section is empty.
Variables ¶
View Source
var (
CPUCheckInterval = time.Second
)
Functions ¶
func Package ¶
func Package() config.ProtoCommandIface
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
TODO: Node shouldn't have to have all
func (*Service) AttachCounters ¶ added in v1.1.9
func (srv *Service) AttachCounters(counter substrate.CounterService)
func (*Service) Counter ¶
func (s *Service) Counter() iface.CounterService
func (*Service) Migrator ¶ added in v1.2.0
Migrator exposes the node-local data migration for tests and ops: a pass can be re-run at any time and is idempotent.
func (*Service) SmartOps ¶
func (s *Service) SmartOps() iface.SmartOpsService
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
components
|
|
|
Package migration moves node-local project data — per-instance kvdbs under /crdt/<hash> and locally-held storage file bytes — into hoarder-hosted instances and the hoarder stash, then scrubs the local copies.
|
Package migration moves node-local project data — per-instance kvdbs under /crdt/<hash> and locally-held storage file bytes — into hoarder-hosted instances and the hoarder stash, then scrubs the local copies. |
|
tests
|
|
Click to show internal directories.
Click to hide internal directories.