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