reportoutput

package
v0.1.1-0...-f02a436 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpReports

func DumpReports(r ReportOutput)

DumpReports creates OCDs files

Types

type ComponentReport

type ComponentReport struct {
	Component string   `json:"component"`
	Reports   []Report `json:"reports"`
}

ComponentReport holds a collection of ocp3 config reports

type Report

type Report struct {
	Name       string `json:"name"`
	Kind       string `json:"kind"`
	Supported  bool   `json:"supported"`
	Confidence int    `json:"confidence"`
	Comment    string `json:"comment"`
}

Report of OCP 4 component configuration compatibility

type ReportOutput

type ReportOutput struct {
	ClusterReport    cluster.Report    `json:"cluster,omitempty"`
	ComponentReports []ComponentReport `json:"components,omitempty"`
}

ReportOutput holds a collection of reports to be written to file

Jump to

Keyboard shortcuts

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