Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeResourceHyperlink ¶ added in v0.59.0
MakeResourceHyperlink wraps the given portal URL in a terminal hyperlink escape sequence using resourceName as the link text. It returns an empty string when no portal URL is available (for example, for non-Azure resources or when no Azure credential is registered).
Types ¶
type Runner ¶
type Runner struct {
ConfigHolder *framework.ConfigHolder
ConnectionFactory connections.Factory
Output output.Interface
Bicep bicep.Interface
// Deployed-graph mode fields.
ApplicationName string
Workspace *workspaces.Workspace
// Modeled-graph mode field.
BicepFilePath string
// IncludeIcons, when true, causes the modeled graph response to carry a
// deduped `icons` map of hash → SVG bytes. When false the response has
// only per-node `iconHash` values and consumers content-address the
// bytes themselves. Mirrors the runtime `rad app graph --preview
// --include-icons` flag.
IncludeIcons bool
Format string
// GraphStore persists modeled graphs to the radius-graph archive
// when running in repo-radius mode. Defaulted in NewRunner; tests may
// substitute a mock implementation.
GraphStore persistence.Store
}
Runner is the runner implementation for the `rad app graph` command.
Click to show internal directories.
Click to hide internal directories.