Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldTracker ¶
type FieldTracker map[string]*TemplateTracker
func NewFieldTracker ¶
func NewFieldTracker() FieldTracker
func (FieldTracker) Covered ¶
func (f FieldTracker) Covered(fieldSeen, fieldOrNamedTemplate string)
type TemplateTracker ¶
type TemplateTracker struct { Templates []string // contains filtered or unexported fields }
func NewTemplateTracker ¶
func NewTemplateTracker() *TemplateTracker
func (*TemplateTracker) Covered ¶
func (t *TemplateTracker) Covered()
func (*TemplateTracker) IsCovered ¶
func (t *TemplateTracker) IsCovered() bool
func (*TemplateTracker) Track ¶
func (t *TemplateTracker) Track(templatePath string)
type Tracker ¶
type Tracker struct {
FieldUsage FieldTracker
}
func NewTracker ¶
func NewTracker(usage *tpl.TemplateUsage, includeSubcharts bool) *Tracker
func (*Tracker) CalculateCoverage ¶
Click to show internal directories.
Click to hide internal directories.