golang

package
v0.41.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 License: Apache-2.0 Imports: 18 Imported by: 3

Documentation

Overview

Package golang provides a concrete Cataloger implementation for go.mod files.

nolint

Package golang provides a concrete Cataloger implementation for go.mod files.

Package version implements the “go version” command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGoModFileCataloger added in v0.25.0

func NewGoModFileCataloger() *common.GenericCataloger

NewGoModFileCataloger returns a new Go module cataloger object.

Types

type Cataloger added in v0.25.0

type Cataloger struct{}

func NewGoModuleBinaryCataloger added in v0.25.0

func NewGoModuleBinaryCataloger() *Cataloger

NewGoModuleBinaryCataloger returns a new Golang cataloger object.

func (*Cataloger) Catalog added in v0.25.0

func (c *Cataloger) Catalog(resolver source.FileResolver) ([]pkg.Package, []artifact.Relationship, error)

Catalog is given an object to resolve file references and content, this function returns any discovered Packages after analyzing rpm db installation.

func (*Cataloger) Name added in v0.25.0

func (c *Cataloger) Name() string

Name returns a string that uniquely describes a cataloger

Jump to

Keyboard shortcuts

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