Documentation
¶
Overview ¶
Package hclapi provides an embeddable declarative API runtime powered by HCL.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Args ¶ added in v0.1.2
Args provides type-safe, generic argument extraction and coercion for Go steps.
type Config ¶ added in v0.2.0
Config represents the verified runtime configuration.
type Option ¶ added in v0.2.0
Option configures an Engine instance.
func WithLogger ¶ added in v0.2.0
WithLogger sets the structured logger for the engine.
func WithStep ¶ added in v0.2.0
func WithStep(name string, handler StepHandler) Option
WithStep registers a named Go step handler available to "go" steps.
type Step ¶ added in v0.1.2
Step holds execution parameters and HTTP request context for Go callbacks.
type StepHandler ¶
type StepHandler = engine.StepHandler
StepHandler defines custom Go step functions.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
hclapi
command
|
|
|
examples
|
|
|
05_go_embedded
command
|
|
|
internal
|
|
|
config
Package config defines the verified runtime models and enum types for the hclapi engine.
|
Package config defines the verified runtime models and enum types for the hclapi engine. |
|
ctyconv
Package ctyconv converts Go runtime values to cty.Value and evaluates HCL expressions.
|
Package ctyconv converts Go runtime values to cty.Value and evaluates HCL expressions. |
|
manifest
Package manifest discovers, parses, validates, and compiles HCL configuration files.
|
Package manifest discovers, parses, validates, and compiles HCL configuration files. |
|
problem
Package problem implements RFC 9457 Problem Details for HTTP APIs.
|
Package problem implements RFC 9457 Problem Details for HTTP APIs. |
Click to show internal directories.
Click to hide internal directories.