package spdx
import "github.com/spdx/tools-golang/spdx"
Package spdx contains references to the latest spdx version
Index ¶
- Constants
- type Annotation
- type Annotator
- type ArtifactOfProject
- type Checksum
- type ChecksumAlgorithm
- type CreationInfo
- type Creator
- type DocElementID
- type Document
- type ElementID
- type ExternalDocumentRef
- type File
- type Originator
- type OtherLicense
- type Package
- type PackageExternalReference
- type PackageVerificationCode
- type Relationship
- type Review
- type Snippet
- type SnippetRange
- type SnippetRangePointer
- type Supplier
Constants ¶
const ( Version = latest.Version DataLicense = latest.DataLicense )
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 )
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 // 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 )
Types ¶
type Annotation ¶
type Annotation = latest.Annotation
type Annotator ¶
type ArtifactOfProject ¶
type ArtifactOfProject = latest.ArtifactOfProject
type Checksum ¶
type ChecksumAlgorithm ¶
type ChecksumAlgorithm = common.ChecksumAlgorithm
type CreationInfo ¶
type CreationInfo = latest.CreationInfo
type Creator ¶
type DocElementID ¶
type DocElementID = common.DocElementID
type Document ¶
type ElementID ¶
type ExternalDocumentRef ¶
type ExternalDocumentRef = latest.ExternalDocumentRef
type File ¶
type Originator ¶
type Originator = common.Originator
type OtherLicense ¶
type OtherLicense = latest.OtherLicense
type Package ¶
type PackageExternalReference ¶
type PackageExternalReference = latest.PackageExternalReference
type PackageVerificationCode ¶
type PackageVerificationCode = common.PackageVerificationCode
type Relationship ¶
type Relationship = latest.Relationship
type Review ¶
type Snippet ¶
type SnippetRange ¶
type SnippetRange = common.SnippetRange
type SnippetRangePointer ¶
type SnippetRangePointer = common.SnippetRangePointer
type Supplier ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
spdx/common | |
spdx/v2 | |
spdx/v2/common | |
spdx/v2/v2_1 | Package spdx contains the struct definition for an SPDX Document and its constituent parts. |
spdx/v2/v2_1/tagvalue | |
spdx/v2/v2_1/tagvalue/reader | Package parser2v1 contains functions to read, load and parse SPDX tag-value files. |
spdx/v2/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). |
spdx/v2/v2_2 | Package spdx contains the struct definition for an SPDX Document and its constituent parts. |
spdx/v2/v2_2/example | |
spdx/v2/v2_2/json | |
spdx/v2/v2_2/rdf | |
spdx/v2/v2_2/rdf/reader | SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later copied from tvloader/parser2v2/types.go |
spdx/v2/v2_2/tagvalue | |
spdx/v2/v2_2/tagvalue/reader | Package parser2v2 contains functions to read, load and parse SPDX tag-value files, version 2.2. |
spdx/v2/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). |
spdx/v2/v2_2/yaml | |
spdx/v2/v2_3 | Package v2_3 Package contains the struct definition for an SPDX Document and its constituent parts. |
spdx/v2/v2_3/example | |
spdx/v2/v2_3/json | |
spdx/v2/v2_3/rdf | |
spdx/v2/v2_3/rdf/reader | SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later copied from tvloader/parser2v3/types.go |
spdx/v2/v2_3/tagvalue | |
spdx/v2/v2_3/tagvalue/reader | Package reader contains functions to read, load and parse SPDX tag-value files. |
spdx/v2/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. |
spdx/v2/v2_3/yaml |
- Version
- v0.5.0
- Published
- Mar 24, 2023
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 4 hours ago –
Tools for package owners.