Documentation
¶
Overview ¶
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 ¶
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 SecurityCPE23Type = common.TypeSecurityCPE23Type SecurityCPE22Type = common.TypeSecurityCPE22Type SecurityAdvisory = common.TypeSecurityAdvisory SecurityFix = common.TypeSecurityFix SecurityUrl = common.TypeSecurityUrl SecuritySwid = common.TypeSecuritySwid // F.3 Package-Manager types PackageManagerMavenCentral = common.TypePackageManagerMavenCentral PackageManagerNpm = common.TypePackageManagerNpm PackageManagerNuGet = common.TypePackageManagerNuGet PackageManagerBower = common.TypePackageManagerBower PackageManagerPURL = common.TypePackageManagerPURL // 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 ArtifactOfProject ¶ added in v0.5.0
type ArtifactOfProject = latest.ArtifactOfProject
type ChecksumAlgorithm ¶
type ChecksumAlgorithm = common.ChecksumAlgorithm
type CreationInfo ¶ added in v0.5.0
type CreationInfo = latest.CreationInfo
type DocElementID ¶
type DocElementID = common.DocElementID
type ExternalDocumentRef ¶ added in v0.5.0
type ExternalDocumentRef = latest.ExternalDocumentRef
type Originator ¶ added in v0.5.0
type Originator = common.Originator
type OtherLicense ¶ added in v0.5.0
type OtherLicense = latest.OtherLicense
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 SnippetRange ¶ added in v0.5.0
type SnippetRange = common.SnippetRange
type SnippetRangePointer ¶ added in v0.5.0
type SnippetRangePointer = common.SnippetRangePointer
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. |
Click to show internal directories.
Click to hide internal directories.