internal/

directory
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: MIT

Directories

Path Synopsis
Package cli wires the cobra command tree.
Package cli wires the cobra command tree.
Package conditions implements 'when'/'that' condition evaluation — a thin consumer of internal/expr's shared tokenizer/parser/evaluator, a port of modules/Conditions.psm1.
Package conditions implements 'when'/'that' condition evaluation — a thin consumer of internal/expr's shared tokenizer/parser/evaluator, a port of modules/Conditions.psm1.
Package config layers CLI flags, IRONSTATE_* env vars, and an optional ironstate.yaml/.ironstate.yaml config file (via viper) into one typed Config struct — see docs/plans/go-rewrite.md §4.1.
Package config layers CLI flags, IRONSTATE_* env vars, and an optional ironstate.yaml/.ironstate.yaml config file (via viper) into one typed Config struct — see docs/plans/go-rewrite.md §4.1.
Package expr implements the small Ansible/Jinja-flavored expression language shared by 'when' conditions and '${{ ...
Package expr implements the small Ansible/Jinja-flavored expression language shared by 'when' conditions and '${{ ...
Package facts gathers host facts made available to 'when' conditions and '${{ facts.* }}' templating — a port of modules/Facts.psm1's small, deliberately fixed starter set, plus 'platform'/'arch'/'os_family' (docs/plans/go-rewrite.md §1's cross-platform goal): ironstate.ps1 was always Windows-only, but the Go binary itself is genuinely cross-platform (windows/linux/darwin builds, see .goreleaser.yaml), so a site.yml can now usefully branch on 'when: facts.platform == "linux"' - a deliberate addition beyond parity, not a compatibility requirement.
Package facts gathers host facts made available to 'when' conditions and '${{ facts.* }}' templating — a port of modules/Facts.psm1's small, deliberately fixed starter set, plus 'platform'/'arch'/'os_family' (docs/plans/go-rewrite.md §1's cross-platform goal): ironstate.ps1 was always Windows-only, but the Go binary itself is genuinely cross-platform (windows/linux/darwin builds, see .goreleaser.yaml), so a site.yml can now usefully branch on 'when: facts.platform == "linux"' - a deliberate addition beyond parity, not a compatibility requirement.
Package filters implements the built-in '|' pipeline filters (a direct port of filters/*.ps1) plus the external script-filter adapter described in docs/plans/go-rewrite.md §4.5 (see script.go/pool.go).
Package filters implements the built-in '|' pipeline filters (a direct port of filters/*.ps1) plus the external script-filter adapter described in docs/plans/go-rewrite.md §4.5 (see script.go/pool.go).
Package model holds the generic, dynamically-typed document shape every other package works with — YAML decoded into map[string]any / []any / scalars, mirroring how the PowerShell implementation treats ConvertFrom-Yaml's [ordered] hashtables + IList duck-typing.
Package model holds the generic, dynamically-typed document shape every other package works with — YAML decoded into map[string]any / []any / scalars, mirroring how the PowerShell implementation treats ConvertFrom-Yaml's [ordered] hashtables + IList duck-typing.
Package packages implements YAML document loading, the site/host/user file-hierarchy merge, and 'include:' resolution — a port of modules/Packages.psm1.
Package packages implements YAML document loading, the site/host/user file-hierarchy merge, and 'include:' resolution — a port of modules/Packages.psm1.
Package pathutil holds small filesystem-path helpers shared across internal/filters and (in later phases) internal/handlers — ports of Common.psm1's Resolve-UserPath / ConvertTo-NormalizedPathString and the 'join' filter's .NET Path.Combine semantics.
Package pathutil holds small filesystem-path helpers shared across internal/filters and (in later phases) internal/handlers — ports of Common.psm1's Resolve-UserPath / ConvertTo-NormalizedPathString and the 'join' filter's .NET Path.Combine semantics.
Package tasks implements task/action tree normalization and flattening — a port of modules/Tasks.psm1's Expand-TaskTree.
Package tasks implements task/action tree normalization and flattening — a port of modules/Tasks.psm1's Expand-TaskTree.
Package template implements '${{ ...
Package template implements '${{ ...

Jump to

Keyboard shortcuts

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