groupkind

package module
v0.0.0-...-ed487ff Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package groupkind is the importable form of charly's `group` STRUCTURAL KIND — a TARGETLESS deploy group (resource members brought up ALONGSIDE on the shared network, no own workload; the former targetless `bundle:`). A structural KIND provider dispatches via the pb Invoke(OpLoad) envelope: decode the group's KIND-SPECIFIC scalar config (disposable/lifecycle/description/…) from op.Params into a spec.Deploy, ATTACH the AUTHORED members the host pre-decoded + threaded via op.Env (spec.StructuralKindLoadEnv — F5 authored-member input-threading), force Target="" (a group is targetless), and return the COMPLETE spec.Deploy — which runPluginKind folds into uf.Bundle, BYTE-EQUIVALENT to the former builtin groupKind (buildBundleNodeInto). Usable COMPILED-IN (NewProvider()/NewMeta() via plugins_generated.go) OR served OUT-OF-PROCESS by the cmd/serve shim.

PLACEMENT — COMPILED-IN (listed in the embedded charly/charly.yml compiled_plugins:), NOT external. group is a CORE deploy primitive that must ALWAYS resolve: every box/submodule authoring a `group:` node (check-k8s-deploy, box/fedora, box/cachyos) relies on it without discovering this candy from the superproject, exactly like the tier-1 kinds (distro/target/agent/…) which are all compiled-in. (The out-of-process-only reference is candy/plugin-example-structkind — a disposable witness.)

Relocated out of charly's module (formerly charly/plugin_group.go's groupKind + cue_kind_group.go).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMeta

func NewMeta() pb.PluginMetaServer

NewMeta ships the STRUCTURAL group kind capability (Class "kind", word "group", Structural:true — the F5 flag that makes the host pre-decode + thread the authored members via op.Env and fold the reply into uf.Bundle) + its self-contained #GroupInput schema (via sdk.NewMeta → BuildCapabilities).

func NewProvider

func NewProvider() pb.ProviderServer

NewProvider returns the kind provider for in-proc registration or out-of-proc serving.

Types

This section is empty.

Directories

Path Synopsis
cmd
serve command
Command serve is the OUT-OF-PROCESS entrypoint for the group structural kind plugin: a thin shim serving the importable provider over go-plugin gRPC (the SAME provider compiles INTO charly in-process via plugins_generated.go, its default compiled-in placement).
Command serve is the OUT-OF-PROCESS entrypoint for the group structural kind plugin: a thin shim serving the importable provider over go-plugin gRPC (the SAME provider compiles INTO charly in-process via plugins_generated.go, its default compiled-in placement).

Jump to

Keyboard shortcuts

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