public

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const ApplicationName = "grype"

note: do not change this

View Source
const DBUpdateURL = "https://toolbox-data.anchore.io/grype/databases/listing.json"

Variables

This section is empty.

Functions

func IsPipedInput

func IsPipedInput() bool

IsPipedInput returns true if there is no input device, which means the user **may** be providing input via a pipe.

func MatchCaptureGroups

func MatchCaptureGroups(regEx *regexp.Regexp, str string) map[string]string

MatchCaptureGroups takes a regular expression and string and returns all of the named capture group results in a map.

Types

type StringSet

type StringSet map[string]struct{}

func NewStringSet

func NewStringSet() StringSet

func (StringSet) Add

func (s StringSet) Add(i string)

func (StringSet) Contains

func (s StringSet) Contains(i string) bool

func (StringSet) Remove

func (s StringSet) Remove(i string)

func (StringSet) ToSlice

func (s StringSet) ToSlice() []string

Directories

Path Synopsis
ui

Jump to

Keyboard shortcuts

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