reporting

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResourceName

func ResourceName(obj *unstructured.Unstructured) string

Types

type Report

type Report struct {
	// contains filtered or unexported fields
}

func New

func New() *Report

func (*Report) AddResult

func (r *Report) AddResult(result *Result)

func (*Report) FailureCount

func (r *Report) FailureCount() int

func (*Report) WriteTo

func (r *Report) WriteTo(w io.Writer)

type Result

type Result struct {
	Object   *unstructured.Unstructured
	Warnings []string
	Denials  []string
}

func (*Result) FailureCount

func (r *Result) FailureCount() int

Jump to

Keyboard shortcuts

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