scorecard

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertScorecardOutputV1ToV2

func ConvertScorecardOutputV1ToV2(v1ScorecardOutput scapiv1alpha1.ScorecardOutput) scapiv1alpha2.ScorecardOutput

func ConvertSuiteResultV1ToV2TestResults

func ConvertSuiteResultV1ToV2TestResults(v1SuiteResult scapiv1alpha1.ScorecardSuiteResult) []scapiv1alpha2.ScorecardTestResult

func ConvertTestResultV1ToV2

func ConvertTestResultV1ToV2(v1SuiteName string, v1TestResult scapiv1alpha1.ScorecardTestResult) scapiv1alpha2.ScorecardTestResult

Types

type ScorecardFormatter

type ScorecardFormatter interface {
	// todo(camilamacedo86): The no lint here is for pkg/apis/scorecard/formatting.go:25:6: type name will be used as scorecard.ScorecardFormatter by other packages, and that stutters; consider calling this Formatter (golint)
	// However, was decided to not move forward with it now in order to not introduce breakchanges with the task to add the linter. We should to do it after.
	MarshalText() (string, error)
}

Directories

Path Synopsis
Package v1alpha1 contains API Schema definitions for the cache v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=osdk.openshift.io
Package v1alpha1 contains API Schema definitions for the cache v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=osdk.openshift.io
Package v1alpha2 contains API Schema definitions for the cache v1alpha2 API group +k8s:deepcopy-gen=package,register +groupName=osdk.openshift.io
Package v1alpha2 contains API Schema definitions for the cache v1alpha2 API group +k8s:deepcopy-gen=package,register +groupName=osdk.openshift.io

Jump to

Keyboard shortcuts

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