kubehunter

package
v0.10.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OutputFrom

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

Types

type Config added in v0.8.0

type Config interface {
	GetKubeHunterImageRef() (string, error)
	GetKubeHunterQuick() (bool, error)
}

type Scanner

type Scanner struct {
	ext.IDGenerator
	// contains filtered or unexported fields
}

func NewScanner

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

func (*Scanner) Scan

type Writer

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

func NewWriter added in v0.9.0

func NewWriter(clientset versioned.Interface) Writer

Jump to

Keyboard shortcuts

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