document

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checksum

type Checksum interface {
	GetAlgorithm() string
	GetValue() string
}

type CreationInfo

type CreationInfo interface {
	GetCreators() []string
	GetLicenseListVersion() string
	GetCreated() string
}

type Document

type Document interface {
	GetVersion() string
	GetDataLicense() string
	GetID() string
	GetName() string
	GetNamespace() string
	GetCreationInfo() CreationInfo
	GetPackages() []Package
	GetFiles() []File
	GetRelationships() []Relationship
	GetDocumentDescribes() []string
	GetExternalDocumentRefs() []ExternalDocumentRef
}

type ExternalDocumentRef

type ExternalDocumentRef interface {
	GetChecksum() Checksum
	GetExternalDocumentID() string
	GetSPDXDocument() string
}

type ExternalRef

type ExternalRef interface {
	GetCategory() string
	GetLocator() string
	GetType() string
}

type File

type File interface {
	GetID() string
	GetName() string
	GetCopyrightText() string
	GetLicenseConcluded() string
	GetLicenseInfoInFile() []string
	GetChecksums() []Checksum
}

type Package

type Package interface {
	GetID() string
	GetName() string
	GetDownloadLocation() string
	GetCopyrightText() string
	GetLicenseConcluded() string
	GetFilesAnalyzed() bool
	GetLicenseDeclared() string
	GetVersion() string
	GetVerificationCode() PackageVerificationCode
	GetPrimaryPurpose() string
	GetChecksums() []Checksum
	GetExternalRefs() []ExternalRef
}

type PackageVerificationCode

type PackageVerificationCode interface {
	GetValue() string
}

type Relationship

type Relationship interface {
	GetElement() string
	GetType() string
	GetRelated() string
}

Jump to

Keyboard shortcuts

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