plugins

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

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

func NewResolver

func NewResolver() *Resolver

func (*Resolver) GetConfigAuditPlugin

GetConfigAuditPlugin is a factory method that instantiates the configauditreport.Plugin.

func (*Resolver) GetVulnerabilityPlugin

func (r *Resolver) GetVulnerabilityPlugin() (vulnerabilityreport.Plugin, tunneloperator.PluginContext, error)

GetVulnerabilityPlugin is a factory method that instantiates the vulnerabilityreport.Plugin.

Tunnel-Operator currently supports Trivy scanner in Standalone and ClientServer mode.

You could add your own scanner by implementing the vulnerabilityreport.Plugin interface.

func (*Resolver) WithBuildInfo

func (r *Resolver) WithBuildInfo(buildInfo tunneloperator.BuildInfo) *Resolver

func (*Resolver) WithClient

func (r *Resolver) WithClient(c client.Client) *Resolver

func (*Resolver) WithConfig

func (r *Resolver) WithConfig(config tunneloperator.ConfigData) *Resolver

func (*Resolver) WithNamespace

func (r *Resolver) WithNamespace(namespace string) *Resolver

func (*Resolver) WithObjectResolver

func (r *Resolver) WithObjectResolver(objectResolver *kube.ObjectResolver) *Resolver

func (*Resolver) WithServiceAccountName

func (r *Resolver) WithServiceAccountName(name string) *Resolver

Directories

Path Synopsis
Package trivy provides primitives for working with Trivy.
Package trivy provides primitives for working with Trivy.

Jump to

Keyboard shortcuts

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