behavior

package
v0.19.3 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigurationCheckerBehavior

func ConfigurationCheckerBehavior(inputs *Inputs) func()

ConfigurationCheckerBehavior returns the container of specs that describe behavior of a configuration checker with the given inputs.

func VulnerabilityScannerBehavior

func VulnerabilityScannerBehavior(inputs *Inputs) func()

VulnerabilityScannerBehavior returns the container of specs that describe behavior of a vulnerability scanner with the given inputs.

Types

type Inputs

type Inputs struct {
	AssertTimeout         time.Duration
	PrimaryNamespace      string
	PrimaryWorkloadPrefix string

	// ConfigAuditReportsPlugin is the name of the configauditreport.Plugin.
	ConfigAuditReportsPlugin string

	client.Client
	*helper.Helper
}

Inputs represents required inputs to shared behavior containers.

Jump to

Keyboard shortcuts

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