Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigSchema = map[string]*schema.Attribute{ "cache_dir": { Type: schema.TypeString, }, "images": { Type: schema.TypeList, Elem: &schema.Attribute{Type: schema.TypeString}, }, "paths": { Type: schema.TypeList, Elem: &schema.Attribute{Type: schema.TypeString}, }, }
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.