Documentation
¶
Overview ¶
Package graph provides primitives used by the rad CLI to build and persist application graph artifacts (modeled, planned and deployed) without touching the Radius control plane.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildModeledGraph ¶
func BuildModeledGraph(template map[string]any) (*corerpv20250801preview.ApplicationGraphResponse, error)
BuildModeledGraph parses an ARM JSON template (typically the output of `bicep build` on an application's app.bicep) and returns the corresponding modeled application graph. The graph contains application resources, their connections and dependsOn relationships, and a stable diff hash for each resource. It does not contain output resources or runtime status — those are only available for planned and deployed graphs.
func ComputeDiffHash ¶
ComputeDiffHash returns a stable "sha256:<hex>" digest computed over the authorable subset of properties and a sorted dependsOn list. The digest lets tooling classify resources as added, removed, modified or unchanged across two graphs of the same application without comparing every property.
Types ¶
This section is empty.