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
Click to show internal directories.
Click to hide internal directories.