daemon

package
v0.1.5-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2026 License: AGPL-3.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultDaemon

type DefaultDaemon struct {
	Contexts  sync.Map
	AuthToken string
	// contains filtered or unexported fields
}

func NewDefaultDaemon

func NewDefaultDaemon() *DefaultDaemon

NewDefaultDaemon loads the daemon's config and, if remote dispatch is enabled, prepares a Dispatcher. Failures to construct the dispatcher are logged but non-fatal — the daemon can still run as a local cache while the operator fixes the remote config.

func (*DefaultDaemon) Inflight

func (d *DefaultDaemon) Inflight() int32

Inflight returns the current count of compile requests being handled. Exposed for the metrics observable gauge.

func (*DefaultDaemon) Run

func (d *DefaultDaemon) Run(force bool) error

Directories

Path Synopsis
Package client is the side of the daemon protocol that runs inside the short-lived `hpcc wrap` / symlink invocation.
Package client is the side of the daemon protocol that runs inside the short-lived `hpcc wrap` / symlink invocation.
Package dispatch implements the daemon's remote-compile path: read the cached JWT written by `hpcc auth login`, authenticate against the scheduler, route each compile to a worker, and dial the worker directly to invoke Compile.
Package dispatch implements the daemon's remote-compile path: read the cached JWT written by `hpcc auth login`, authenticate against the scheduler, route each compile to a worker, and dial the worker directly to invoke Compile.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL