Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcreteAction ¶
type ConcreteAction struct {
// One or more CLI commands that can be executed as a suggested action
// for a diagnostic.
Commands []string
// One or more links to a web URL that can be used as a suggested action
// for a diagnostic.
Links []*Link
}
func GetConcreteAction ¶
func GetConcreteAction( suggestedAction errors.SuggestedAction, diagMetadata map[string]any, ) *ConcreteAction
GetConcreteAction returns a concrete, context-specific action for a suggested action. When using this function, it is assumed that the current context is a machine that uses the bluelink CLI that can run the suggested commands.
This will return nil if the suggested action is not supported.