run-worker

command
v0.51.3 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

README

Run Worker

This example loads a YAML target a runs the full Forge stack:

  • Cluster: associates the Job with Worker.
  • Job: watches the list of Task.
  • Worker: tracks objects linked to the Worker & starts controllers.
  • Task: manages inputs, outputs, target, and passes.
    • re-start the task when the inputs or target change
  • Pass: an instance of executing the Task with a set of inputs & a target.
    • outputs are taken from Executions as per the Target config
  • Execution: an instance of executing the Pass (a replica) on a Worker.

Demo: Git

./run-worker ../targets/03-git.yaml

The 03-git example will clone a Git repository to a world object.

Creates objects with type:

  • Repo: the git repository
  • Worktree: info on checkout of Repo to Workdir at path.
  • Workdir: unixfs working directory

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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