iface

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 iface is the importable, COMPILED-IN host-coupled `interface` check verb: it probes a network interface's presence, MTU, and addresses via `ip` on the live deployment. It implements kit.CheckVerbProvider — RunVerb runs the probes via the live kit.CheckContext. Relocated out of charly's module (formerly charly/plugin/builtins/interface + charly/plugin_interface.go) onto the sdk/kit contract; COMPILED-IN-ONLY. (Package named iface, not interface — the latter is a Go keyword; the reserved verb word is still "interface".)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCheckVerb

func NewCheckVerb() kit.CheckVerbProvider

NewCheckVerb returns the interface verb as a kit.CheckVerbProvider for compiled-in registration.

func NewMeta

func NewMeta() pb.PluginMetaServer

NewMeta advertises verb:interface (plugin_input #InterfaceInput) + 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 iface 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 iface 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