Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scorecard ¶
type Scorecard map[string]*ScoredObject
func (Scorecard) AnyBelowOrEqualToGrade ¶ added in v1.0.0
func (Scorecard) NewObject ¶ added in v0.6.0
func (s Scorecard) NewObject(typeMeta metav1.TypeMeta, objectMeta metav1.ObjectMeta) *ScoredObject
type ScoredObject ¶ added in v0.6.0
type ScoredObject struct { TypeMeta metav1.TypeMeta ObjectMeta metav1.ObjectMeta Checks []TestScore // contains filtered or unexported fields }
func (*ScoredObject) Add ¶ added in v0.6.0
func (so *ScoredObject) Add(ts TestScore, check ks.Check)
func (ScoredObject) AnyBelowOrEqualToGrade ¶ added in v1.2.0
func (s ScoredObject) AnyBelowOrEqualToGrade(threshold Grade) bool
func (ScoredObject) HumanFriendlyRef ¶ added in v0.6.0
func (so ScoredObject) HumanFriendlyRef() string
type TestScore ¶
type TestScore struct { Check ks.Check Grade Grade Skipped bool Comments []TestScoreComment }
func (*TestScore) AddComment ¶
type TestScoreComment ¶
Click to show internal directories.
Click to hide internal directories.