Documentation ¶
Overview ¶
Package report provides primitives for generating HTML reports.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LessFunc ¶ added in v0.10.0
type LessFunc func(p1, p2 *templates.CheckWithCount) bool
type NamespaceReporter ¶ added in v0.10.0
type NamespaceReporter interface { RetrieveData(namespace kube.ObjectRef) (templates.NamespaceReport, error) Generate(namespace kube.ObjectRef, 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.ObjectRef) (templates.NodeReport, error) Generate(node kube.ObjectRef, 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.ObjectRef) (templates.WorkloadReport, error) Generate(workload kube.ObjectRef, out io.Writer) error }
func NewWorkloadReporter ¶ added in v0.10.0
func NewWorkloadReporter(clock ext.Clock, client client.Client) WorkloadReporter
Click to show internal directories.
Click to hide internal directories.