render

package
v0.0.0-...-381a3cb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package render has all the formating options for status output

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatHPAStatus

func FormatHPAStatus(data []byte) (string, error)

FormatHPAStatus takes a json bytestring and prints out the formatted statuspage

func FormatMetadataMapCLI

func FormatMetadataMapCLI(data []byte) (string, error)

FormatMetadataMapCLI builds the rendering in the metadataMapper template.

func ParseTemplate

func ParseTemplate(w io.Writer, templateName string, stats interface{}) error

ParseTemplate renders the text template with the data provided

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL