internal

package
v0.0.0-...-10bebe8 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package internal contains mostly utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSecret

func GetSecret(ctx context.Context, secretFullName string) (_ string, err error)

GetSecret retrieves a secret from the GCP Secret Manager. secretFullName should be of the form "projects/PROJECT/secrets/NAME".

func GoEnv

func GoEnv() (map[string]string, error)

GoEnv returns the key-value map of `go env`.

Types

This section is empty.

Directories

Path Synopsis
Package analysis provides functionality for manipulating inputs and outputs of analysis endpoints.
Package analysis provides functionality for manipulating inputs and outputs of analysis endpoints.
Package bigquery provides a client for reading and writing to BigQuery.
Package bigquery provides a client for reading and writing to BigQuery.
Package buildtest provides support for running "go build" and similar build/installation commands in tests.
Package buildtest provides support for running "go build" and similar build/installation commands in tests.
Package config resolves shared configuration for services, and provides functions to access this configuration.
Package config resolves shared configuration for services, and provides functions to access this configuration.
Package derrors defines internal error values to categorize the different types of semantic errors.
Package derrors defines internal error values to categorize the different types of semantic errors.
Package fstore provides general support for Firestore.
Package fstore provides general support for Firestore.
Package govulncheck provides functionality for manipulating inputs and outputs of govulncheck endpoints.
Package govulncheck provides functionality for manipulating inputs and outputs of govulncheck endpoints.
The govulncheckapi package is copied from x/vuln/internal/govulncheck and matches the output structure of govulncheck when ran in -json mode.
The govulncheckapi package is copied from x/vuln/internal/govulncheck and matches the output structure of govulncheck when ran in -json mode.
Package jobs supports jobs, which are collections of enqueued tasks.
Package jobs supports jobs, which are collections of enqueued tasks.
Package log implements logging.
Package log implements logging.
Package modules assists in working with modules, e.g., downloading a module via a Go proxy client.
Package modules assists in working with modules, e.g., downloading a module via a Go proxy client.
Package observe provides metric and tracing support for Go servers.
Package observe provides metric and tracing support for Go servers.
Package osv implements the Go OSV vulnerability format (https://go.dev/security/vuln/database#schema), which is a subset of the OSV shared vulnerability format (https://ossf.github.io/osv-schema), with database and ecosystem-specific meanings and fields.
Package osv implements the Go OSV vulnerability format (https://go.dev/security/vuln/database#schema), which is a subset of the OSV shared vulnerability format (https://ossf.github.io/osv-schema), with database and ecosystem-specific meanings and fields.
Package pkgsitedb provides functionality for connecting to the pkgsite database.
Package pkgsitedb provides functionality for connecting to the pkgsite database.
Package proxy provides a client for interacting with a proxy.
Package proxy provides a client for interacting with a proxy.
proxytest
Package proxytest supports testing with the proxy.
Package proxytest supports testing with the proxy.
Package queue provides queue implementations that can be used for asynchronous scheduling of fetch actions.
Package queue provides queue implementations that can be used for asynchronous scheduling of fetch actions.
Package sandbox runs programs in a secure environment.
Package sandbox runs programs in a secure environment.
Package scan provides functionality for parsing a scan request.
Package scan provides functionality for parsing a scan request.
Package testing provides testing utilities.
Package testing provides testing utilities.
testhelper
Package testhelper provides shared functionality and constants to be used in Discovery tests.
Package testhelper provides shared functionality and constants to be used in Discovery tests.
Package version handles version types.
Package version handles version types.
Package vulndb provides functionality for manipulating inputs and outputs of vulndb endpoint.
Package vulndb provides functionality for manipulating inputs and outputs of vulndb endpoint.
Package vulndbreqs supports recording the daily count of requests to the Vulnerability Database.
Package vulndbreqs supports recording the daily count of requests to the Vulnerability Database.
Package worker provides functionality for running a worker service.
Package worker provides functionality for running a worker service.

Jump to

Keyboard shortcuts

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