inspector

package
v0.0.0-...-37e4571 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckerEnabled

func CheckerEnabled(checker checkv1.Checker) (bool, error)

Types

type Inspector

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

Inspector is a checker used to check whether various environmental check items meet the requirements

func NewInspector

func NewInspector() *Inspector

func (*Inspector) Check

func (i *Inspector) Check() error

func (*Inspector) PrintResult

func (i *Inspector) PrintResult() error

func (*Inspector) Validate

func (i *Inspector) Validate() (err error)

func (*Inspector) ZeroRc

func (i *Inspector) ZeroRc() bool

If it is fail, it does not pass; otherwise it passes

Jump to

Keyboard shortcuts

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