popeye: github.com/derailed/popeye/pkg Index | Files | Directories

package pkg

import "github.com/derailed/popeye/pkg"

Index

Package Files

popeye.go

Variables

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")
)

type Popeye Uses

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

Popeye a kubernetes sanitizer.

func NewPopeye Uses

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

NewPopeye returns a new sanitizer.

func (*Popeye) Init Uses

func (p *Popeye) Init() error

Init configures popeye prior to sanitization.

func (*Popeye) Sanitize Uses

func (p *Popeye) Sanitize() error

Sanitize scans a cluster for potential issues.

Directories

PathSynopsis
config

Package pkg imports 15 packages (graph) and is imported by 2 packages. Updated 2019-08-19. Refresh now. Tools for package owners.