trivy

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigInstance

func ConfigInstance() interface{}

func GetConfig

func GetConfig(connection *plugin.Connection) trivyConfig

GetConfig :: retrieve and cast connection config from query data

func GetConfigCacheDir

func GetConfigCacheDir(connection *plugin.Connection) string

GetConfigCacheDir :: get cache directory from config, or return the default

func GetConfigDatabaseRepository

func GetConfigDatabaseRepository(connection *plugin.Connection) string

GetConfigCacheDir :: get cache directory from config, or return the default

func Plugin

func Plugin(ctx context.Context) *plugin.Plugin

Types

This section is empty.

Jump to

Keyboard shortcuts

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