Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeResourceHyperlink ¶
MakeResourceHyperlink builds a terminal hyperlink for an Azure resource. Returns an empty string for non-Azure resources.
func NewCommand ¶
NewCommand creates an instance of the command and runner for the `rad app graph` command.
func ProviderFromID ¶
ProviderFromID extracts the provider from a resource ID string.
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
Format string
// GraphStore persists modeled graphs to the radius-graph orphan branch
// 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.