report

package
v0.10.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package report provides primitives for generating HTML reports.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NamespaceReporter added in v0.10.0

type NamespaceReporter interface {
	RetrieveData(namespace kube.Object) (templates.NamespaceReport, error)
	Generate(namespace kube.Object, out io.Writer) error
}

func NewNamespaceReporter added in v0.10.0

func NewNamespaceReporter(clock ext.Clock, client client.Client) NamespaceReporter

type NodeReporter added in v0.10.0

type NodeReporter interface {
	RetrieveData(node kube.Object) (templates.NodeReport, error)
	Generate(node kube.Object, out io.Writer) error
}

func NewNodeReporter added in v0.10.0

func NewNodeReporter(clock ext.Clock, client client.Client) NodeReporter

NewNodeReporter generate the html reporter

type WorkloadReporter added in v0.10.0

type WorkloadReporter interface {
	RetrieveData(workload kube.Object) (templates.WorkloadReport, error)
	Generate(workload kube.Object, out io.Writer) error
}

func NewWorkloadReporter added in v0.10.0

func NewWorkloadReporter(clock ext.Clock, client client.Client) WorkloadReporter

Directories

Path Synopsis
Package templates provides code generated from *.qtpl templates.
Package templates provides code generated from *.qtpl templates.

Jump to

Keyboard shortcuts

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