target

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ImportTargetProtocolUndefined ImportTargetProtocol = iota
	ImportTargetProtocolBigQuery

	ImportTargetProtocolUndefinedName = "undefined"
	ImportTargetProtocolBigQueryName  = "bq"
)

Variables

Functions

func ParseImportRequest added in v0.9.5

func ParseImportRequest(req *types.SimpleQuery) (*types.ImportRequest, error)

ParseImportRequest parses import request. e.g. bq://cloudy-demos.disco.packages

Types

type ImportTargetProtocol added in v0.9.5

type ImportTargetProtocol int64

func (ImportTargetProtocol) String added in v0.9.5

func (i ImportTargetProtocol) String() string

type LicenseImporterFunc added in v0.9.5

type LicenseImporterFunc func(ctx context.Context, req *types.ImportRequest, in ...*types.LicenseReport) error

type PackageImporterFunc added in v0.9.5

type PackageImporterFunc func(ctx context.Context, req *types.ImportRequest, in ...*types.PackageReport) error

type VulnerabilityImporterFunc added in v0.9.5

type VulnerabilityImporterFunc func(ctx context.Context, req *types.ImportRequest, in ...*types.VulnerabilityReport) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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