package
Version:
v0.3.2
Opens a new window with list of versions in this module.
Published: Apr 18, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var PopeyeLog = filepath.Join(os.TempDir(), fmt.Sprintf("popeye.log"))
PopeyeLog file path to our logs.
type Linter interface {
Reporter
Lint(context.Context) error
}
Linter represents a resource linter.
type Linters map[string]Linter
Linters a collection of linters.
Popeye a kubernetes sanitizer.
func NewPopeye(flags *k8s.Flags, log *zerolog.Logger, out *os.File) (*Popeye, error)
NewPopeye returns a new sanitizer.
func (p *Popeye) Sanitize()
Sanitize scans a cluster for potential issues.
type Reporter interface {
MaxSeverity(res string) linter.Level
Issues() linter.Issues
}
Reporter obtains lint reports
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.