openclaw

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateConfig

func GenerateConfig(rc *driver.ResolvedClaw) ([]byte, error)

GenerateConfig builds an OpenClaw JSON config from resolved Claw directives. Emits standard JSON (valid JSON5). Deterministic output (encoding/json sorts map keys).

func GenerateJobsJSON

func GenerateJobsJSON(rc *driver.ResolvedClaw) ([]byte, error)

GenerateJobsJSON produces the openclaw cron/jobs.json content for rc.Invocations. IDs are deterministic: same service + schedule + message always produces the same ID, so re-running claw compose up is idempotent.

func GenerateServiceSkill

func GenerateServiceSkill(surface driver.ResolvedSurface) string

GenerateServiceSkill produces a fallback markdown skill file for a service surface, including hostname, ports, and network info.

Types

type Driver

type Driver struct{}

func (*Driver) HealthProbe

func (d *Driver) HealthProbe(ref driver.ContainerRef) (*driver.Health, error)

func (*Driver) Materialize

func (*Driver) PostApply

func (d *Driver) PostApply(rc *driver.ResolvedClaw, opts driver.PostApplyOpts) error

func (*Driver) Validate

func (d *Driver) Validate(rc *driver.ResolvedClaw) error

Jump to

Keyboard shortcuts

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