zuul-weeder-0.1.0.0: Zuul configuration analyzer
Copyright(c) Red Hat 2022
LicenseApache-2.0
Maintainertdecacqu@redhat.com, fboucher@redhat.com
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageGHC2021

ZuulWeeder.UI

Contents

Description

The web interface for zuul-weeder.

The UI is implemented with

Synopsis

Documentation

app Source #

Arguments

:: IO Analysis

An action to refresh the analysis

-> BasePath

The base path of the interface, used to render absolute links

-> FilePath

The location of the static files

-> Application

The application to serve

Creates the Web Application Interface (wai).

newtype BasePath Source #

The base path of the web interface, when served behing a sub path proxy.

Constructors

BasePath 

Fields

Instances

Instances details
Show BasePath Source # 
Instance details

Defined in ZuulWeeder.UI

dotGraph :: Analysis -> Text Source #

Render the analysis as a graphviz graph.

dotLegend :: Text Source #

A graphviz graph for the legend.

Test helpers

configLocUrl :: ConfigLoc -> Text Source #

Get the URL of a configuration element location