Documentation ¶
Index ¶
- type Resolver
- func (r *Resolver) GetConfigAuditPlugin() (configauditreport.PluginInMemory, tunneloperator.PluginContext, error)
- func (r *Resolver) GetVulnerabilityPlugin() (vulnerabilityreport.Plugin, tunneloperator.PluginContext, error)
- func (r *Resolver) WithBuildInfo(buildInfo tunneloperator.BuildInfo) *Resolver
- func (r *Resolver) WithClient(c client.Client) *Resolver
- func (r *Resolver) WithConfig(config tunneloperator.ConfigData) *Resolver
- func (r *Resolver) WithNamespace(namespace string) *Resolver
- func (r *Resolver) WithObjectResolver(objectResolver *kube.ObjectResolver) *Resolver
- func (r *Resolver) WithServiceAccountName(name string) *Resolver
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 ¶
func (r *Resolver) GetConfigAuditPlugin() (configauditreport.PluginInMemory, tunneloperator.PluginContext, error)
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) WithConfig ¶
func (r *Resolver) WithConfig(config tunneloperator.ConfigData) *Resolver
func (*Resolver) WithNamespace ¶
func (*Resolver) WithObjectResolver ¶
func (r *Resolver) WithObjectResolver(objectResolver *kube.ObjectResolver) *Resolver
func (*Resolver) WithServiceAccountName ¶
Click to show internal directories.
Click to hide internal directories.