subproc

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScanResults

type ScanResults struct {
	PassedCount int
	FailedCount int
	OrigReport  interface{}
	Error       error
}

type Scanner

type Scanner interface {
	Name() string                                                           // returns string label for the scanner
	Test() bool                                                             // test if the scanner is available
	ScanManifests(mnf string) (*ScanResults, error)                         // run the scanner on manifests
	ScanResource(ns string, kind string, name string) (*ScanResults, error) // run the scanner on k8s resource
	SupportedResourceKinds() []string
	ManifestIsScannable() bool
}

Jump to

Keyboard shortcuts

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