kubehunter

package
v0.15.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package kubehunter provides primitives for working with KubeHunter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OutputFrom

func OutputFrom(config Config, reader io.Reader) (v1alpha1.KubeHunterReportData, error)

Types

type Config added in v0.8.0

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

type Scanner

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

func NewScanner

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

func (*Scanner) Scan

type Writer

type Writer interface {
	Write(ctx context.Context, report v1alpha1.KubeHunterReportData, 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