Documentation
¶
Index ¶
- Constants
- func RunOriginalResidentCore(args []string) (resultCode int)
- func RunOriginalResidentWorkerCore(args []string) (resultCode int)
- func Serve(ctx context.Context, home, address string, capacity model.Resources) error
- func ServeConfigured(ctx context.Context, home string, settings daemonconfig.Settings) error
- func WorkerOwnHeadersData() []residentcost.OwnHeaderData
- type NodeRestartPlan
- type NodeRestartReview
- type NodeStopObservation
- type ResidentOperatorPending
- type ResidentWorkerOperatorPending
- type Server
Constants ¶
const ResidentCoreRole = mesh.ResidentP1CoreRole
ResidentCoreRole is the exact private same-binary role, selected before any legacy CLI, bundle validation or companion/helper construction.
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 ¶
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 ¶
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 ServeConfigured ¶
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 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)
Source Files
¶
- agent_status.go
- branding.go
- browser.go
- budget_mesh.go
- budgets.go
- cpu.go
- custom_name_remote_views.go
- custom_name_views.go
- custom_names.go
- disk.go
- guardian.go
- kubernetes_inventory.go
- lease_reviews.go
- mesh.go
- mesh_availability.go
- mesh_close.go
- mesh_forward_source.go
- mesh_forward_source_route.go
- mesh_forward_unix_worker.go
- mesh_operator.go
- mesh_setup.go
- mesh_ssh.go
- mesh_ssh_route.go
- mesh_ssh_rpc.go
- mesh_startup.go
- named_pool_views.go
- named_views.go
- native_node_context.go
- node_availability.go
- node_gateway.go
- node_metadata.go
- node_observation_clock.go
- node_registry.go
- node_restart.go
- node_sessions.go
- node_stop.go
- node_stop_availability.go
- node_stop_inspect.go
- node_stop_marker.go
- node_stop_startup.go
- node_stop_trace_disabled.go
- node_uninstall.go
- pool_controls.go
- presence.go
- provision_runtime.go
- resident_auth.go
- resident_authorize.go
- resident_bootstrap_capacity.go
- resident_child_original.go
- resident_core_entry.go
- resident_dispatch.go
- resident_handoff_capacity.go
- resident_ingress_control.go
- resident_ingress_listener.go
- resident_ingress_pending.go
- resident_outcomes.go
- resident_parent_original.go
- resident_parent_protocol.go
- resident_parent_retirement.go
- resident_prepared_binding.go
- resident_response.go
- resident_root_protocol.go
- resident_rootbound.go
- resident_runtime.go
- resident_server.go
- resident_server_current.go
- resident_server_prepared.go
- resident_worker_authorize.go
- resident_worker_bootstrap_data.go
- resident_worker_child_original.go
- resident_worker_core_entry.go
- resident_worker_cost_headers.go
- resident_worker_pending_cost.go
- resident_worker_prepared_binding.go
- resident_worker_root_protocol.go
- resident_worker_rootbound.go
- resident_worker_server.go
- resident_worker_server_current.go
- resident_worker_server_prepared.go
- runs.go
- screen.go
- screen_resources.go
- server.go
- shutdown.go
- ssh_native.go
- startup_inspect.go
- uninstall_trace_disabled.go
- workspace_agents.go
- workspace_graph.go
- workspace_graph_cache.go
- workspace_graph_neighbors.go
- workspace_graph_paths.go
- workspace_graph_read.go
- workspace_lifecycle.go
- workspace_messages.go
- workspace_recovery.go
- workspace_refresh.go
- workspace_route_conn.go
- workspace_route_dial.go
- workspace_route_transport.go
- workspace_transport.go
- workspaces.go
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. |