trivy

package
v0.3.22 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Repo          = "https://aquasecurity.github.io/helm-charts/"
	Version       = "0.13.0"
	ChartName     = "trivy-operator"
	RepoShortName = "aqua"
	ReleaseName   = "trivy-operator-k8sgpt"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Trivy

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

func NewTrivy

func NewTrivy() *Trivy

func (*Trivy) AddAnalyzer

func (t *Trivy) AddAnalyzer(mergedMap *map[string]common.IAnalyzer)

func (*Trivy) Deploy

func (t *Trivy) Deploy(namespace string) error

func (*Trivy) GetAnalyzerName

func (t *Trivy) GetAnalyzerName() []string

func (*Trivy) GetNamespace added in v0.3.17

func (t *Trivy) GetNamespace() (string, error)

This doesnt work

func (*Trivy) IsActivate

func (t *Trivy) IsActivate() bool

func (*Trivy) OwnsAnalyzer added in v0.3.16

func (t *Trivy) OwnsAnalyzer(analyzer string) bool

func (*Trivy) UnDeploy

func (t *Trivy) UnDeploy(namespace string) error

type TrivyAnalyzer

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

func (TrivyAnalyzer) Analyze

func (t TrivyAnalyzer) Analyze(a common.Analyzer) ([]common.Result, error)

Jump to

Keyboard shortcuts

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