report

package
v0.5.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClusterIssue

func NewClusterIssue(c *config.Config, cispec *zorav1a1.ClusterIssueSpec, orefs []metav1.OwnerReference, juid *string) *zorav1a1.ClusterIssue

NewClusterIssue creates and returns a pointer to a <ClusterIssue> instance carrying issue metadata on its labels. The instance is set as a child of the Job whereby the plugin executed.

func Parse

func Parse(log logr.Logger, r io.Reader, c *config.Config) ([]*zorav1a1.ClusterIssue, error)

Parse receives a reader pointing to a plugin's report file, transforming such report into an array of <ClusterIssue> pointers according to the cluster name and issues namespace specified on the <Config> struct. The parsing for each plugin is left to dedicated functions which are called according to the plugin type.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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