kubehunter

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OutputFrom

func OutputFrom(reader io.Reader) (report sec.KubeHunterOutput, err error)

Types

type Scanner

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

func NewScanner

func NewScanner(
	scheme *runtime.Scheme,
	clientset kubernetes.Interface,
	opts kube.ScannerOpts,
) *Scanner

func (*Scanner) Scan

func (s *Scanner) Scan(ctx context.Context) (report v1alpha1.KubeHunterOutput, err error)

type Writer

type Writer interface {
	Write(ctx context.Context, report starboard.KubeHunterOutput, cluster string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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