config

package
v1.14.3 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Config types.Config
)

Functions

func GetConfigPath added in v1.14.0

func GetConfigPath() string

func LoadDefaultConfig

func LoadDefaultConfig() types.SecretConfig

Load config with default values and set of rules

func LoadDefaultRules

func LoadDefaultRules() []types.Rule

LoadDefaultRules loads the default rules for secret detection

func MakeDefaultConfigFile

func MakeDefaultConfigFile(path string)

func New

func New() types.Config

func ReadConfigFile

func ReadConfigFile(config *types.Config, path string)

func ReplaceConfigFile

func ReplaceConfigFile(config types.Config, path string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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