demo

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package demo is an example compile-time Pulp extension. A deployment that imports this package gets a "demo.greet" capability exposing a single host import — demo_greet(name_ptr, name_len) — that writes a greeting to cell stdout. Useful as a template for real extensions (Pulp-ext-s3, Pulp-ext-stripe, etc.) and as an E2E smoke test for the ext.Register mechanism.

Import path (blank):

import _ "github.com/BananaLabs-OSS/Pulp/ext/demo"

Cells declare capability "demo.greet" in their manifest.

Jump to

Keyboard shortcuts

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