secret

package
v0.52.2 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: Apache-2.0 Imports: 14 Imported by: 1

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 added in v0.32.0

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

func (*SecretAnalyzer) Analyze

func (*SecretAnalyzer) Init added in v0.32.0

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