domain

package
v0.106.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component added in v0.100.0

type Component struct {
	Name string
}

type Dependency

type Dependency struct {
	RepoKey RepoKey

	PackageName    string
	Version        string
	Digest         *string
	CurrentVersion *string

	PackageManager  string
	PackageFilePath string
}

func (Dependency) DependencyDetails added in v0.4.0

func (d Dependency) DependencyDetails() string

type DependencyUpdate added in v0.14.0

type DependencyUpdate struct {
	Dependency

	NewVersion string
	NewDigest  *string
	UpdateType string
}

type License added in v0.59.0

type License struct {
	PackageName    string
	Version        string
	PackageManager string
	License        string
}

func (License) Valid added in v0.59.0

func (l License) Valid() bool

type Owner added in v0.15.0

type Owner struct {
	Platform     string
	Organisation string
	Repo         string

	Name  string
	Notes string
}

type RepoKey added in v0.94.2

type RepoKey struct {
	Platform     string
	Organisation string
	Repo         string
}

RepoKey is a unique identifier to trace a source repository, aka the "Repo Key".

The Repo key is further documented in https://dmd.tanna.dev/concepts/repo-key/

func (RepoKey) Valid added in v0.100.0

func (rk RepoKey) Valid() map[string]string

type SBOMDependency added in v0.38.0

type SBOMDependency struct {
	ComponentName string
	RepoKey       *RepoKey

	PackageName    string
	Version        *string
	CurrentVersion *string

	PackageType string
	PackageURL  string
}

SBOMDependency defines the domain model for all representations of Software Bill of Materials (SBOM) derived package dependencies, which is consistent across all supported types of SBOMs

Jump to

Keyboard shortcuts

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