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 ¶
func (Scorecard) NewObject ¶
func (s Scorecard) NewObject(typeMeta metav1.TypeMeta, objectMeta metav1.ObjectMeta, cnf *config.RunConfiguration) *ScoredObject
type ScoredObject ¶
type ScoredObject struct { TypeMeta metav1.TypeMeta ObjectMeta metav1.ObjectMeta FileLocation ks.FileLocation Checks []TestScore // contains filtered or unexported fields }
func (*ScoredObject) Add ¶
func (so *ScoredObject) Add(ts TestScore, check ks.Check, locationer ks.FileLocationer, annotations ...map[string]string)
func (*ScoredObject) AnyBelowOrEqualToGrade ¶
func (so *ScoredObject) AnyBelowOrEqualToGrade(threshold Grade) bool
func (*ScoredObject) HumanFriendlyRef ¶
func (so *ScoredObject) HumanFriendlyRef() string
type TestScore ¶
type TestScore struct { Check ks.Check Grade Grade Skipped bool Comments []TestScoreComment }
func (*TestScore) AddComment ¶
func (*TestScore) AddCommentWithURL ¶
Click to show internal directories.
Click to hide internal directories.