server

package
v0.0.0-...-0b698e0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: Apache-2.0, MIT Imports: 87 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const ResidentCoreRole = mesh.ResidentP1CoreRole

ResidentCoreRole is the exact private same-binary role, selected before any legacy CLI, bundle validation or companion/helper construction.

View Source
const ResidentWorkerCoreRole = mesh.ResidentWorkerCoreRole

ResidentWorkerCoreRole is the exact private same-binary role, selected before any legacy CLI, bundle validation or companion/helper construction.

Variables

This section is empty.

Functions

func RunOriginalResidentCore

func RunOriginalResidentCore(args []string) (resultCode int)

RunOriginalResidentCore returns ONLY for pure arity/duplicate-entry rejection. Once the actual original call begins, its outermost deferred frame retains this SAME entry/Root and parks even on ordinary error, panic(nil) or Goexit. Private authenticated handoff requires its original funded parent. Its own runtime may then launch Manager loops and pending native control; workers and public arm start readiness remain later stages.

func RunOriginalResidentWorkerCore

func RunOriginalResidentWorkerCore(args []string) (resultCode int)

RunOriginalResidentWorkerCore returns ONLY for pure arity/duplicate-entry rejection. Once the actual original call begins, its outermost deferred frame retains this SAME entry/Root and parks even on ordinary error, panic(nil) or Goexit. Private authenticated handoff requires its original funded parent. Its own Pending proof is not availability. Runtime helpers, Manager loop start, controller activation and public arm start remain separate actual stages.

func Serve

func Serve(ctx context.Context, home, address string, capacity model.Resources) error

func ServeConfigured

func ServeConfigured(ctx context.Context, home string, settings daemonconfig.Settings) error

ServeConfigured preserves every validated desired startup setting through the real backend boundary; capacity-only callers retain their existing wrapper.

func WorkerOwnHeadersData

func WorkerOwnHeadersData() []residentcost.OwnHeaderData

WorkerOwnHeadersData reports only compiled ARM struct sizes. Each declared worker owner/record header is listed explicitly; no reflection into stdlib, native, driver, runtime or heap internals and no native effects occur here. Dynamic buffers/maps/strings and helper internals are separate source and unknown reservations. These DATA create neither funding nor original custody.

Types

type NodeRestartPlan

type NodeRestartPlan struct {
	Operation     string           `json:"operation"`
	Review        nodestop.Restart `json:"review"`
	OwnerUsername string           `json:"owner_username"`
	PriorPhase    string           `json:"prior_phase"`
	Warning       string           `json:"warning"`
}

type NodeRestartReview

type NodeRestartReview struct {
	// contains filtered or unexported fields
}

NodeRestartReview owns the actual existing authority lock across a concrete local review. Neither serialized timestamps nor an arbitrary Restart value can manufacture this object. No backend/native child is launched by it.

func PrepareNodeRestart

func PrepareNodeRestart(ctx context.Context, home, reason string) (review *NodeRestartReview, needed bool, resultErr error)

PrepareNodeRestart creates no missing home/lock/database/schema. An absent or running intent needs ordinary startup, not a fabricated restart approval.

func (*NodeRestartReview) Apply

func (r *NodeRestartReview) Apply(ctx context.Context) (resultErr error)

Apply performs the one exact reviewed CAS under the retained original lock. Any attempted write, including unknown Commit, consumes the review locally.

func (*NodeRestartReview) Close

func (r *NodeRestartReview) Close() error

func (*NodeRestartReview) Plan

func (r *NodeRestartReview) Plan() (out NodeRestartPlan, resultErr error)

type NodeStopObservation

type NodeStopObservation = nodestop.Observation

func InspectNodeStop

func InspectNodeStop(ctx context.Context, home string, target nodestop.Target, key string) (out NodeStopObservation, resultErr error)

InspectNodeStop is the fixed read-only native helper implementation. It does not create home/locks/schema, start a backend, signal a PID or retry a stop. A busy/new authority is conservatively unknown here; a future live inspector may add positive replacement-generation evidence without changing this rule.

func WithInspectedNodeStop

func WithInspectedNodeStop(ctx context.Context, home string, target nodestop.Target, key string, action func(NodeStopObservation) error) (NodeStopObservation, error)

WithInspectedNodeStop retains the actual original daemon lock, directory and committed read source through a narrowly scoped native maintenance action. It confers no process or file authority: the action must prove its own scope.

type ResidentOperatorPending

type ResidentOperatorPending = residentservice.OperatorPending

This offline operator API has no Parent/Child/ManagerCharge/native issuer aliases. Calling the command is distinct from ordinary start or installation.

func NewResidentOperatorPending

func NewResidentOperatorPending(home, profilePath, evidencePath, key, reason string) (*ResidentOperatorPending, error)

type ResidentWorkerOperatorPending

type ResidentWorkerOperatorPending = residentservice.WorkerOperatorPending

Worker authorization is distinct from the old schema2 resident operator. Its original owner receives this exact composed source census before Plan. No alias here returns a parent/child/charge/native issuer or runtime permit.

func NewResidentWorkerOperatorPending

func NewResidentWorkerOperatorPending(home, profilePath, evidencePath, key, reason string) (*ResidentWorkerOperatorPending, error)

type Server

type Server struct {
	Manager *manager.Manager
	// contains filtered or unexported fields
}

Source Files

Directories

Path Synopsis
Package challengeview exposes only the actual nonclosing authenticated phase view.
Package challengeview exposes only the actual nonclosing authenticated phase view.
internal
nativeowner
Package nativeowner owns original resident authority descriptors.
Package nativeowner owns original resident authority descriptors.
residentbirth
Package residentbirth owns the original composed parent's fresh namespace.
Package residentbirth owns the original composed parent's fresh namespace.
residentservice
Package residentservice owns only the original resident core's standing debit.
Package residentservice owns only the original resident core's standing debit.
Package lifetimeview exposes only original nonretiring borrower views.
Package lifetimeview exposes only original nonretiring borrower views.
Package serviceview exposes only the actual original nonretiring charge view.
Package serviceview exposes only the actual original nonretiring charge view.

Jump to

Keyboard shortcuts

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