spdx

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0, GPL-2.0, CC-BY-4.0 Imports: 2 Imported by: 70

Documentation

Overview

Package spdx contains references to the latest spdx version

Index

Constants

View Source
const (
	Version     = latest.Version
	DataLicense = latest.DataLicense
)
View Source
const (
	SHA224      = common.SHA224
	SHA1        = common.SHA1
	SHA256      = common.SHA256
	SHA384      = common.SHA384
	SHA512      = common.SHA512
	MD2         = common.MD2
	MD4         = common.MD4
	MD5         = common.MD5
	MD6         = common.MD6
	SHA3_256    = common.SHA3_256
	SHA3_384    = common.SHA3_384
	SHA3_512    = common.SHA3_512
	BLAKE2b_256 = common.BLAKE2b_256
	BLAKE2b_384 = common.BLAKE2b_384
	BLAKE2b_512 = common.BLAKE2b_512
	BLAKE3      = common.BLAKE3
	ADLER32     = common.ADLER32
)
View Source
const (
	// F.2 Security types
	CategorySecurity  = common.CategorySecurity
	SecurityCPE23Type = common.TypeSecurityCPE23Type
	SecurityCPE22Type = common.TypeSecurityCPE22Type
	SecurityAdvisory  = common.TypeSecurityAdvisory
	SecurityFix       = common.TypeSecurityFix
	SecurityUrl       = common.TypeSecurityUrl
	SecuritySwid      = common.TypeSecuritySwid

	// F.3 Package-Manager types
	CategoryPackageManager     = common.CategoryPackageManager
	PackageManagerMavenCentral = common.TypePackageManagerMavenCentral
	PackageManagerNpm          = common.TypePackageManagerNpm
	PackageManagerNuGet        = common.TypePackageManagerNuGet
	PackageManagerBower        = common.TypePackageManagerBower
	PackageManagerPURL         = common.TypePackageManagerPURL

	// F.4 Persistent-Id types
	CategoryPersistentId   = common.CategoryPersistentId
	TypePersistentIdSwh    = common.TypePersistentIdSwh
	TypePersistentIdGitoid = common.TypePersistentIdGitoid

	// F.5 Other
	CategoryOther = common.CategoryOther

	// 11.1 Relationship field types
	RelationshipDescribes                 = common.TypeRelationshipDescribe
	RelationshipDescribedBy               = common.TypeRelationshipDescribeBy
	RelationshipContains                  = common.TypeRelationshipContains
	RelationshipContainedBy               = common.TypeRelationshipContainedBy
	RelationshipDependsOn                 = common.TypeRelationshipDependsOn
	RelationshipDependencyOf              = common.TypeRelationshipDependencyOf
	RelationshipBuildDependencyOf         = common.TypeRelationshipBuildDependencyOf
	RelationshipDevDependencyOf           = common.TypeRelationshipDevDependencyOf
	RelationshipOptionalDependencyOf      = common.TypeRelationshipOptionalDependencyOf
	RelationshipProvidedDependencyOf      = common.TypeRelationshipProvidedDependencyOf
	RelationshipTestDependencyOf          = common.TypeRelationshipTestDependencyOf
	RelationshipRuntimeDependencyOf       = common.TypeRelationshipRuntimeDependencyOf
	RelationshipExampleOf                 = common.TypeRelationshipExampleOf
	RelationshipGenerates                 = common.TypeRelationshipGenerates
	RelationshipGeneratedFrom             = common.TypeRelationshipGeneratedFrom
	RelationshipAncestorOf                = common.TypeRelationshipAncestorOf
	RelationshipDescendantOf              = common.TypeRelationshipDescendantOf
	RelationshipVariantOf                 = common.TypeRelationshipVariantOf
	RelationshipDistributionArtifact      = common.TypeRelationshipDistributionArtifact
	RelationshipPatchFor                  = common.TypeRelationshipPatchFor
	RelationshipPatchApplied              = common.TypeRelationshipPatchApplied
	RelationshipCopyOf                    = common.TypeRelationshipCopyOf
	RelationshipFileAdded                 = common.TypeRelationshipFileAdded
	RelationshipFileDeleted               = common.TypeRelationshipFileDeleted
	RelationshipFileModified              = common.TypeRelationshipFileModified
	RelationshipExpandedFromArchive       = common.TypeRelationshipExpandedFromArchive
	RelationshipDynamicLink               = common.TypeRelationshipDynamicLink
	RelationshipStaticLink                = common.TypeRelationshipStaticLink
	RelationshipDataFileOf                = common.TypeRelationshipDataFileOf
	RelationshipTestCaseOf                = common.TypeRelationshipTestCaseOf
	RelationshipBuildToolOf               = common.TypeRelationshipBuildToolOf
	RelationshipDevToolOf                 = common.TypeRelationshipDevToolOf
	RelationshipTestOf                    = common.TypeRelationshipTestOf
	RelationshipTestToolOf                = common.TypeRelationshipTestToolOf
	RelationshipDocumentationOf           = common.TypeRelationshipDocumentationOf
	RelationshipOptionalComponentOf       = common.TypeRelationshipOptionalComponentOf
	RelationshipMetafileOf                = common.TypeRelationshipMetafileOf
	RelationshipPackageOf                 = common.TypeRelationshipPackageOf
	RelationshipAmends                    = common.TypeRelationshipAmends
	RelationshipPrerequisiteFor           = common.TypeRelationshipPrerequisiteFor
	RelationshipHasPrerequisite           = common.TypeRelationshipHasPrerequisite
	RelationshipRequirementDescriptionFor = common.TypeRelationshipRequirementDescriptionFor
	RelationshipSpecificationFor          = common.TypeRelationshipSpecificationFor
	RelationshipOther                     = common.TypeRelationshipOther
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Annotation added in v0.5.0

type Annotation = latest.Annotation

type Annotator added in v0.5.0

type Annotator = common.Annotator

type ArtifactOfProject added in v0.5.0

type ArtifactOfProject = latest.ArtifactOfProject

type Checksum

type Checksum = common.Checksum

type ChecksumAlgorithm

type ChecksumAlgorithm = common.ChecksumAlgorithm

type CreationInfo added in v0.5.0

type CreationInfo = latest.CreationInfo

type Creator added in v0.5.0

type Creator = common.Creator

type DocElementID

type DocElementID = common.DocElementID

type Document added in v0.5.0

type Document = latest.Document

type ElementID

type ElementID = common.ElementID

type ExternalDocumentRef added in v0.5.0

type ExternalDocumentRef = latest.ExternalDocumentRef

type File added in v0.5.0

type File = latest.File

type Originator added in v0.5.0

type Originator = common.Originator

type OtherLicense added in v0.5.0

type OtherLicense = latest.OtherLicense

type Package added in v0.5.0

type Package = latest.Package

type PackageExternalReference added in v0.5.0

type PackageExternalReference = latest.PackageExternalReference

type PackageVerificationCode added in v0.5.0

type PackageVerificationCode = common.PackageVerificationCode

type Relationship added in v0.5.0

type Relationship = latest.Relationship

type Review added in v0.5.0

type Review = latest.Review

type Snippet added in v0.5.0

type Snippet = latest.Snippet

type SnippetRange added in v0.5.0

type SnippetRange = common.SnippetRange

type SnippetRangePointer added in v0.5.0

type SnippetRangePointer = common.SnippetRangePointer

type Supplier added in v0.5.0

type Supplier = common.Supplier

Directories

Path Synopsis
v2
v2_1
Package spdx contains the struct definition for an SPDX Document and its constituent parts.
Package spdx contains the struct definition for an SPDX Document and its constituent parts.
v2_1/tagvalue/reader
Package parser2v1 contains functions to read, load and parse SPDX tag-value files.
Package parser2v1 contains functions to read, load and parse SPDX tag-value files.
v2_1/tagvalue/writer
Package saver2v1 contains functions to render and write a tag-value formatted version of an in-memory SPDX document and its sections (version 2.1).
Package saver2v1 contains functions to render and write a tag-value formatted version of an in-memory SPDX document and its sections (version 2.1).
v2_2
Package spdx contains the struct definition for an SPDX Document and its constituent parts.
Package spdx contains the struct definition for an SPDX Document and its constituent parts.
v2_2/rdf/reader
SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later copied from tvloader/parser2v2/types.go
SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later copied from tvloader/parser2v2/types.go
v2_2/tagvalue/reader
Package parser2v2 contains functions to read, load and parse SPDX tag-value files, version 2.2.
Package parser2v2 contains functions to read, load and parse SPDX tag-value files, version 2.2.
v2_2/tagvalue/writer
Package saver2v2 contains functions to render and write a tag-value formatted version of an in-memory SPDX document and its sections (version 2.2).
Package saver2v2 contains functions to render and write a tag-value formatted version of an in-memory SPDX document and its sections (version 2.2).
v2_3
Package v2_3 Package contains the struct definition for an SPDX Document and its constituent parts.
Package v2_3 Package contains the struct definition for an SPDX Document and its constituent parts.
v2_3/rdf/reader
SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later copied from tvloader/parser2v3/types.go
SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later copied from tvloader/parser2v3/types.go
v2_3/tagvalue/reader
Package reader contains functions to read, load and parse SPDX tag-value files.
Package reader contains functions to read, load and parse SPDX tag-value files.
v2_3/tagvalue/writer
Package saver2v3 contains functions to render and write a tag-value formatted version of an in-memory SPDX document and its sections.
Package saver2v3 contains functions to render and write a tag-value formatted version of an in-memory SPDX document and its sections.

Jump to

Keyboard shortcuts

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