package
5.0.1+incompatible
Repository: https://github.com/fairwindsops/polaris.git
Documentation: pkg.go.dev

# Functions

GetAssetBox returns a binary-friendly set of assets packaged from disk.
GetBaseTemplate puts together the dashboard template.
GetRouter returns a mux router serving all routes necessary for the dashboard.
GetTemplateBox returns a binary-friendly set of templates for rendering the dash.
JSONHandler gets template data and renders json with it.
MainHandler gets template data and renders the dashboard with it.

# Constants

DashboardTemplateName contains the content of the dashboard.
FooterTemplateName contains the footer.
HeadTemplateName contains styles and meta info.
MainTemplateName is the main template.
NavbarTemplateName contains the navbar.
PreambleTemplateName contains an empty preamble that can be overridden.