builtin

package
v1.17.4 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package builtin is the public SDK facade over Harbor's internal/tools/builtin package — the runtime's built-in tool set (clock, text, artifact_fetch, tool/skill discovery, declarative actions) registered by name onto a catalog (RFC §3.6, §6.10). Alias-based re-exports only: no behavior lives here. The per-tool args/output structs and handler internals are deliberately private.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrUnknownBuiltIn — the name is not a known built-in tool.
	ErrUnknownBuiltIn = internal.ErrUnknownBuiltIn
	// ErrRegisterFailed — a built-in tool failed to register.
	ErrRegisterFailed = internal.ErrRegisterFailed
	// ErrIdentityRequired — built-ins are identity-mandatory.
	ErrIdentityRequired = internal.ErrIdentityRequired
)

Re-exported sentinel errors callers compare via errors.Is.

View Source
var KnownNames = internal.KnownNames

KnownNames lists every registrable built-in tool name.

View Source
var RegisterWith = internal.RegisterWith

RegisterWith registers the named built-in tools with the full dependency bundle (stores, bus) a stateful built-in needs. The internal catalog-only Register variant is deprecated and therefore deliberately not re-exported (the curation contract).

Functions

This section is empty.

Types

type RegistryContext

type RegistryContext = internal.RegistryContext

RegistryContext bundles the dependencies built-in tools need (catalog, stores, bus). Alias of the internal type.

Jump to

Keyboard shortcuts

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