Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scanner ¶
type Scanner struct {
detectors.DefaultMultiPartCredentialProvider
}
func (Scanner) FromData ¶
func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (results []detectors.Result, err error)
FromData will find and optionally verify Planetscaledb secrets in a given set of bytes.
func (Scanner) Type ¶
func (s Scanner) Type() detectorspb.DetectorType
Click to show internal directories.
Click to hide internal directories.