inspect

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClawInfo

type ClawInfo struct {
	ClawType     string
	Agent        string
	Models       map[string]string
	Cllama       []string
	Persona      string
	Handles      []string
	Surfaces     []string
	Skills       []string
	Privileges   map[string]string
	Configures   []string
	Invocations  []InspectInvocation
	SkillEmit    string // claw.skill.emit label: path to skill file inside image
	DescribePath string // claw.describe label: path to a structured service descriptor inside image
}

func Inspect

func Inspect(imageRef string) (*ClawInfo, error)

func LoadFromDockerfile added in v0.4.2

func LoadFromDockerfile(path string) (*ClawInfo, error)

func ParseLabels

func ParseLabels(labels map[string]string) *ClawInfo

type InspectInvocation

type InspectInvocation struct {
	Schedule string
	Command  string
}

InspectInvocation is an invocation entry parsed from a claw.invoke.N image label.

Jump to

Keyboard shortcuts

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