namespace

package
v0.77.3 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Index

type Index struct {
	// contains filtered or unexported fields
}

func FromStrings

func FromStrings(namespaces []string) (*Index, error)

func (*Index) CPENamespaces

func (i *Index) CPENamespaces() []*cpe.Namespace

func (*Index) NamespacesForDistro

func (i *Index) NamespacesForDistro(d *grypeDistro.Distro) []*distro.Namespace

func (*Index) NamespacesForLanguage

func (i *Index) NamespacesForLanguage(l syftPkg.Language) []*language.Namespace

type Namespace

type Namespace interface {
	Provider() string
	Resolver() resolver.Resolver
	String() string
}

func FromString

func FromString(namespaceStr string) (Namespace, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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