sourcemetadata

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllTypeNames added in v0.95.0

func AllTypeNames() []string

func AllTypes

func AllTypes() []any

AllTypes returns a list of all source metadata types that syft supports (that are represented in the source.Description.Metadata field).

func DiscoverTypeNames

func DiscoverTypeNames() ([]string, error)

func JSONName

func JSONName(metadata any) string

func ReflectTypeFromJSONName

func ReflectTypeFromJSONName(name string) reflect.Type

Types

type CompletionTester

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

func NewCompletionTester

func NewCompletionTester(t testing.TB, ignore ...any) *CompletionTester

func (*CompletionTester) Tested

func (tr *CompletionTester) Tested(t testing.TB, m any)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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