secret

package
v0.0.0-...-82b092a Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 14 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