Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCapability ¶
func NewCapability(deps capkit.Deps) (capkit.Capability, error)
NewCapability adapts New to the Registry constructor signature.
Types ¶
type Kit ¶
type Kit struct {
HTTP capkit.HTTPDoer
Evidence capkit.EvidenceSink
IDs capkit.IDGenerator
}
Kit exposes structured HTTP probing. It uses only the injected HTTPDoer, so scope/rate/audit gates cannot be bypassed.
func (*Kit) Call ¶
Call is the envelope shell: it runs the tool and normalizes the Result so every return path carries a valid Status, Meta.Tool and a clamped Summary.
func (*Kit) Execute ¶
func (k *Kit) Execute(ctx context.Context, refs []capkit.TemplateRef, target capkit.Target, _ map[string]any) (capkit.Result, error)
Execute runs engine-neutral http templates against one target. Matchers are ANDed; a template with no matchers is treated as "request succeeded".
Click to show internal directories.
Click to hide internal directories.