config

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load() *types.Config

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