extraction

package
v0.0.0-...-2853fc3 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHubExtractor

type GitHubExtractor struct {
	RepositoryURL string
	Repository    string
	Owner         string
	Config        configuration.GitHub
	Client        *githubapi.ClientWrapper
}

func NewGitHubExtractor

func NewGitHubExtractor(dependency model.Dependency, config configuration.GitHub, cache *cache.Cache) (*GitHubExtractor, error)

func (*GitHubExtractor) Extract

func (ghe *GitHubExtractor) Extract(dataModel *model.DataModel)

type MavenCentralExtractor

type MavenCentralExtractor struct {
	DependencyName string
	SHA1           string
	Client         *mavencentralapi.ClientWrapper
}

func NewMavenCentralExtractor

func NewMavenCentralExtractor(dependency model.Dependency, cache *cache.Cache) *MavenCentralExtractor

func (*MavenCentralExtractor) Extract

func (mce *MavenCentralExtractor) Extract(dataModel *model.DataModel)

type OSSIndexExtractor

type OSSIndexExtractor struct {
	PackageURL string
	Config     configuration.OSSIndex
	Client     *ossindexapi.ClientWrapper
}

func NewOSSIndexExtractor

func NewOSSIndexExtractor(dependency model.Dependency, config configuration.OSSIndex, cache *cache.Cache) (*OSSIndexExtractor, error)

func (*OSSIndexExtractor) Extract

func (ossie *OSSIndexExtractor) Extract(dataModel *model.DataModel)

Jump to

Keyboard shortcuts

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