kernelparam

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: 10 Imported by: 0

Documentation

Overview

Package kernelparam is the importable, COMPILED-IN host-coupled `kernel-param` verb: a MULTI-ROLE state-provision verb. CHECK (kit.CheckVerbProvider): read /proc/sys/<key-as-slashes> via the live kit.CheckContext and match the value. ACT (kit.ProvisionActor): render `sysctl -w key=value`. Relocated out of charly's module (formerly charly/plugin/builtins/kernel_param + charly/plugin_kernel_param.go) onto the sdk/kit contract; COMPILED-IN-ONLY. The verb word stays `kernel-param`; the Go package is `kernelparam` (a hyphen is not a legal package name). The matcher evaluation reuses the importable sdk.MatchAll + spec.MatcherList (R3).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCheckVerb

func NewCheckVerb() kit.CheckVerbProvider

NewCheckVerb returns the kernel-param verb as a kit.CheckVerbProvider for compiled-in registration. Because verb also implements kit.ProvisionActor, charly registers the multi-role (check + act) adapter.

func NewMeta

func NewMeta() pb.PluginMetaServer

NewMeta advertises verb:kernel-param (plugin_input #KernelParamInput) + the embedded CUE schema, via sdk.NewMeta — the ONE meta both placements use (compiled-in registerCompiledCheckVerb reads it via Describe; cmd/serve serves it out-of-process), so a kit candy has the SAME NewCheckVerb()+NewMeta() shape as every pb-provider plugin (R3).

Types

This section is empty.

Directories

Path Synopsis
cmd
serve command
Command serve is the OUT-OF-PROCESS entrypoint for the kernelparam kit check verb (M1): a thin shim serving the importable verb over go-plugin gRPC via sdk.ServeCheckVerb, which reconstructs the kit.CheckContext from the host's reverse channel.
Command serve is the OUT-OF-PROCESS entrypoint for the kernelparam kit check verb (M1): a thin shim serving the importable verb over go-plugin gRPC via sdk.ServeCheckVerb, which reconstructs the kit.CheckContext from the host's reverse channel.

Jump to

Keyboard shortcuts

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