Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LintDockFmt ¶
type LintDockFmt struct {
Type string `` /* 134-byte string literal not displayed */
IndentSize uint `json:"indent_size" yaml:"indent_size" jsonschema_description:"Number of spaces to use for indentation"`
TrailingNewline bool `json:"trailing_newline" yaml:"trailing_newline" jsonschema_description:"End the file with a trailing newline"`
SpaceRedirects bool `json:"space_redirects" yaml:"space_redirects" jsonschema_description:"Redirect operators will be followed by a space"`
}
LintDockFmt is a linter that uses the reteps/dockerfmt library to format dockerfiles
func (*LintDockFmt) Cleanup ¶
func (l *LintDockFmt) Cleanup(group *sync.WaitGroup)
Cleanup removes any additional resources created in the process
func (*LintDockFmt) MaxConcurrency ¶
func (l *LintDockFmt) MaxConcurrency() int
MaxConcurrency return max number of parallel files to fmt
func (*LintDockFmt) Run ¶
func (l *LintDockFmt) Run(filepath string, rep chan linter.Report)
Run will just return the configured error as a report
func (*LintDockFmt) WillRun ¶
func (l *LintDockFmt) WillRun() (err error)
WillRun returns nil as there are no external deps
Click to show internal directories.
Click to hide internal directories.