Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DryRunDiffs ¶
type DryRunDiffs struct {
// contains filtered or unexported fields
}
func NewDryRunDiffs ¶
func NewDryRunDiffs() *DryRunDiffs
func (*DryRunDiffs) Add ¶
func (d *DryRunDiffs) Add(path, diff string)
func (*DryRunDiffs) CombineOutput ¶
func (d *DryRunDiffs) CombineOutput() string
type Engine ¶
type Engine struct { Include []string Exclude []string LineSepCharacter string Formatter yamlfmt.Formatter }
func (*Engine) DryRunAllFiles ¶
func (*Engine) FormatAllFiles ¶
func (*Engine) FormatFile ¶
func (*Engine) LintAllFiles ¶
type FormatFileErrors ¶
type FormatFileErrors struct {
// contains filtered or unexported fields
}
func NewFormatFileErrors ¶
func NewFormatFileErrors() *FormatFileErrors
func (*FormatFileErrors) Add ¶
func (e *FormatFileErrors) Add(file string, err error)
func (*FormatFileErrors) Count ¶
func (e *FormatFileErrors) Count() int
func (*FormatFileErrors) Error ¶
func (e *FormatFileErrors) Error() string
type LintFileErrors ¶
type LintFileErrors struct {
// contains filtered or unexported fields
}
func NewLintFileErrors ¶
func NewLintFileErrors() *LintFileErrors
func (*LintFileErrors) Add ¶
func (e *LintFileErrors) Add(file string, err error)
func (*LintFileErrors) Count ¶
func (e *LintFileErrors) Count() int
func (*LintFileErrors) Error ¶
func (e *LintFileErrors) Error() string
Click to show internal directories.
Click to hide internal directories.