secret

package
v0.0.0-...-c5f19f0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretAnalyzer

type SecretAnalyzer struct {
	// contains filtered or unexported fields
}

SecretAnalyzer is an analyzer for secrets

func NewSecretAnalyzer

func NewSecretAnalyzer(s secret.Scanner, configPath string) *SecretAnalyzer

func (*SecretAnalyzer) Analyze

func (*SecretAnalyzer) Init

Init initializes and sets a secret scanner

func (*SecretAnalyzer) Required

func (a *SecretAnalyzer) Required(filePath string, fi os.FileInfo) bool

func (*SecretAnalyzer) Type

func (a *SecretAnalyzer) Type() analyzer.Type

func (*SecretAnalyzer) Version

func (a *SecretAnalyzer) Version() int

Jump to

Keyboard shortcuts

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