pkg

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// LogFile the path to our logs.
	LogFile = filepath.Join(os.TempDir(), fmt.Sprintf("popeye.log"))
	// DumpDir indicates a directory location for sanitixer reports.
	DumpDir = filepath.Join(os.TempDir(), "popeye")
)

Functions

This section is empty.

Types

type Popeye

type Popeye struct {
	// contains filtered or unexported fields
}

Popeye a kubernetes sanitizer.

func NewPopeye

func NewPopeye(flags *config.Flags, log *zerolog.Logger) (*Popeye, error)

NewPopeye returns a new sanitizer.

func (*Popeye) Init added in v0.4.0

func (p *Popeye) Init() error

Init configures popeye prior to sanitization.

func (*Popeye) Sanitize

func (p *Popeye) Sanitize() error

Sanitize scans a cluster for potential issues.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL