agentruntime

package
v0.9.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpenClaw Runtime = "openclaw"
	Hermes   Runtime = "hermes"

	DefaultDomain     = "obol.stack"
	DefaultInstanceID = "obol-agent"
)

Variables

This section is empty.

Functions

func CollectHostnames

func CollectHostnames(cfg *config.Config, include ...DeploymentRef) []string

func DashboardHostname

func DashboardHostname(runtime Runtime, id string) string

func DataRoot

func DataRoot(cfg *config.Config, runtime Runtime, id string) string

func DeploymentPath

func DeploymentPath(cfg *config.Config, runtime Runtime, id string) string

func HomePath

func HomePath(cfg *config.Config, runtime Runtime, id string) string

func Hostname

func Hostname(runtime Runtime, id string) string

func Hostnames

func Hostnames(runtime Runtime, id string) []string

func KeystoreVolumePath

func KeystoreVolumePath(cfg *config.Config, runtime Runtime, id string) string

func ListInstanceIDs

func ListInstanceIDs(cfg *config.Config, runtime Runtime) ([]string, error)

func MustDefaultDeploymentPath

func MustDefaultDeploymentPath(cfg *config.Config) string

func Namespace

func Namespace(runtime Runtime, id string) string

func ResolveInstance

func ResolveInstance(cfg *config.Config, runtime Runtime, args []string) (id string, remaining []string, err error)

func ResolveSingleDefaultNamespace

func ResolveSingleDefaultNamespace(cfg *config.Config, runtime Runtime) (string, error)

func SkillsPath

func SkillsPath(cfg *config.Config, runtime Runtime, id string) string

func WorkspacePath

func WorkspacePath(cfg *config.Config, runtime Runtime, id string) string

Types

type DeploymentRef

type DeploymentRef struct {
	Runtime Runtime
	ID      string
}

type Descriptor

type Descriptor struct {
	Runtime       Runtime
	DisplayName   string
	ServiceName   string
	ConfigMapName string
	DataPVCName   string
	HomeDir       string
	DefaultPort   int
}

func Describe

func Describe(runtime Runtime) Descriptor

type Runtime

type Runtime string

Jump to

Keyboard shortcuts

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