How erwindon/saltgui works
SaltGUI is a single-page browser interface for managing Salt servers and minions through salt-api, with no application database. The principal workflow is navigation to a management view, issuing or selecting an operation, sending it through the API, and presenting the response. The graph preserves major documented areas—minions, jobs, highstate, issues, inventory data, events, orchestration, and command help—while grouping related views. Some subsystem links are documentation-based or unverified because their implementation excerpts were not provided.
Main entry points: CommandBox.js Command interface · panels Management panels · pages Management pages · Router.js Page router
Components 20
Navigation
- Page router
saltgui/static/scripts/Router.js - Management pages
saltgui/static/scripts/pages - Page framework
saltgui/static/scripts/pages/Page.js
Commands and API
- Command interface
saltgui/static/scripts/CommandBox.js - Salt API client
saltgui/static/scripts/Api.js - Command parsing
saltgui/static/scripts/ParseCommandLine.js - Target selection
saltgui/static/scripts/TargetType.js - Command templates
saltgui/static/scripts/panels/Templates.js
Salt management
- Management panels
saltgui/static/scripts/panels - Issue analysis
saltgui/static/scripts/issues/Issues.js - Recent jobs
saltgui/static/scripts/panels/JobsSummary.js - Key management
saltgui/static/scripts/panels/Keys.js - Minion inventory
saltgui/static/scripts/panels/Minions.js - Orchestrations
saltgui/static/scripts/panels/Orchestrations.js
Results and help
- Output formatting
saltgui/static/scripts/output/Output.js - Nested output
saltgui/static/scripts/output/OutputNested.js - Command documentation
saltgui/static/scripts/Documentation.js
Other components
- Operator
- salt-api
- Salt server and minions
Connections 20
- Operator → Page router: navigates
saltgui/static/scripts/Router.js - Page router → Management pages: registers views
saltgui/static/scripts/Router.js - Management pages → Page framework: extends
saltgui/static/scripts/pages/Orchestrations.js - Page framework → Command interface: opens commands
saltgui/static/scripts/pages/Page.js - Operator → Command interface: runs commands
- Command interface → Command parsing: parses input
saltgui/static/scripts/CommandBox.js - Command interface → Target selection: selects targets
saltgui/static/scripts/CommandBox.js - Command interface → Command templates: applies templates
saltgui/static/scripts/CommandBox.js - Command interface → Salt API client: submits requests
saltgui/static/scripts/Api.js - Salt API client → salt-api: calls
- salt-api → Salt server and minions: manages
- Management pages → Management panels: assembles views
saltgui/static/scripts/pages/Orchestrations.js - Management panels → Issue analysis: shows issues
- Management panels → Recent jobs: shows recent jobs
- Management panels → Key management: manages keys
saltgui/static/scripts/panels/Keys.js - Management panels → Minion inventory: shows minions
saltgui/static/scripts/panels/Minions.js - Management panels → Orchestrations: starts workflows
saltgui/static/scripts/panels/Orchestrations.js - Command interface → Output formatting: displays results
saltgui/static/scripts/CommandBox.js - Output formatting → Nested output: formats nested data
saltgui/static/scripts/output/Output.js - Command interface → Command documentation: shows help
saltgui/static/scripts/CommandBox.js