buildkite

package
v3.88.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyBuildKite

func VerifyBuildKite(ctx context.Context, client *http.Client, secret string) (map[string]string, bool, error)

Types

type APIResponse

type APIResponse struct {
	Scopes []string `json:"scopes"`
}

type Scanner

type Scanner struct{}

func (Scanner) Description

func (s Scanner) Description() string

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 Buildkite secrets in a given set of bytes.

func (Scanner) Keywords

func (s Scanner) Keywords() []string

Keywords are used for efficiently pre-filtering chunks. Use identifiers in the secret preferably, or the provider name.

func (Scanner) Type

func (s Scanner) Type() detectorspb.DetectorType

func (Scanner) Version

func (s Scanner) Version() int

Jump to

Keyboard shortcuts

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