render

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MetricsData

func MetricsData(md *v1.MetricsData, o MetricsFormatOption) string

func MetricsDataJSON

func MetricsDataJSON(data *v1.MetricsData, o JSONOptions) ([]byte, error)

Types

type JSONOptions

type JSONOptions struct {
	Pretty bool `json:"pretty"`
}

type MetricsFormatOption

type MetricsFormatOption struct {
	Resource bool `json:"resource"`
	Scope    bool `json:"scope"`
	Metrics  bool `json:"metrics"`
}

Jump to

Keyboard shortcuts

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