Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// LogFile the path to our logs.
LogFile = filepath.Join(os.TempDir(), "popeye.log")
// DumpDir track scan report directory location.
DumpDir = dumpDir()
)
Functions ¶
Types ¶
type Popeye ¶
type Popeye struct {
// contains filtered or unexported fields
}
Popeye represents a kubernetes linter/linter.
func NewPopeye ¶
func NewPopeye(flags *config.Flags, log *zerolog.Logger) (*Popeye, error)
NewPopeye returns a new instance.
func (*Popeye) Do ¶ added in v0.9.1
func (p *Popeye) Do(req *http.Request) (*http.Response, error)
Do implements the HTTPDoer interface to replace the standard http client push request and write to the outputTarget
func (*Popeye) Init ¶ added in v0.4.0
func (p *Popeye) Init() error
Init configures popeye prior to sanitization.
func (*Popeye) Lint ¶ added in v0.20.0
func (p *Popeye) Lint() (int, int, error)
Lint scans a cluster for potential issues.
func (*Popeye) SetFactory ¶ added in v0.8.0
func (p *Popeye) SetFactory(f types.Factory)
SetFactory sets the resource factory.
Click to show internal directories.
Click to hide internal directories.