trivy

package
v0.3.30 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Repo          = getEnv("TRIVY_REPO", "https://aquasecurity.github.io/helm-charts/")
	Version       = getEnv("TRIVY_VERSION", "0.13.0")
	ChartName     = getEnv("TRIVY_CHART_NAME", "trivy-operator")
	RepoShortName = getEnv("TRIVY_REPO_SHORT_NAME", "aqua")
	ReleaseName   = getEnv("TRIVY_RELEASE_NAME", "trivy-operator-k8sgpt")
)

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