kubebench

package
v0.7.0-rc1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.6.0

type Config interface {
	GetKubeBenchImageRef() string
}

type Converter

type Converter interface {
	Convert(config Config, reader io.Reader) (aquasecurityv1alpha1.CISKubeBenchOutput, error)
}
var DefaultConverter Converter = &converter{}

type ReadWriter added in v0.3.0

type ReadWriter interface {
	Writer
	Reader
}

type Reader added in v0.3.0

type Reader interface {
	Read(ctx context.Context, node kube.Object) (starboard.CISKubeBenchOutput, error)
}

type Scanner

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

func NewScanner

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

func (*Scanner) Scan

func (s *Scanner) Scan(ctx context.Context, node core.Node) (report starboardv1alpha1.CISKubeBenchOutput, err error)

type Writer

type Writer interface {
	Write(ctx context.Context, report starboard.CISKubeBenchOutput, node *core.Node) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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