v1beta1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 9 Imported by: 8

Documentation

Overview

Package v1beta1 is the v1beta1 version of the API.

Index

Constants

View Source
const (
	// F.2 Security types
	TypeSecurityCPE23Type string = "cpe23Type"
	TypeSecurityCPE22Type string = "cpe22Type"
	TypeSecurityAdvisory  string = "advisory"
	TypeSecurityFix       string = "fix"
	TypeSecurityUrl       string = "url"
	TypeSecuritySwid      string = "swid"

	// F.3 Package-Manager types
	TypePackageManagerMavenCentral string = "maven-central"
	TypePackageManagerNpm          string = "npm"
	TypePackageManagerNuGet        string = "nuget"
	TypePackageManagerBower        string = "bower"
	TypePackageManagerPURL         string = "purl"

	// 11.1 Relationship field types
	TypeRelationshipDescribe                  string = "DESCRIBES"
	TypeRelationshipDescribeBy                string = "DESCRIBED_BY"
	TypeRelationshipContains                  string = "CONTAINS"
	TypeRelationshipContainedBy               string = "CONTAINED_BY"
	TypeRelationshipDependsOn                 string = "DEPENDS_ON"
	TypeRelationshipDependencyOf              string = "DEPENDENCY_OF"
	TypeRelationshipBuildDependencyOf         string = "BUILD_DEPENDENCY_OF"
	TypeRelationshipDevDependencyOf           string = "DEV_DEPENDENCY_OF"
	TypeRelationshipOptionalDependencyOf      string = "OPTIONAL_DEPENDENCY_OF"
	TypeRelationshipProvidedDependencyOf      string = "PROVIDED_DEPENDENCY_OF"
	TypeRelationshipTestDependencyOf          string = "TEST_DEPENDENCY_OF"
	TypeRelationshipRuntimeDependencyOf       string = "RUNTIME_DEPENDENCY_OF"
	TypeRelationshipExampleOf                 string = "EXAMPLE_OF"
	TypeRelationshipGenerates                 string = "GENERATES"
	TypeRelationshipGeneratedFrom             string = "GENERATED_FROM"
	TypeRelationshipAncestorOf                string = "ANCESTOR_OF"
	TypeRelationshipDescendantOf              string = "DESCENDANT_OF"
	TypeRelationshipVariantOf                 string = "VARIANT_OF"
	TypeRelationshipDistributionArtifact      string = "DISTRIBUTION_ARTIFACT"
	TypeRelationshipPatchFor                  string = "PATCH_FOR"
	TypeRelationshipPatchApplied              string = "PATCH_APPLIED"
	TypeRelationshipCopyOf                    string = "COPY_OF"
	TypeRelationshipFileAdded                 string = "FILE_ADDED"
	TypeRelationshipFileDeleted               string = "FILE_DELETED"
	TypeRelationshipFileModified              string = "FILE_MODIFIED"
	TypeRelationshipExpandedFromArchive       string = "EXPANDED_FROM_ARCHIVE"
	TypeRelationshipDynamicLink               string = "DYNAMIC_LINK"
	TypeRelationshipStaticLink                string = "STATIC_LINK"
	TypeRelationshipDataFileOf                string = "DATA_FILE_OF"
	TypeRelationshipTestCaseOf                string = "TEST_CASE_OF"
	TypeRelationshipBuildToolOf               string = "BUILD_TOOL_OF"
	TypeRelationshipDevToolOf                 string = "DEV_TOOL_OF"
	TypeRelationshipTestOf                    string = "TEST_OF"
	TypeRelationshipTestToolOf                string = "TEST_TOOL_OF"
	TypeRelationshipDocumentationOf           string = "DOCUMENTATION_OF"
	TypeRelationshipOptionalComponentOf       string = "OPTIONAL_COMPONENT_OF"
	TypeRelationshipMetafileOf                string = "METAFILE_OF"
	TypeRelationshipPackageOf                 string = "PACKAGE_OF"
	TypeRelationshipAmends                    string = "AMENDS"
	TypeRelationshipPrerequisiteFor           string = "PREREQUISITE_FOR"
	TypeRelationshipHasPrerequisite           string = "HAS_PREREQUISITE"
	TypeRelationshipRequirementDescriptionFor string = "REQUIREMENT_DESCRIPTION_FOR"
	TypeRelationshipSpecificationFor          string = "SPECIFICATION_FOR"
	TypeRelationshipOther                     string = "OTHER"
)

Constants for various string types

View Source
const GroupName = "spdx.softwarecomposition.kubescape.io"

GroupName holds the API group name.

Variables

View Source
var (
	// SchemeBuilder allows to add this group to a scheme.
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme adds this group to a scheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_softwarecomposition_Advisory_To_v1beta1_Advisory

func Convert_softwarecomposition_Advisory_To_v1beta1_Advisory(in *softwarecomposition.Advisory, out *Advisory, s conversion.Scope) error

Convert_softwarecomposition_Advisory_To_v1beta1_Advisory is an autogenerated conversion function.

func Convert_softwarecomposition_Annotation_To_v1beta1_Annotation

func Convert_softwarecomposition_Annotation_To_v1beta1_Annotation(in *softwarecomposition.Annotation, out *Annotation, s conversion.Scope) error

Convert_softwarecomposition_Annotation_To_v1beta1_Annotation is an autogenerated conversion function.

func Convert_softwarecomposition_Annotator_To_v1beta1_Annotator

func Convert_softwarecomposition_Annotator_To_v1beta1_Annotator(in *softwarecomposition.Annotator, out *Annotator, s conversion.Scope) error

Convert_softwarecomposition_Annotator_To_v1beta1_Annotator is an autogenerated conversion function.

func Convert_softwarecomposition_ArtifactOfProject_To_v1beta1_ArtifactOfProject

func Convert_softwarecomposition_ArtifactOfProject_To_v1beta1_ArtifactOfProject(in *softwarecomposition.ArtifactOfProject, out *ArtifactOfProject, s conversion.Scope) error

Convert_softwarecomposition_ArtifactOfProject_To_v1beta1_ArtifactOfProject is an autogenerated conversion function.

func Convert_softwarecomposition_Checksum_To_v1beta1_Checksum

func Convert_softwarecomposition_Checksum_To_v1beta1_Checksum(in *softwarecomposition.Checksum, out *Checksum, s conversion.Scope) error

Convert_softwarecomposition_Checksum_To_v1beta1_Checksum is an autogenerated conversion function.

func Convert_softwarecomposition_CreationInfo_To_v1beta1_CreationInfo

func Convert_softwarecomposition_CreationInfo_To_v1beta1_CreationInfo(in *softwarecomposition.CreationInfo, out *CreationInfo, s conversion.Scope) error

Convert_softwarecomposition_CreationInfo_To_v1beta1_CreationInfo is an autogenerated conversion function.

func Convert_softwarecomposition_Creator_To_v1beta1_Creator

func Convert_softwarecomposition_Creator_To_v1beta1_Creator(in *softwarecomposition.Creator, out *Creator, s conversion.Scope) error

Convert_softwarecomposition_Creator_To_v1beta1_Creator is an autogenerated conversion function.

func Convert_softwarecomposition_CvssMetrics_To_v1beta1_CvssMetrics

func Convert_softwarecomposition_CvssMetrics_To_v1beta1_CvssMetrics(in *softwarecomposition.CvssMetrics, out *CvssMetrics, s conversion.Scope) error

Convert_softwarecomposition_CvssMetrics_To_v1beta1_CvssMetrics is an autogenerated conversion function.

func Convert_softwarecomposition_Cvss_To_v1beta1_Cvss

func Convert_softwarecomposition_Cvss_To_v1beta1_Cvss(in *softwarecomposition.Cvss, out *Cvss, s conversion.Scope) error

Convert_softwarecomposition_Cvss_To_v1beta1_Cvss is an autogenerated conversion function.

func Convert_softwarecomposition_Descriptor_To_v1beta1_Descriptor

func Convert_softwarecomposition_Descriptor_To_v1beta1_Descriptor(in *softwarecomposition.Descriptor, out *Descriptor, s conversion.Scope) error

Convert_softwarecomposition_Descriptor_To_v1beta1_Descriptor is an autogenerated conversion function.

func Convert_softwarecomposition_Distribution_To_v1beta1_Distribution

func Convert_softwarecomposition_Distribution_To_v1beta1_Distribution(in *softwarecomposition.Distribution, out *Distribution, s conversion.Scope) error

Convert_softwarecomposition_Distribution_To_v1beta1_Distribution is an autogenerated conversion function.

func Convert_softwarecomposition_DocElementID_To_v1beta1_DocElementID

func Convert_softwarecomposition_DocElementID_To_v1beta1_DocElementID(in *softwarecomposition.DocElementID, out *DocElementID, s conversion.Scope) error

Convert_softwarecomposition_DocElementID_To_v1beta1_DocElementID is an autogenerated conversion function.

func Convert_softwarecomposition_Document_To_v1beta1_Document

func Convert_softwarecomposition_Document_To_v1beta1_Document(in *softwarecomposition.Document, out *Document, s conversion.Scope) error

Convert_softwarecomposition_Document_To_v1beta1_Document is an autogenerated conversion function.

func Convert_softwarecomposition_ExternalDocumentRef_To_v1beta1_ExternalDocumentRef

func Convert_softwarecomposition_ExternalDocumentRef_To_v1beta1_ExternalDocumentRef(in *softwarecomposition.ExternalDocumentRef, out *ExternalDocumentRef, s conversion.Scope) error

Convert_softwarecomposition_ExternalDocumentRef_To_v1beta1_ExternalDocumentRef is an autogenerated conversion function.

func Convert_softwarecomposition_File_To_v1beta1_File

func Convert_softwarecomposition_File_To_v1beta1_File(in *softwarecomposition.File, out *File, s conversion.Scope) error

Convert_softwarecomposition_File_To_v1beta1_File is an autogenerated conversion function.

func Convert_softwarecomposition_Fix_To_v1beta1_Fix

func Convert_softwarecomposition_Fix_To_v1beta1_Fix(in *softwarecomposition.Fix, out *Fix, s conversion.Scope) error

Convert_softwarecomposition_Fix_To_v1beta1_Fix is an autogenerated conversion function.

func Convert_softwarecomposition_GrypeDocument_To_v1beta1_GrypeDocument

func Convert_softwarecomposition_GrypeDocument_To_v1beta1_GrypeDocument(in *softwarecomposition.GrypeDocument, out *GrypeDocument, s conversion.Scope) error

Convert_softwarecomposition_GrypeDocument_To_v1beta1_GrypeDocument is an autogenerated conversion function.

func Convert_softwarecomposition_GrypePackage_To_v1beta1_GrypePackage

func Convert_softwarecomposition_GrypePackage_To_v1beta1_GrypePackage(in *softwarecomposition.GrypePackage, out *GrypePackage, s conversion.Scope) error

Convert_softwarecomposition_GrypePackage_To_v1beta1_GrypePackage is an autogenerated conversion function.

func Convert_softwarecomposition_IgnoreRulePackage_To_v1beta1_IgnoreRulePackage

func Convert_softwarecomposition_IgnoreRulePackage_To_v1beta1_IgnoreRulePackage(in *softwarecomposition.IgnoreRulePackage, out *IgnoreRulePackage, s conversion.Scope) error

Convert_softwarecomposition_IgnoreRulePackage_To_v1beta1_IgnoreRulePackage is an autogenerated conversion function.

func Convert_softwarecomposition_IgnoreRule_To_v1beta1_IgnoreRule

func Convert_softwarecomposition_IgnoreRule_To_v1beta1_IgnoreRule(in *softwarecomposition.IgnoreRule, out *IgnoreRule, s conversion.Scope) error

Convert_softwarecomposition_IgnoreRule_To_v1beta1_IgnoreRule is an autogenerated conversion function.

func Convert_softwarecomposition_IgnoredMatch_To_v1beta1_IgnoredMatch

func Convert_softwarecomposition_IgnoredMatch_To_v1beta1_IgnoredMatch(in *softwarecomposition.IgnoredMatch, out *IgnoredMatch, s conversion.Scope) error

Convert_softwarecomposition_IgnoredMatch_To_v1beta1_IgnoredMatch is an autogenerated conversion function.

func Convert_softwarecomposition_MatchDetails_To_v1beta1_MatchDetails

func Convert_softwarecomposition_MatchDetails_To_v1beta1_MatchDetails(in *softwarecomposition.MatchDetails, out *MatchDetails, s conversion.Scope) error

Convert_softwarecomposition_MatchDetails_To_v1beta1_MatchDetails is an autogenerated conversion function.

func Convert_softwarecomposition_Match_To_v1beta1_Match

func Convert_softwarecomposition_Match_To_v1beta1_Match(in *softwarecomposition.Match, out *Match, s conversion.Scope) error

Convert_softwarecomposition_Match_To_v1beta1_Match is an autogenerated conversion function.

func Convert_softwarecomposition_Originator_To_v1beta1_Originator

func Convert_softwarecomposition_Originator_To_v1beta1_Originator(in *softwarecomposition.Originator, out *Originator, s conversion.Scope) error

Convert_softwarecomposition_Originator_To_v1beta1_Originator is an autogenerated conversion function.

func Convert_softwarecomposition_OtherLicense_To_v1beta1_OtherLicense

func Convert_softwarecomposition_OtherLicense_To_v1beta1_OtherLicense(in *softwarecomposition.OtherLicense, out *OtherLicense, s conversion.Scope) error

Convert_softwarecomposition_OtherLicense_To_v1beta1_OtherLicense is an autogenerated conversion function.

func Convert_softwarecomposition_PackageExternalReference_To_v1beta1_PackageExternalReference

func Convert_softwarecomposition_PackageExternalReference_To_v1beta1_PackageExternalReference(in *softwarecomposition.PackageExternalReference, out *PackageExternalReference, s conversion.Scope) error

Convert_softwarecomposition_PackageExternalReference_To_v1beta1_PackageExternalReference is an autogenerated conversion function.

func Convert_softwarecomposition_PackageVerificationCode_To_v1beta1_PackageVerificationCode

func Convert_softwarecomposition_PackageVerificationCode_To_v1beta1_PackageVerificationCode(in *softwarecomposition.PackageVerificationCode, out *PackageVerificationCode, s conversion.Scope) error

Convert_softwarecomposition_PackageVerificationCode_To_v1beta1_PackageVerificationCode is an autogenerated conversion function.

func Convert_softwarecomposition_Package_To_v1beta1_Package

func Convert_softwarecomposition_Package_To_v1beta1_Package(in *softwarecomposition.Package, out *Package, s conversion.Scope) error

Convert_softwarecomposition_Package_To_v1beta1_Package is an autogenerated conversion function.

func Convert_softwarecomposition_Relationship_To_v1beta1_Relationship

func Convert_softwarecomposition_Relationship_To_v1beta1_Relationship(in *softwarecomposition.Relationship, out *Relationship, s conversion.Scope) error

Convert_softwarecomposition_Relationship_To_v1beta1_Relationship is an autogenerated conversion function.

func Convert_softwarecomposition_ReportMeta_To_v1beta1_ReportMeta

func Convert_softwarecomposition_ReportMeta_To_v1beta1_ReportMeta(in *softwarecomposition.ReportMeta, out *ReportMeta, s conversion.Scope) error

Convert_softwarecomposition_ReportMeta_To_v1beta1_ReportMeta is an autogenerated conversion function.

func Convert_softwarecomposition_Review_To_v1beta1_Review

func Convert_softwarecomposition_Review_To_v1beta1_Review(in *softwarecomposition.Review, out *Review, s conversion.Scope) error

Convert_softwarecomposition_Review_To_v1beta1_Review is an autogenerated conversion function.

func Convert_softwarecomposition_SBOMSPDXv2p3FilteredList_To_v1beta1_SBOMSPDXv2p3FilteredList

func Convert_softwarecomposition_SBOMSPDXv2p3FilteredList_To_v1beta1_SBOMSPDXv2p3FilteredList(in *softwarecomposition.SBOMSPDXv2p3FilteredList, out *SBOMSPDXv2p3FilteredList, s conversion.Scope) error

Convert_softwarecomposition_SBOMSPDXv2p3FilteredList_To_v1beta1_SBOMSPDXv2p3FilteredList is an autogenerated conversion function.

func Convert_softwarecomposition_SBOMSPDXv2p3Filtered_To_v1beta1_SBOMSPDXv2p3Filtered

func Convert_softwarecomposition_SBOMSPDXv2p3Filtered_To_v1beta1_SBOMSPDXv2p3Filtered(in *softwarecomposition.SBOMSPDXv2p3Filtered, out *SBOMSPDXv2p3Filtered, s conversion.Scope) error

Convert_softwarecomposition_SBOMSPDXv2p3Filtered_To_v1beta1_SBOMSPDXv2p3Filtered is an autogenerated conversion function.

func Convert_softwarecomposition_SBOMSPDXv2p3List_To_v1beta1_SBOMSPDXv2p3List

func Convert_softwarecomposition_SBOMSPDXv2p3List_To_v1beta1_SBOMSPDXv2p3List(in *softwarecomposition.SBOMSPDXv2p3List, out *SBOMSPDXv2p3List, s conversion.Scope) error

Convert_softwarecomposition_SBOMSPDXv2p3List_To_v1beta1_SBOMSPDXv2p3List is an autogenerated conversion function.

func Convert_softwarecomposition_SBOMSPDXv2p3Spec_To_v1beta1_SBOMSPDXv2p3Spec

func Convert_softwarecomposition_SBOMSPDXv2p3Spec_To_v1beta1_SBOMSPDXv2p3Spec(in *softwarecomposition.SBOMSPDXv2p3Spec, out *SBOMSPDXv2p3Spec, s conversion.Scope) error

Convert_softwarecomposition_SBOMSPDXv2p3Spec_To_v1beta1_SBOMSPDXv2p3Spec is an autogenerated conversion function.

func Convert_softwarecomposition_SBOMSPDXv2p3Status_To_v1beta1_SBOMSPDXv2p3Status

func Convert_softwarecomposition_SBOMSPDXv2p3Status_To_v1beta1_SBOMSPDXv2p3Status(in *softwarecomposition.SBOMSPDXv2p3Status, out *SBOMSPDXv2p3Status, s conversion.Scope) error

Convert_softwarecomposition_SBOMSPDXv2p3Status_To_v1beta1_SBOMSPDXv2p3Status is an autogenerated conversion function.

func Convert_softwarecomposition_SBOMSPDXv2p3_To_v1beta1_SBOMSPDXv2p3

func Convert_softwarecomposition_SBOMSPDXv2p3_To_v1beta1_SBOMSPDXv2p3(in *softwarecomposition.SBOMSPDXv2p3, out *SBOMSPDXv2p3, s conversion.Scope) error

Convert_softwarecomposition_SBOMSPDXv2p3_To_v1beta1_SBOMSPDXv2p3 is an autogenerated conversion function.

func Convert_softwarecomposition_SPDXMeta_To_v1beta1_SPDXMeta

func Convert_softwarecomposition_SPDXMeta_To_v1beta1_SPDXMeta(in *softwarecomposition.SPDXMeta, out *SPDXMeta, s conversion.Scope) error

Convert_softwarecomposition_SPDXMeta_To_v1beta1_SPDXMeta is an autogenerated conversion function.

func Convert_softwarecomposition_SnippetRangePointer_To_v1beta1_SnippetRangePointer

func Convert_softwarecomposition_SnippetRangePointer_To_v1beta1_SnippetRangePointer(in *softwarecomposition.SnippetRangePointer, out *SnippetRangePointer, s conversion.Scope) error

Convert_softwarecomposition_SnippetRangePointer_To_v1beta1_SnippetRangePointer is an autogenerated conversion function.

func Convert_softwarecomposition_SnippetRange_To_v1beta1_SnippetRange

func Convert_softwarecomposition_SnippetRange_To_v1beta1_SnippetRange(in *softwarecomposition.SnippetRange, out *SnippetRange, s conversion.Scope) error

Convert_softwarecomposition_SnippetRange_To_v1beta1_SnippetRange is an autogenerated conversion function.

func Convert_softwarecomposition_Snippet_To_v1beta1_Snippet

func Convert_softwarecomposition_Snippet_To_v1beta1_Snippet(in *softwarecomposition.Snippet, out *Snippet, s conversion.Scope) error

Convert_softwarecomposition_Snippet_To_v1beta1_Snippet is an autogenerated conversion function.

func Convert_softwarecomposition_Source_To_v1beta1_Source

func Convert_softwarecomposition_Source_To_v1beta1_Source(in *softwarecomposition.Source, out *Source, s conversion.Scope) error

Convert_softwarecomposition_Source_To_v1beta1_Source is an autogenerated conversion function.

func Convert_softwarecomposition_Supplier_To_v1beta1_Supplier

func Convert_softwarecomposition_Supplier_To_v1beta1_Supplier(in *softwarecomposition.Supplier, out *Supplier, s conversion.Scope) error

Convert_softwarecomposition_Supplier_To_v1beta1_Supplier is an autogenerated conversion function.

func Convert_softwarecomposition_SyftCoordinates_To_v1beta1_SyftCoordinates

func Convert_softwarecomposition_SyftCoordinates_To_v1beta1_SyftCoordinates(in *softwarecomposition.SyftCoordinates, out *SyftCoordinates, s conversion.Scope) error

Convert_softwarecomposition_SyftCoordinates_To_v1beta1_SyftCoordinates is an autogenerated conversion function.

func Convert_softwarecomposition_ToolMeta_To_v1beta1_ToolMeta

func Convert_softwarecomposition_ToolMeta_To_v1beta1_ToolMeta(in *softwarecomposition.ToolMeta, out *ToolMeta, s conversion.Scope) error

Convert_softwarecomposition_ToolMeta_To_v1beta1_ToolMeta is an autogenerated conversion function.

func Convert_softwarecomposition_UpstreamPackage_To_v1beta1_UpstreamPackage

func Convert_softwarecomposition_UpstreamPackage_To_v1beta1_UpstreamPackage(in *softwarecomposition.UpstreamPackage, out *UpstreamPackage, s conversion.Scope) error

Convert_softwarecomposition_UpstreamPackage_To_v1beta1_UpstreamPackage is an autogenerated conversion function.

func Convert_softwarecomposition_VulnerabilityManifestList_To_v1beta1_VulnerabilityManifestList

func Convert_softwarecomposition_VulnerabilityManifestList_To_v1beta1_VulnerabilityManifestList(in *softwarecomposition.VulnerabilityManifestList, out *VulnerabilityManifestList, s conversion.Scope) error

Convert_softwarecomposition_VulnerabilityManifestList_To_v1beta1_VulnerabilityManifestList is an autogenerated conversion function.

func Convert_softwarecomposition_VulnerabilityManifestMeta_To_v1beta1_VulnerabilityManifestMeta

func Convert_softwarecomposition_VulnerabilityManifestMeta_To_v1beta1_VulnerabilityManifestMeta(in *softwarecomposition.VulnerabilityManifestMeta, out *VulnerabilityManifestMeta, s conversion.Scope) error

Convert_softwarecomposition_VulnerabilityManifestMeta_To_v1beta1_VulnerabilityManifestMeta is an autogenerated conversion function.

func Convert_softwarecomposition_VulnerabilityManifestReportMeta_To_v1beta1_VulnerabilityManifestReportMeta

func Convert_softwarecomposition_VulnerabilityManifestReportMeta_To_v1beta1_VulnerabilityManifestReportMeta(in *softwarecomposition.VulnerabilityManifestReportMeta, out *VulnerabilityManifestReportMeta, s conversion.Scope) error

Convert_softwarecomposition_VulnerabilityManifestReportMeta_To_v1beta1_VulnerabilityManifestReportMeta is an autogenerated conversion function.

func Convert_softwarecomposition_VulnerabilityManifestSpec_To_v1beta1_VulnerabilityManifestSpec

func Convert_softwarecomposition_VulnerabilityManifestSpec_To_v1beta1_VulnerabilityManifestSpec(in *softwarecomposition.VulnerabilityManifestSpec, out *VulnerabilityManifestSpec, s conversion.Scope) error

Convert_softwarecomposition_VulnerabilityManifestSpec_To_v1beta1_VulnerabilityManifestSpec is an autogenerated conversion function.

func Convert_softwarecomposition_VulnerabilityManifestStatus_To_v1beta1_VulnerabilityManifestStatus

func Convert_softwarecomposition_VulnerabilityManifestStatus_To_v1beta1_VulnerabilityManifestStatus(in *softwarecomposition.VulnerabilityManifestStatus, out *VulnerabilityManifestStatus, s conversion.Scope) error

Convert_softwarecomposition_VulnerabilityManifestStatus_To_v1beta1_VulnerabilityManifestStatus is an autogenerated conversion function.

func Convert_softwarecomposition_VulnerabilityManifestToolMeta_To_v1beta1_VulnerabilityManifestToolMeta

func Convert_softwarecomposition_VulnerabilityManifestToolMeta_To_v1beta1_VulnerabilityManifestToolMeta(in *softwarecomposition.VulnerabilityManifestToolMeta, out *VulnerabilityManifestToolMeta, s conversion.Scope) error

Convert_softwarecomposition_VulnerabilityManifestToolMeta_To_v1beta1_VulnerabilityManifestToolMeta is an autogenerated conversion function.

func Convert_softwarecomposition_VulnerabilityManifest_To_v1beta1_VulnerabilityManifest

func Convert_softwarecomposition_VulnerabilityManifest_To_v1beta1_VulnerabilityManifest(in *softwarecomposition.VulnerabilityManifest, out *VulnerabilityManifest, s conversion.Scope) error

Convert_softwarecomposition_VulnerabilityManifest_To_v1beta1_VulnerabilityManifest is an autogenerated conversion function.

func Convert_softwarecomposition_VulnerabilityMetadata_To_v1beta1_VulnerabilityMetadata

func Convert_softwarecomposition_VulnerabilityMetadata_To_v1beta1_VulnerabilityMetadata(in *softwarecomposition.VulnerabilityMetadata, out *VulnerabilityMetadata, s conversion.Scope) error

Convert_softwarecomposition_VulnerabilityMetadata_To_v1beta1_VulnerabilityMetadata is an autogenerated conversion function.

func Convert_softwarecomposition_Vulnerability_To_v1beta1_Vulnerability

func Convert_softwarecomposition_Vulnerability_To_v1beta1_Vulnerability(in *softwarecomposition.Vulnerability, out *Vulnerability, s conversion.Scope) error

Convert_softwarecomposition_Vulnerability_To_v1beta1_Vulnerability is an autogenerated conversion function.

func Convert_v1beta1_Advisory_To_softwarecomposition_Advisory

func Convert_v1beta1_Advisory_To_softwarecomposition_Advisory(in *Advisory, out *softwarecomposition.Advisory, s conversion.Scope) error

Convert_v1beta1_Advisory_To_softwarecomposition_Advisory is an autogenerated conversion function.

func Convert_v1beta1_Annotation_To_softwarecomposition_Annotation

func Convert_v1beta1_Annotation_To_softwarecomposition_Annotation(in *Annotation, out *softwarecomposition.Annotation, s conversion.Scope) error

Convert_v1beta1_Annotation_To_softwarecomposition_Annotation is an autogenerated conversion function.

func Convert_v1beta1_Annotator_To_softwarecomposition_Annotator

func Convert_v1beta1_Annotator_To_softwarecomposition_Annotator(in *Annotator, out *softwarecomposition.Annotator, s conversion.Scope) error

Convert_v1beta1_Annotator_To_softwarecomposition_Annotator is an autogenerated conversion function.

func Convert_v1beta1_ArtifactOfProject_To_softwarecomposition_ArtifactOfProject

func Convert_v1beta1_ArtifactOfProject_To_softwarecomposition_ArtifactOfProject(in *ArtifactOfProject, out *softwarecomposition.ArtifactOfProject, s conversion.Scope) error

Convert_v1beta1_ArtifactOfProject_To_softwarecomposition_ArtifactOfProject is an autogenerated conversion function.

func Convert_v1beta1_Checksum_To_softwarecomposition_Checksum

func Convert_v1beta1_Checksum_To_softwarecomposition_Checksum(in *Checksum, out *softwarecomposition.Checksum, s conversion.Scope) error

Convert_v1beta1_Checksum_To_softwarecomposition_Checksum is an autogenerated conversion function.

func Convert_v1beta1_CreationInfo_To_softwarecomposition_CreationInfo

func Convert_v1beta1_CreationInfo_To_softwarecomposition_CreationInfo(in *CreationInfo, out *softwarecomposition.CreationInfo, s conversion.Scope) error

Convert_v1beta1_CreationInfo_To_softwarecomposition_CreationInfo is an autogenerated conversion function.

func Convert_v1beta1_Creator_To_softwarecomposition_Creator

func Convert_v1beta1_Creator_To_softwarecomposition_Creator(in *Creator, out *softwarecomposition.Creator, s conversion.Scope) error

Convert_v1beta1_Creator_To_softwarecomposition_Creator is an autogenerated conversion function.

func Convert_v1beta1_CvssMetrics_To_softwarecomposition_CvssMetrics

func Convert_v1beta1_CvssMetrics_To_softwarecomposition_CvssMetrics(in *CvssMetrics, out *softwarecomposition.CvssMetrics, s conversion.Scope) error

Convert_v1beta1_CvssMetrics_To_softwarecomposition_CvssMetrics is an autogenerated conversion function.

func Convert_v1beta1_Cvss_To_softwarecomposition_Cvss

func Convert_v1beta1_Cvss_To_softwarecomposition_Cvss(in *Cvss, out *softwarecomposition.Cvss, s conversion.Scope) error

Convert_v1beta1_Cvss_To_softwarecomposition_Cvss is an autogenerated conversion function.

func Convert_v1beta1_Descriptor_To_softwarecomposition_Descriptor

func Convert_v1beta1_Descriptor_To_softwarecomposition_Descriptor(in *Descriptor, out *softwarecomposition.Descriptor, s conversion.Scope) error

Convert_v1beta1_Descriptor_To_softwarecomposition_Descriptor is an autogenerated conversion function.

func Convert_v1beta1_Distribution_To_softwarecomposition_Distribution

func Convert_v1beta1_Distribution_To_softwarecomposition_Distribution(in *Distribution, out *softwarecomposition.Distribution, s conversion.Scope) error

Convert_v1beta1_Distribution_To_softwarecomposition_Distribution is an autogenerated conversion function.

func Convert_v1beta1_DocElementID_To_softwarecomposition_DocElementID

func Convert_v1beta1_DocElementID_To_softwarecomposition_DocElementID(in *DocElementID, out *softwarecomposition.DocElementID, s conversion.Scope) error

Convert_v1beta1_DocElementID_To_softwarecomposition_DocElementID is an autogenerated conversion function.

func Convert_v1beta1_Document_To_softwarecomposition_Document

func Convert_v1beta1_Document_To_softwarecomposition_Document(in *Document, out *softwarecomposition.Document, s conversion.Scope) error

Convert_v1beta1_Document_To_softwarecomposition_Document is an autogenerated conversion function.

func Convert_v1beta1_ExternalDocumentRef_To_softwarecomposition_ExternalDocumentRef

func Convert_v1beta1_ExternalDocumentRef_To_softwarecomposition_ExternalDocumentRef(in *ExternalDocumentRef, out *softwarecomposition.ExternalDocumentRef, s conversion.Scope) error

Convert_v1beta1_ExternalDocumentRef_To_softwarecomposition_ExternalDocumentRef is an autogenerated conversion function.

func Convert_v1beta1_File_To_softwarecomposition_File

func Convert_v1beta1_File_To_softwarecomposition_File(in *File, out *softwarecomposition.File, s conversion.Scope) error

Convert_v1beta1_File_To_softwarecomposition_File is an autogenerated conversion function.

func Convert_v1beta1_Fix_To_softwarecomposition_Fix

func Convert_v1beta1_Fix_To_softwarecomposition_Fix(in *Fix, out *softwarecomposition.Fix, s conversion.Scope) error

Convert_v1beta1_Fix_To_softwarecomposition_Fix is an autogenerated conversion function.

func Convert_v1beta1_GrypeDocument_To_softwarecomposition_GrypeDocument

func Convert_v1beta1_GrypeDocument_To_softwarecomposition_GrypeDocument(in *GrypeDocument, out *softwarecomposition.GrypeDocument, s conversion.Scope) error

Convert_v1beta1_GrypeDocument_To_softwarecomposition_GrypeDocument is an autogenerated conversion function.

func Convert_v1beta1_GrypePackage_To_softwarecomposition_GrypePackage

func Convert_v1beta1_GrypePackage_To_softwarecomposition_GrypePackage(in *GrypePackage, out *softwarecomposition.GrypePackage, s conversion.Scope) error

Convert_v1beta1_GrypePackage_To_softwarecomposition_GrypePackage is an autogenerated conversion function.

func Convert_v1beta1_IgnoreRulePackage_To_softwarecomposition_IgnoreRulePackage

func Convert_v1beta1_IgnoreRulePackage_To_softwarecomposition_IgnoreRulePackage(in *IgnoreRulePackage, out *softwarecomposition.IgnoreRulePackage, s conversion.Scope) error

Convert_v1beta1_IgnoreRulePackage_To_softwarecomposition_IgnoreRulePackage is an autogenerated conversion function.

func Convert_v1beta1_IgnoreRule_To_softwarecomposition_IgnoreRule

func Convert_v1beta1_IgnoreRule_To_softwarecomposition_IgnoreRule(in *IgnoreRule, out *softwarecomposition.IgnoreRule, s conversion.Scope) error

Convert_v1beta1_IgnoreRule_To_softwarecomposition_IgnoreRule is an autogenerated conversion function.

func Convert_v1beta1_IgnoredMatch_To_softwarecomposition_IgnoredMatch

func Convert_v1beta1_IgnoredMatch_To_softwarecomposition_IgnoredMatch(in *IgnoredMatch, out *softwarecomposition.IgnoredMatch, s conversion.Scope) error

Convert_v1beta1_IgnoredMatch_To_softwarecomposition_IgnoredMatch is an autogenerated conversion function.

func Convert_v1beta1_MatchDetails_To_softwarecomposition_MatchDetails

func Convert_v1beta1_MatchDetails_To_softwarecomposition_MatchDetails(in *MatchDetails, out *softwarecomposition.MatchDetails, s conversion.Scope) error

Convert_v1beta1_MatchDetails_To_softwarecomposition_MatchDetails is an autogenerated conversion function.

func Convert_v1beta1_Match_To_softwarecomposition_Match

func Convert_v1beta1_Match_To_softwarecomposition_Match(in *Match, out *softwarecomposition.Match, s conversion.Scope) error

Convert_v1beta1_Match_To_softwarecomposition_Match is an autogenerated conversion function.

func Convert_v1beta1_Originator_To_softwarecomposition_Originator

func Convert_v1beta1_Originator_To_softwarecomposition_Originator(in *Originator, out *softwarecomposition.Originator, s conversion.Scope) error

Convert_v1beta1_Originator_To_softwarecomposition_Originator is an autogenerated conversion function.

func Convert_v1beta1_OtherLicense_To_softwarecomposition_OtherLicense

func Convert_v1beta1_OtherLicense_To_softwarecomposition_OtherLicense(in *OtherLicense, out *softwarecomposition.OtherLicense, s conversion.Scope) error

Convert_v1beta1_OtherLicense_To_softwarecomposition_OtherLicense is an autogenerated conversion function.

func Convert_v1beta1_PackageExternalReference_To_softwarecomposition_PackageExternalReference

func Convert_v1beta1_PackageExternalReference_To_softwarecomposition_PackageExternalReference(in *PackageExternalReference, out *softwarecomposition.PackageExternalReference, s conversion.Scope) error

Convert_v1beta1_PackageExternalReference_To_softwarecomposition_PackageExternalReference is an autogenerated conversion function.

func Convert_v1beta1_PackageVerificationCode_To_softwarecomposition_PackageVerificationCode

func Convert_v1beta1_PackageVerificationCode_To_softwarecomposition_PackageVerificationCode(in *PackageVerificationCode, out *softwarecomposition.PackageVerificationCode, s conversion.Scope) error

Convert_v1beta1_PackageVerificationCode_To_softwarecomposition_PackageVerificationCode is an autogenerated conversion function.

func Convert_v1beta1_Package_To_softwarecomposition_Package

func Convert_v1beta1_Package_To_softwarecomposition_Package(in *Package, out *softwarecomposition.Package, s conversion.Scope) error

Convert_v1beta1_Package_To_softwarecomposition_Package is an autogenerated conversion function.

func Convert_v1beta1_Relationship_To_softwarecomposition_Relationship

func Convert_v1beta1_Relationship_To_softwarecomposition_Relationship(in *Relationship, out *softwarecomposition.Relationship, s conversion.Scope) error

Convert_v1beta1_Relationship_To_softwarecomposition_Relationship is an autogenerated conversion function.

func Convert_v1beta1_ReportMeta_To_softwarecomposition_ReportMeta

func Convert_v1beta1_ReportMeta_To_softwarecomposition_ReportMeta(in *ReportMeta, out *softwarecomposition.ReportMeta, s conversion.Scope) error

Convert_v1beta1_ReportMeta_To_softwarecomposition_ReportMeta is an autogenerated conversion function.

func Convert_v1beta1_Review_To_softwarecomposition_Review

func Convert_v1beta1_Review_To_softwarecomposition_Review(in *Review, out *softwarecomposition.Review, s conversion.Scope) error

Convert_v1beta1_Review_To_softwarecomposition_Review is an autogenerated conversion function.

func Convert_v1beta1_SBOMSPDXv2p3FilteredList_To_softwarecomposition_SBOMSPDXv2p3FilteredList

func Convert_v1beta1_SBOMSPDXv2p3FilteredList_To_softwarecomposition_SBOMSPDXv2p3FilteredList(in *SBOMSPDXv2p3FilteredList, out *softwarecomposition.SBOMSPDXv2p3FilteredList, s conversion.Scope) error

Convert_v1beta1_SBOMSPDXv2p3FilteredList_To_softwarecomposition_SBOMSPDXv2p3FilteredList is an autogenerated conversion function.

func Convert_v1beta1_SBOMSPDXv2p3Filtered_To_softwarecomposition_SBOMSPDXv2p3Filtered

func Convert_v1beta1_SBOMSPDXv2p3Filtered_To_softwarecomposition_SBOMSPDXv2p3Filtered(in *SBOMSPDXv2p3Filtered, out *softwarecomposition.SBOMSPDXv2p3Filtered, s conversion.Scope) error

Convert_v1beta1_SBOMSPDXv2p3Filtered_To_softwarecomposition_SBOMSPDXv2p3Filtered is an autogenerated conversion function.

func Convert_v1beta1_SBOMSPDXv2p3List_To_softwarecomposition_SBOMSPDXv2p3List

func Convert_v1beta1_SBOMSPDXv2p3List_To_softwarecomposition_SBOMSPDXv2p3List(in *SBOMSPDXv2p3List, out *softwarecomposition.SBOMSPDXv2p3List, s conversion.Scope) error

Convert_v1beta1_SBOMSPDXv2p3List_To_softwarecomposition_SBOMSPDXv2p3List is an autogenerated conversion function.

func Convert_v1beta1_SBOMSPDXv2p3Spec_To_softwarecomposition_SBOMSPDXv2p3Spec

func Convert_v1beta1_SBOMSPDXv2p3Spec_To_softwarecomposition_SBOMSPDXv2p3Spec(in *SBOMSPDXv2p3Spec, out *softwarecomposition.SBOMSPDXv2p3Spec, s conversion.Scope) error

Convert_v1beta1_SBOMSPDXv2p3Spec_To_softwarecomposition_SBOMSPDXv2p3Spec is an autogenerated conversion function.

func Convert_v1beta1_SBOMSPDXv2p3Status_To_softwarecomposition_SBOMSPDXv2p3Status

func Convert_v1beta1_SBOMSPDXv2p3Status_To_softwarecomposition_SBOMSPDXv2p3Status(in *SBOMSPDXv2p3Status, out *softwarecomposition.SBOMSPDXv2p3Status, s conversion.Scope) error

Convert_v1beta1_SBOMSPDXv2p3Status_To_softwarecomposition_SBOMSPDXv2p3Status is an autogenerated conversion function.

func Convert_v1beta1_SBOMSPDXv2p3_To_softwarecomposition_SBOMSPDXv2p3

func Convert_v1beta1_SBOMSPDXv2p3_To_softwarecomposition_SBOMSPDXv2p3(in *SBOMSPDXv2p3, out *softwarecomposition.SBOMSPDXv2p3, s conversion.Scope) error

Convert_v1beta1_SBOMSPDXv2p3_To_softwarecomposition_SBOMSPDXv2p3 is an autogenerated conversion function.

func Convert_v1beta1_SPDXMeta_To_softwarecomposition_SPDXMeta

func Convert_v1beta1_SPDXMeta_To_softwarecomposition_SPDXMeta(in *SPDXMeta, out *softwarecomposition.SPDXMeta, s conversion.Scope) error

Convert_v1beta1_SPDXMeta_To_softwarecomposition_SPDXMeta is an autogenerated conversion function.

func Convert_v1beta1_SnippetRangePointer_To_softwarecomposition_SnippetRangePointer

func Convert_v1beta1_SnippetRangePointer_To_softwarecomposition_SnippetRangePointer(in *SnippetRangePointer, out *softwarecomposition.SnippetRangePointer, s conversion.Scope) error

Convert_v1beta1_SnippetRangePointer_To_softwarecomposition_SnippetRangePointer is an autogenerated conversion function.

func Convert_v1beta1_SnippetRange_To_softwarecomposition_SnippetRange

func Convert_v1beta1_SnippetRange_To_softwarecomposition_SnippetRange(in *SnippetRange, out *softwarecomposition.SnippetRange, s conversion.Scope) error

Convert_v1beta1_SnippetRange_To_softwarecomposition_SnippetRange is an autogenerated conversion function.

func Convert_v1beta1_Snippet_To_softwarecomposition_Snippet

func Convert_v1beta1_Snippet_To_softwarecomposition_Snippet(in *Snippet, out *softwarecomposition.Snippet, s conversion.Scope) error

Convert_v1beta1_Snippet_To_softwarecomposition_Snippet is an autogenerated conversion function.

func Convert_v1beta1_Source_To_softwarecomposition_Source

func Convert_v1beta1_Source_To_softwarecomposition_Source(in *Source, out *softwarecomposition.Source, s conversion.Scope) error

Convert_v1beta1_Source_To_softwarecomposition_Source is an autogenerated conversion function.

func Convert_v1beta1_Supplier_To_softwarecomposition_Supplier

func Convert_v1beta1_Supplier_To_softwarecomposition_Supplier(in *Supplier, out *softwarecomposition.Supplier, s conversion.Scope) error

Convert_v1beta1_Supplier_To_softwarecomposition_Supplier is an autogenerated conversion function.

func Convert_v1beta1_SyftCoordinates_To_softwarecomposition_SyftCoordinates

func Convert_v1beta1_SyftCoordinates_To_softwarecomposition_SyftCoordinates(in *SyftCoordinates, out *softwarecomposition.SyftCoordinates, s conversion.Scope) error

Convert_v1beta1_SyftCoordinates_To_softwarecomposition_SyftCoordinates is an autogenerated conversion function.

func Convert_v1beta1_ToolMeta_To_softwarecomposition_ToolMeta

func Convert_v1beta1_ToolMeta_To_softwarecomposition_ToolMeta(in *ToolMeta, out *softwarecomposition.ToolMeta, s conversion.Scope) error

Convert_v1beta1_ToolMeta_To_softwarecomposition_ToolMeta is an autogenerated conversion function.

func Convert_v1beta1_UpstreamPackage_To_softwarecomposition_UpstreamPackage

func Convert_v1beta1_UpstreamPackage_To_softwarecomposition_UpstreamPackage(in *UpstreamPackage, out *softwarecomposition.UpstreamPackage, s conversion.Scope) error

Convert_v1beta1_UpstreamPackage_To_softwarecomposition_UpstreamPackage is an autogenerated conversion function.

func Convert_v1beta1_VulnerabilityManifestList_To_softwarecomposition_VulnerabilityManifestList

func Convert_v1beta1_VulnerabilityManifestList_To_softwarecomposition_VulnerabilityManifestList(in *VulnerabilityManifestList, out *softwarecomposition.VulnerabilityManifestList, s conversion.Scope) error

Convert_v1beta1_VulnerabilityManifestList_To_softwarecomposition_VulnerabilityManifestList is an autogenerated conversion function.

func Convert_v1beta1_VulnerabilityManifestMeta_To_softwarecomposition_VulnerabilityManifestMeta

func Convert_v1beta1_VulnerabilityManifestMeta_To_softwarecomposition_VulnerabilityManifestMeta(in *VulnerabilityManifestMeta, out *softwarecomposition.VulnerabilityManifestMeta, s conversion.Scope) error

Convert_v1beta1_VulnerabilityManifestMeta_To_softwarecomposition_VulnerabilityManifestMeta is an autogenerated conversion function.

func Convert_v1beta1_VulnerabilityManifestReportMeta_To_softwarecomposition_VulnerabilityManifestReportMeta

func Convert_v1beta1_VulnerabilityManifestReportMeta_To_softwarecomposition_VulnerabilityManifestReportMeta(in *VulnerabilityManifestReportMeta, out *softwarecomposition.VulnerabilityManifestReportMeta, s conversion.Scope) error

Convert_v1beta1_VulnerabilityManifestReportMeta_To_softwarecomposition_VulnerabilityManifestReportMeta is an autogenerated conversion function.

func Convert_v1beta1_VulnerabilityManifestSpec_To_softwarecomposition_VulnerabilityManifestSpec

func Convert_v1beta1_VulnerabilityManifestSpec_To_softwarecomposition_VulnerabilityManifestSpec(in *VulnerabilityManifestSpec, out *softwarecomposition.VulnerabilityManifestSpec, s conversion.Scope) error

Convert_v1beta1_VulnerabilityManifestSpec_To_softwarecomposition_VulnerabilityManifestSpec is an autogenerated conversion function.

func Convert_v1beta1_VulnerabilityManifestStatus_To_softwarecomposition_VulnerabilityManifestStatus

func Convert_v1beta1_VulnerabilityManifestStatus_To_softwarecomposition_VulnerabilityManifestStatus(in *VulnerabilityManifestStatus, out *softwarecomposition.VulnerabilityManifestStatus, s conversion.Scope) error

Convert_v1beta1_VulnerabilityManifestStatus_To_softwarecomposition_VulnerabilityManifestStatus is an autogenerated conversion function.

func Convert_v1beta1_VulnerabilityManifestToolMeta_To_softwarecomposition_VulnerabilityManifestToolMeta

func Convert_v1beta1_VulnerabilityManifestToolMeta_To_softwarecomposition_VulnerabilityManifestToolMeta(in *VulnerabilityManifestToolMeta, out *softwarecomposition.VulnerabilityManifestToolMeta, s conversion.Scope) error

Convert_v1beta1_VulnerabilityManifestToolMeta_To_softwarecomposition_VulnerabilityManifestToolMeta is an autogenerated conversion function.

func Convert_v1beta1_VulnerabilityManifest_To_softwarecomposition_VulnerabilityManifest

func Convert_v1beta1_VulnerabilityManifest_To_softwarecomposition_VulnerabilityManifest(in *VulnerabilityManifest, out *softwarecomposition.VulnerabilityManifest, s conversion.Scope) error

Convert_v1beta1_VulnerabilityManifest_To_softwarecomposition_VulnerabilityManifest is an autogenerated conversion function.

func Convert_v1beta1_VulnerabilityMetadata_To_softwarecomposition_VulnerabilityMetadata

func Convert_v1beta1_VulnerabilityMetadata_To_softwarecomposition_VulnerabilityMetadata(in *VulnerabilityMetadata, out *softwarecomposition.VulnerabilityMetadata, s conversion.Scope) error

Convert_v1beta1_VulnerabilityMetadata_To_softwarecomposition_VulnerabilityMetadata is an autogenerated conversion function.

func Convert_v1beta1_Vulnerability_To_softwarecomposition_Vulnerability

func Convert_v1beta1_Vulnerability_To_softwarecomposition_Vulnerability(in *Vulnerability, out *softwarecomposition.Vulnerability, s conversion.Scope) error

Convert_v1beta1_Vulnerability_To_softwarecomposition_Vulnerability is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func RenderDocElementID

func RenderDocElementID(deID DocElementID) string

RenderDocElementID takes a DocElementID and returns the string equivalent, with the SPDXRef- prefix (and, if applicable, the DocumentRef- prefix) reinserted. If a SpecialID is present, it will be rendered verbatim and DocumentRefID and ElementRefID will be ignored.

func RenderElementID

func RenderElementID(eID ElementID) string

RenderElementID takes an ElementID and returns the string equivalent, with the SPDXRef- prefix reinserted.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Advisory

type Advisory struct {
	ID   string `json:"id"`
	Link string `json:"link"`
}

func (*Advisory) DeepCopy

func (in *Advisory) DeepCopy() *Advisory

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Advisory.

func (*Advisory) DeepCopyInto

func (in *Advisory) DeepCopyInto(out *Advisory)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Annotation

type Annotation struct {
	// 12.1: Annotator
	// Cardinality: conditional (mandatory, one) if there is an Annotation
	Annotator Annotator `json:"annotator"`

	// 12.2: Annotation Date: YYYY-MM-DDThh:mm:ssZ
	// Cardinality: conditional (mandatory, one) if there is an Annotation
	AnnotationDate string `json:"annotationDate"`

	// 12.3: Annotation Type: "REVIEW" or "OTHER"
	// Cardinality: conditional (mandatory, one) if there is an Annotation
	AnnotationType string `json:"annotationType"`

	// 12.4: SPDX Identifier Reference
	// Cardinality: conditional (mandatory, one) if there is an Annotation
	// This field is not used in hierarchical data formats where the referenced element is clear, such as JSON or YAML.
	AnnotationSPDXIdentifier DocElementID `json:"-" yaml:"-"`

	// 12.5: Annotation Comment
	// Cardinality: conditional (mandatory, one) if there is an Annotation
	AnnotationComment string `json:"comment"`
}

Annotation is an Annotation section of an SPDX Document for version 2.3 of the spec.

func (*Annotation) DeepCopy

func (in *Annotation) DeepCopy() *Annotation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Annotation.

func (*Annotation) DeepCopyInto

func (in *Annotation) DeepCopyInto(out *Annotation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Annotator

type Annotator struct {
	Annotator string
	// including AnnotatorType: one of "Person", "Organization" or "Tool"
	AnnotatorType string
}

func (*Annotator) DeepCopy

func (in *Annotator) DeepCopy() *Annotator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Annotator.

func (*Annotator) DeepCopyInto

func (in *Annotator) DeepCopyInto(out *Annotator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Annotator) MarshalJSON

func (a Annotator) MarshalJSON() ([]byte, error)

MarshalJSON converts the receiver into a slice of bytes representing an Annotator in string form. This function is also used when marshalling to YAML

func (*Annotator) UnmarshalJSON

func (a *Annotator) UnmarshalJSON(data []byte) error

UnmarshalJSON takes an annotator in the typical one-line format and parses it into an Annotator struct. This function is also used when unmarshalling YAML

type ArtifactOfProject

type ArtifactOfProject struct {

	// DEPRECATED in version 2.1 of spec
	// 8.9: Artifact of Project Name
	// Cardinality: conditional, required if present, one per AOP
	Name string `json:"name"`

	// DEPRECATED in version 2.1 of spec
	// 8.10: Artifact of Project Homepage: URL or "UNKNOWN"
	// Cardinality: optional, one per AOP
	HomePage string `json:"homePage"`

	// DEPRECATED in version 2.1 of spec
	// 8.11: Artifact of Project Uniform Resource Identifier
	// Cardinality: optional, one per AOP
	URI string `json:"URI"`
}

ArtifactOfProject is a DEPRECATED collection of data regarding a Package, as defined in sections 8.9-8.11 in version 2.3 of the spec. NOTE: the JSON schema does not define the structure of this object: https://github.com/spdx/spdx-spec/blob/development/v2.3.1/schemas/spdx-schema.json#L480

func (*ArtifactOfProject) DeepCopy

func (in *ArtifactOfProject) DeepCopy() *ArtifactOfProject

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactOfProject.

func (*ArtifactOfProject) DeepCopyInto

func (in *ArtifactOfProject) DeepCopyInto(out *ArtifactOfProject)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Checksum

type Checksum struct {
	Algorithm ChecksumAlgorithm `json:"algorithm"`
	Value     string            `json:"checksumValue"`
}

Checksum provides a unique identifier to match analysis information on each specific file in a package. The Algorithm field describes the ChecksumAlgorithm used and the Value represents the file checksum

func (*Checksum) DeepCopy

func (in *Checksum) DeepCopy() *Checksum

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Checksum.

func (*Checksum) DeepCopyInto

func (in *Checksum) DeepCopyInto(out *Checksum)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ChecksumAlgorithm

type ChecksumAlgorithm string

ChecksumAlgorithm represents the algorithm used to generate the file checksum in the Checksum struct.

const (
	SHA224      ChecksumAlgorithm = "SHA224"
	SHA1        ChecksumAlgorithm = "SHA1"
	SHA256      ChecksumAlgorithm = "SHA256"
	SHA384      ChecksumAlgorithm = "SHA384"
	SHA512      ChecksumAlgorithm = "SHA512"
	MD2         ChecksumAlgorithm = "MD2"
	MD4         ChecksumAlgorithm = "MD4"
	MD5         ChecksumAlgorithm = "MD5"
	MD6         ChecksumAlgorithm = "MD6"
	SHA3_256    ChecksumAlgorithm = "SHA3-256"
	SHA3_384    ChecksumAlgorithm = "SHA3-384"
	SHA3_512    ChecksumAlgorithm = "SHA3-512"
	BLAKE2b_256 ChecksumAlgorithm = "BLAKE2b-256"
	BLAKE2b_384 ChecksumAlgorithm = "BLAKE2b-384"
	BLAKE2b_512 ChecksumAlgorithm = "BLAKE2b-512"
	BLAKE3      ChecksumAlgorithm = "BLAKE3"
	ADLER32     ChecksumAlgorithm = "ADLER32"
)

The checksum algorithms mentioned in the spdxv2.2.0 https://spdx.github.io/spdx-spec/4-file-information/#44-file-checksum

type CreationInfo

type CreationInfo struct {
	// 6.7: License List Version
	// Cardinality: optional, one
	LicenseListVersion string `json:"licenseListVersion"`

	// 6.8: Creators: may have multiple keys for Person, Organization
	//      and/or Tool
	// Cardinality: mandatory, one or many
	Creators []Creator `json:"creators"`

	// 6.9: Created: data format YYYY-MM-DDThh:mm:ssZ
	// Cardinality: mandatory, one
	Created string `json:"created"`

	// 6.10: Creator Comment
	// Cardinality: optional, one
	CreatorComment string `json:"comment"`
}

CreationInfo is a Document Creation Information section of an SPDX Document for version 2.3 of the spec.

func (*CreationInfo) DeepCopy

func (in *CreationInfo) DeepCopy() *CreationInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreationInfo.

func (*CreationInfo) DeepCopyInto

func (in *CreationInfo) DeepCopyInto(out *CreationInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Creator

type Creator struct {
	Creator string
	// CreatorType should be one of "Person", "Organization", or "Tool"
	CreatorType string
}

Creator is a wrapper around the Creator SPDX field. The SPDX field contains two values, which requires special handling in order to marshal/unmarshal it to/from Go data types.

func (*Creator) DeepCopy

func (in *Creator) DeepCopy() *Creator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Creator.

func (*Creator) DeepCopyInto

func (in *Creator) DeepCopyInto(out *Creator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Creator) MarshalJSON

func (c Creator) MarshalJSON() ([]byte, error)

MarshalJSON converts the receiver into a slice of bytes representing a Creator in string form. This function is also used with marshalling to YAML

func (*Creator) UnmarshalJSON

func (c *Creator) UnmarshalJSON(data []byte) error

UnmarshalJSON takes an annotator in the typical one-line format and parses it into a Creator struct. This function is also used when unmarshalling YAML

type Cvss

type Cvss struct {
	Version        string          `json:"version"`
	Vector         string          `json:"vector"`
	Metrics        CvssMetrics     `json:"metrics"`
	VendorMetadata json.RawMessage `json:"vendorMetadata,omitempty"`
}

func (*Cvss) DeepCopy

func (in *Cvss) DeepCopy() *Cvss

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cvss.

func (*Cvss) DeepCopyInto

func (in *Cvss) DeepCopyInto(out *Cvss)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CvssMetrics

type CvssMetrics struct {
	BaseScore           float64  `json:"baseScore"`
	ExploitabilityScore *float64 `json:"exploitabilityScore,omitempty"`
	ImpactScore         *float64 `json:"impactScore,omitempty"`
}

func (*CvssMetrics) DeepCopy

func (in *CvssMetrics) DeepCopy() *CvssMetrics

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CvssMetrics.

func (*CvssMetrics) DeepCopyInto

func (in *CvssMetrics) DeepCopyInto(out *CvssMetrics)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Descriptor

type Descriptor struct {
	Name                  string          `json:"name"`
	Version               string          `json:"version"`
	Configuration         json.RawMessage `json:"configuration,omitempty"`
	VulnerabilityDBStatus json.RawMessage `json:"db,omitempty"`
}

func (*Descriptor) DeepCopy

func (in *Descriptor) DeepCopy() *Descriptor

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Descriptor.

func (*Descriptor) DeepCopyInto

func (in *Descriptor) DeepCopyInto(out *Descriptor)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Distribution

type Distribution struct {
	Name    string   `json:"name"`
	Version string   `json:"version"`
	IDLike  []string `json:"idLike"`
}

func (*Distribution) DeepCopy

func (in *Distribution) DeepCopy() *Distribution

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Distribution.

func (*Distribution) DeepCopyInto

func (in *Distribution) DeepCopyInto(out *Distribution)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DocElementID

type DocElementID struct {
	DocumentRefID string
	ElementRefID  ElementID
	SpecialID     string
}

DocElementID represents an SPDX element identifier that could be defined in a different SPDX document, and therefore could have a "DocumentRef-" portion, such as Relationships and Annotations. ElementID is used for attributes in which a "DocumentRef-" portion cannot appear, such as a Package or File definition (since it is necessarily being defined in the present document). DocumentRefID will be the empty string for elements defined in the present document. DocElementIDs should NOT contain the mandatory 'DocumentRef-' or 'SPDXRef-' portions. SpecialID is used ONLY if the DocElementID matches a defined set of permitted special values for a particular field, e.g. "NONE" or "NOASSERTION" for the right-hand side of Relationships. If SpecialID is set, DocumentRefID and ElementRefID should be empty (and vice versa).

func MakeDocElementID

func MakeDocElementID(docRef string, eltRef string) DocElementID

MakeDocElementID takes strings (without prefixes) for the DocumentRef- and SPDXRef- identifiers, and returns a DocElementID. An empty string should be used for the DocumentRef- portion if it is referring to the present document.

func MakeDocElementSpecial

func MakeDocElementSpecial(specialID string) DocElementID

MakeDocElementSpecial takes a "special" string (e.g. "NONE" or "NOASSERTION" for the right side of a Relationship), nd returns a DocElementID with it in the SpecialID field. Other fields will be empty.

func (*DocElementID) DeepCopy

func (in *DocElementID) DeepCopy() *DocElementID

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocElementID.

func (*DocElementID) DeepCopyInto

func (in *DocElementID) DeepCopyInto(out *DocElementID)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (DocElementID) MarshalJSON

func (d DocElementID) MarshalJSON() ([]byte, error)

MarshalJSON converts the receiver into a slice of bytes representing a DocElementID in string form. This function is also used when marshalling to YAML

func (*DocElementID) UnmarshalJSON

func (d *DocElementID) UnmarshalJSON(data []byte) (err error)

UnmarshalJSON takes a SPDX Identifier string parses it into a DocElementID struct. This function is also used when unmarshalling YAML

type Document

type Document struct {
	// Added
	DocumentDescribes []string `json:"documentDescribes"`

	// 6.1: SPDX Version; should be in the format "SPDX-2.3"
	// Cardinality: mandatory, one
	SPDXVersion string `json:"spdxVersion"`

	// 6.2: Data License; should be "CC0-1.0"
	// Cardinality: mandatory, one
	DataLicense string `json:"dataLicense"`

	// 6.3: SPDX Identifier; should be "DOCUMENT" to represent
	//      mandatory identifier of SPDXRef-DOCUMENT
	// Cardinality: mandatory, one
	SPDXIdentifier ElementID `json:"SPDXID"`

	// 6.4: Document Name
	// Cardinality: mandatory, one
	DocumentName string `json:"name"`

	// 6.5: Document Namespace
	// Cardinality: mandatory, one
	DocumentNamespace string `json:"documentNamespace"`

	// 6.6: External Document References
	// Cardinality: optional, one or many
	ExternalDocumentReferences []ExternalDocumentRef `json:"externalDocumentRefs"`

	// 6.11: Document Comment
	// Cardinality: optional, one
	DocumentComment string `json:"comment"`

	CreationInfo  *CreationInfo   `json:"creationInfo"`
	Packages      []*Package      `json:"packages"`
	Files         []*File         `json:"files"`
	OtherLicenses []*OtherLicense `json:"hasExtractedLicensingInfos"`
	Relationships []*Relationship `json:"relationships"`
	Annotations   []Annotation    `json:"annotations"`
	Snippets      []Snippet       `json:"snippets"`

	// DEPRECATED in version 2.0 of spec
	Reviews []*Review `json:"-" yaml:"-"`
}

Document is an SPDX Document for version 2.3 of the spec. See https://spdx.github.io/spdx-spec/v2.3/document-creation-information

func (*Document) DeepCopy

func (in *Document) DeepCopy() *Document

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Document.

func (*Document) DeepCopyInto

func (in *Document) DeepCopyInto(out *Document)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ElementID

type ElementID string

ElementID represents the identifier string portion of an SPDX element identifier. DocElementID should be used for any attributes which can contain identifiers defined in a different SPDX document. ElementIDs should NOT contain the mandatory 'SPDXRef-' portion.

func (ElementID) MarshalJSON

func (d ElementID) MarshalJSON() ([]byte, error)

MarshalJSON returns an SPDXRef- prefixed JSON string

func (*ElementID) UnmarshalJSON

func (d *ElementID) UnmarshalJSON(data []byte) error

UnmarshalJSON validates SPDXRef- prefixes and removes them when processing ElementIDs

type ExternalDocumentRef

type ExternalDocumentRef struct {
	// DocumentRefID is the ID string defined in the start of the
	// reference. It should _not_ contain the "DocumentRef-" part
	// of the mandatory ID string.
	DocumentRefID string `json:"externalDocumentId"`

	// URI is the URI defined for the external document
	URI string `json:"spdxDocument"`

	// Checksum is the actual hash data
	Checksum Checksum `json:"checksum"`
}

ExternalDocumentRef is a reference to an external SPDX document as defined in section 6.6 for version 2.3 of the spec.

func (*ExternalDocumentRef) DeepCopy

func (in *ExternalDocumentRef) DeepCopy() *ExternalDocumentRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalDocumentRef.

func (*ExternalDocumentRef) DeepCopyInto

func (in *ExternalDocumentRef) DeepCopyInto(out *ExternalDocumentRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type File

type File struct {
	// 8.1: File Name
	// Cardinality: mandatory, one
	FileName string `json:"fileName"`

	// 8.2: File SPDX Identifier: "SPDXRef-[idstring]"
	// Cardinality: mandatory, one
	FileSPDXIdentifier ElementID `json:"SPDXID"`

	// 8.3: File Types
	// Cardinality: optional, multiple
	FileTypes []string `json:"fileTypes"`

	// 8.4: File Checksum: may have keys for SHA1, SHA256, MD5, SHA3-256, SHA3-384, SHA3-512, BLAKE2b-256, BLAKE2b-384, BLAKE2b-512, BLAKE3, ADLER32
	// Cardinality: mandatory, one SHA1, others may be optionally provided
	Checksums []Checksum `json:"checksums"`

	// 8.5: Concluded License: SPDX License Expression, "NONE" or "NOASSERTION"
	// Cardinality: optional, one
	LicenseConcluded string `json:"licenseConcluded"`

	// 8.6: License Information in File: SPDX License Expression, "NONE" or "NOASSERTION"
	// Cardinality: optional, one or many
	LicenseInfoInFiles []string `json:"licenseInfoInFiles"`

	// 8.7: Comments on License
	// Cardinality: optional, one
	LicenseComments string `json:"licenseComments"`

	// 8.8: Copyright Text: copyright notice(s) text, "NONE" or "NOASSERTION"
	// Cardinality: mandatory, one
	FileCopyrightText string `json:"copyrightText"`

	// DEPRECATED in version 2.1 of spec
	// 8.9-8.11: Artifact of Project variables (defined below)
	// Cardinality: optional, one or many
	ArtifactOfProjects []*ArtifactOfProject `json:"artifactOfs"`

	// 8.12: File Comment
	// Cardinality: optional, one
	FileComment string `json:"comment"`

	// 8.13: File Notice
	// Cardinality: optional, one
	FileNotice string `json:"noticeText"`

	// 8.14: File Contributor
	// Cardinality: optional, one or many
	FileContributors []string `json:"fileContributors"`

	// 8.15: File Attribution Text
	// Cardinality: optional, one or many
	FileAttributionTexts []string `json:"attributionTexts"`

	// DEPRECATED in version 2.0 of spec
	// 8.16: File Dependencies
	// Cardinality: optional, one or many
	FileDependencies []string `json:"fileDependencies"`

	// Snippets contained in this File
	// Note that Snippets could be defined in a different Document! However,
	// the only ones that _THIS_ document can contain are this ones that are
	// defined here -- so this should just be an ElementID.
	Snippets map[ElementID]*Snippet `json:"-" yaml:"-"`

	Annotations []Annotation `json:"annotations"`
}

File is a File section of an SPDX Document for version 2.3 of the spec.

func (*File) DeepCopy

func (in *File) DeepCopy() *File

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new File.

func (*File) DeepCopyInto

func (in *File) DeepCopyInto(out *File)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Fix

type Fix struct {
	Versions []string `json:"versions"`
	State    string   `json:"state"`
}

func (*Fix) DeepCopy

func (in *Fix) DeepCopy() *Fix

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fix.

func (*Fix) DeepCopyInto

func (in *Fix) DeepCopyInto(out *Fix)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrypeDocument

type GrypeDocument struct {
	Matches        []Match        `json:"matches"`
	IgnoredMatches []IgnoredMatch `json:"ignoredMatches,omitempty"`
	Source         *Source        `json:"source"`
	Distro         Distribution   `json:"distro"`
	Descriptor     Descriptor     `json:"descriptor"`
}

GrypeDocument is the document that represents the vulnerability manifest in the Grype’s JSON format

func (*GrypeDocument) DeepCopy

func (in *GrypeDocument) DeepCopy() *GrypeDocument

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrypeDocument.

func (*GrypeDocument) DeepCopyInto

func (in *GrypeDocument) DeepCopyInto(out *GrypeDocument)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrypePackage

type GrypePackage struct {
	Name         string            `json:"name"`
	Version      string            `json:"version"`
	Type         SyftType          `json:"type"`
	Locations    []SyftCoordinates `json:"locations"`
	Language     SyftLanguage      `json:"language"`
	Licenses     []string          `json:"licenses"`
	CPEs         []string          `json:"cpes"`
	PURL         string            `json:"purl"`
	Upstreams    []UpstreamPackage `json:"upstreams"`
	MetadataType MetadataType      `json:"metadataType,omitempty"`
	Metadata     json.RawMessage   `json:"metadata,omitempty"`
}

func (*GrypePackage) DeepCopy

func (in *GrypePackage) DeepCopy() *GrypePackage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrypePackage.

func (*GrypePackage) DeepCopyInto

func (in *GrypePackage) DeepCopyInto(out *GrypePackage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IgnoreRule

type IgnoreRule struct {
	Vulnerability string             `json:"vulnerability,omitempty"`
	FixState      string             `json:"fix-state,omitempty"`
	Package       *IgnoreRulePackage `json:"package,omitempty"`
}

func (*IgnoreRule) DeepCopy

func (in *IgnoreRule) DeepCopy() *IgnoreRule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IgnoreRule.

func (*IgnoreRule) DeepCopyInto

func (in *IgnoreRule) DeepCopyInto(out *IgnoreRule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IgnoreRulePackage

type IgnoreRulePackage struct {
	Name     string `json:"name,omitempty"`
	Version  string `json:"version,omitempty"`
	Type     string `json:"type,omitempty"`
	Location string `json:"location,omitempty"`
}

func (*IgnoreRulePackage) DeepCopy

func (in *IgnoreRulePackage) DeepCopy() *IgnoreRulePackage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IgnoreRulePackage.

func (*IgnoreRulePackage) DeepCopyInto

func (in *IgnoreRulePackage) DeepCopyInto(out *IgnoreRulePackage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IgnoredMatch

type IgnoredMatch struct {
	Match
	AppliedIgnoreRules []IgnoreRule `json:"appliedIgnoreRules"`
}

func (*IgnoredMatch) DeepCopy

func (in *IgnoredMatch) DeepCopy() *IgnoredMatch

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IgnoredMatch.

func (*IgnoredMatch) DeepCopyInto

func (in *IgnoredMatch) DeepCopyInto(out *IgnoredMatch)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Match

type Match struct {
	Vulnerability          Vulnerability           `json:"vulnerability"`
	RelatedVulnerabilities []VulnerabilityMetadata `json:"relatedVulnerabilities"`
	MatchDetails           []MatchDetails          `json:"matchDetails"`
	Artifact               GrypePackage            `json:"artifact"`
}

func (*Match) DeepCopy

func (in *Match) DeepCopy() *Match

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Match.

func (*Match) DeepCopyInto

func (in *Match) DeepCopyInto(out *Match)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MatchDetails

type MatchDetails struct {
	Type       string          `json:"type"`
	Matcher    string          `json:"matcher"`
	SearchedBy json.RawMessage `json:"searchedBy,omitempty"`
	Found      json.RawMessage `json:"found,omitempty"`
}

func (*MatchDetails) DeepCopy

func (in *MatchDetails) DeepCopy() *MatchDetails

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchDetails.

func (*MatchDetails) DeepCopyInto

func (in *MatchDetails) DeepCopyInto(out *MatchDetails)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MetadataType

type MetadataType string

type Originator

type Originator struct {
	// can be "NOASSERTION"
	Originator string
	// OriginatorType can be one of "Person", "Organization", or empty if Originator is "NOASSERTION"
	OriginatorType string
}

func (*Originator) DeepCopy

func (in *Originator) DeepCopy() *Originator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Originator.

func (*Originator) DeepCopyInto

func (in *Originator) DeepCopyInto(out *Originator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Originator) MarshalJSON

func (o Originator) MarshalJSON() ([]byte, error)

MarshalJSON converts the receiver into a slice of bytes representing an Originator in string form. This function is also used when marshalling to YAML

func (*Originator) UnmarshalJSON

func (o *Originator) UnmarshalJSON(data []byte) error

UnmarshalJSON takes an originator in the typical one-line format and parses it into an Originator struct. This function is also used when unmarshalling YAML

type OtherLicense

type OtherLicense struct {
	// 10.1: License Identifier: "LicenseRef-[idstring]"
	// Cardinality: conditional (mandatory, one) if license is not
	//              on SPDX License List
	LicenseIdentifier string `json:"licenseId"`

	// 10.2: Extracted Text
	// Cardinality: conditional (mandatory, one) if there is a
	//              License Identifier assigned
	ExtractedText string `json:"extractedText"`

	// 10.3: License Name: single line of text or "NOASSERTION"
	// Cardinality: conditional (mandatory, one) if license is not
	//              on SPDX License List
	LicenseName string `json:"name"`

	// 10.4: License Cross Reference
	// Cardinality: conditional (optional, one or many) if license
	//              is not on SPDX License List
	LicenseCrossReferences []string `json:"seeAlsos"`

	// 10.5: License Comment
	// Cardinality: optional, one
	LicenseComment string `json:"comment"`
}

OtherLicense is an Other License Information section of an SPDX Document for version 2.3 of the spec.

func (*OtherLicense) DeepCopy

func (in *OtherLicense) DeepCopy() *OtherLicense

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OtherLicense.

func (*OtherLicense) DeepCopyInto

func (in *OtherLicense) DeepCopyInto(out *OtherLicense)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Package

type Package struct {

	// Added
	HasFiles []string `json:"hasFiles"`

	// NOT PART OF SPEC
	// flag: does this "package" contain files that were in fact "unpackaged",
	// e.g. included directly in the Document without being in a Package?
	IsUnpackaged bool `json:"-" yaml:"-"`

	// 7.1: Package Name
	// Cardinality: mandatory, one
	PackageName string `json:"name"`

	// 7.2: Package SPDX Identifier: "SPDXRef-[idstring]"
	// Cardinality: mandatory, one
	PackageSPDXIdentifier ElementID `json:"SPDXID"`

	// 7.3: Package Version
	// Cardinality: optional, one
	PackageVersion string `json:"versionInfo"`

	// 7.4: Package File Name
	// Cardinality: optional, one
	PackageFileName string `json:"packageFileName"`

	// 7.5: Package Supplier: may have single result for either Person or Organization,
	//                        or NOASSERTION
	// Cardinality: optional, one
	PackageSupplier *Supplier `json:"supplier"`

	// 7.6: Package Originator: may have single result for either Person or Organization,
	//                          or NOASSERTION
	// Cardinality: optional, one
	PackageOriginator *Originator `json:"originator"`

	// 7.7: Package Download Location
	// Cardinality: mandatory, one
	PackageDownloadLocation string `json:"downloadLocation"`

	// 7.8: FilesAnalyzed
	// Cardinality: optional, one; default value is "true" if omitted
	FilesAnalyzed bool `json:"filesAnalyzed"`
	// NOT PART OF SPEC: did FilesAnalyzed tag appear?
	IsFilesAnalyzedTagPresent bool `json:"-" yaml:"-"`

	// 7.9: Package Verification Code
	// Cardinality: if FilesAnalyzed == true must be present, if FilesAnalyzed == false must be omitted
	PackageVerificationCode *PackageVerificationCode `json:"packageVerificationCode"`

	// 7.10: Package Checksum: may have keys for SHA1, SHA256, SHA512, MD5, SHA3-256, SHA3-384, SHA3-512, BLAKE2b-256, BLAKE2b-384, BLAKE2b-512, BLAKE3, ADLER32
	// Cardinality: optional, one or many
	PackageChecksums []Checksum `json:"checksums"`

	// 7.11: Package Home Page
	// Cardinality: optional, one
	PackageHomePage string `json:"homepage"`

	// 7.12: Source Information
	// Cardinality: optional, one
	PackageSourceInfo string `json:"sourceInfo"`

	// 7.13: Concluded License: SPDX License Expression, "NONE" or "NOASSERTION"
	// Cardinality: optional, one
	PackageLicenseConcluded string `json:"licenseConcluded"`

	// 7.14: All Licenses Info from Files: SPDX License Expression, "NONE" or "NOASSERTION"
	// Cardinality: optional, one or many if filesAnalyzed is true / omitted;
	//              zero (must be omitted) if filesAnalyzed is false
	PackageLicenseInfoFromFiles []string `json:"licenseInfoFromFiles"`

	// 7.15: Declared License: SPDX License Expression, "NONE" or "NOASSERTION"
	// Cardinality: optional, one
	PackageLicenseDeclared string `json:"licenseDeclared"`

	// 7.16: Comments on License
	// Cardinality: optional, one
	PackageLicenseComments string `json:"licenseComments"`

	// 7.17: Copyright Text: copyright notice(s) text, "NONE" or "NOASSERTION"
	// Cardinality: mandatory, one
	PackageCopyrightText string `json:"copyrightText"`

	// 7.18: Package Summary Description
	// Cardinality: optional, one
	PackageSummary string `json:"summary"`

	// 7.19: Package Detailed Description
	// Cardinality: optional, one
	PackageDescription string `json:"description"`

	// 7.20: Package Comment
	// Cardinality: optional, one
	PackageComment string `json:"comment"`

	// 7.21: Package External Reference
	// Cardinality: optional, one or many
	PackageExternalReferences []*PackageExternalReference `json:"externalRefs"`

	// 7.23: Package Attribution Text
	// Cardinality: optional, one or many
	PackageAttributionTexts []string `json:"attributionTexts"`

	// 7.24: Primary Package Purpose
	// Cardinality: optional, one or many
	// Allowed values: APPLICATION, FRAMEWORK, LIBRARY, CONTAINER, OPERATING-SYSTEM, DEVICE, FIRMWARE, SOURCE, ARCHIVE, FILE, INSTALL, OTHER
	PrimaryPackagePurpose string `json:"primaryPackagePurpose"`

	// 7.25: Release Date: YYYY-MM-DDThh:mm:ssZ
	// Cardinality: optional, one
	ReleaseDate string `json:"releaseDate"`

	// 7.26: Build Date: YYYY-MM-DDThh:mm:ssZ
	// Cardinality: optional, one
	BuiltDate string `json:"builtDate"`

	// 7.27: Valid Until Date: YYYY-MM-DDThh:mm:ssZ
	// Cardinality: optional, one
	ValidUntilDate string `json:"validUntilDate"`

	// Files contained in this Package
	Files []*File `json:"files"`

	Annotations []Annotation `json:"annotations"`
}

Package is a Package section of an SPDX Document for version 2.3 of the spec.

func (*Package) DeepCopy

func (in *Package) DeepCopy() *Package

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package.

func (*Package) DeepCopyInto

func (in *Package) DeepCopyInto(out *Package)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PackageExternalReference

type PackageExternalReference struct {
	// category is "SECURITY", "PACKAGE-MANAGER" or "OTHER"
	Category string `json:"referenceCategory"`

	// type is an [idstring] as defined in Appendix VI;
	// called RefType here due to "type" being a Golang keyword
	RefType string `json:"referenceType"`

	// locator is a unique string to access the package-specific
	// info, metadata or content within the target location
	Locator string `json:"referenceLocator"`

	// 7.22: Package External Reference Comment
	// Cardinality: conditional (optional, one) for each External Reference
	ExternalRefComment string `json:"comment"`
}

PackageExternalReference is an External Reference to additional info about a Package, as defined in section 7.21 in version 2.3 of the spec.

func (*PackageExternalReference) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageExternalReference.

func (*PackageExternalReference) DeepCopyInto

func (in *PackageExternalReference) DeepCopyInto(out *PackageExternalReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PackageVerificationCode

type PackageVerificationCode struct {
	// Cardinality: mandatory, one if filesAnalyzed is true / omitted;
	//              zero (must be omitted) if filesAnalyzed is false
	Value string `json:"packageVerificationCodeValue"`
	// Spec also allows specifying files to exclude from the
	// verification code algorithm; intended to enable exclusion of
	// the SPDX document file itself.
	ExcludedFiles []string `json:"packageVerificationCodeExcludedFiles"`
}

func (*PackageVerificationCode) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageVerificationCode.

func (*PackageVerificationCode) DeepCopyInto

func (in *PackageVerificationCode) DeepCopyInto(out *PackageVerificationCode)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Relationship

type Relationship struct {

	// 11.1: Relationship
	// Cardinality: optional, one or more; one per Relationship
	//              one mandatory for SPDX Document with multiple packages
	// RefA and RefB are first and second item
	// Relationship is type from 11.1.1
	RefA         DocElementID `json:"spdxElementId"`
	RefB         DocElementID `json:"relatedSpdxElement"`
	Relationship string       `json:"relationshipType"`

	// 11.2: Relationship Comment
	// Cardinality: optional, one
	RelationshipComment string `json:"comment"`
}

Relationship is a Relationship section of an SPDX Document for version 2.3 of the spec.

func (*Relationship) DeepCopy

func (in *Relationship) DeepCopy() *Relationship

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Relationship.

func (*Relationship) DeepCopyInto

func (in *Relationship) DeepCopyInto(out *Relationship)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ReportMeta

type ReportMeta struct {
	CreatedAt metav1.Time `json:"createdAt"`
}

ReportMeta describes metadata about a report

func (*ReportMeta) DeepCopy

func (in *ReportMeta) DeepCopy() *ReportMeta

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReportMeta.

func (*ReportMeta) DeepCopyInto

func (in *ReportMeta) DeepCopyInto(out *ReportMeta)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Review

type Review struct {

	// DEPRECATED in version 2.0 of spec
	// 13.1: Reviewer
	// Cardinality: optional, one
	Reviewer string
	// including AnnotatorType: one of "Person", "Organization" or "Tool"
	ReviewerType string

	// DEPRECATED in version 2.0 of spec
	// 13.2: Review Date: YYYY-MM-DDThh:mm:ssZ
	// Cardinality: conditional (mandatory, one) if there is a Reviewer
	ReviewDate string

	// DEPRECATED in version 2.0 of spec
	// 13.3: Review Comment
	// Cardinality: optional, one
	ReviewComment string
}

Review is a Review section of an SPDX Document for version 2.3 of the spec. DEPRECATED in version 2.0 of spec; retained here for compatibility.

func (*Review) DeepCopy

func (in *Review) DeepCopy() *Review

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Review.

func (*Review) DeepCopyInto

func (in *Review) DeepCopyInto(out *Review)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SBOMSPDXv2p3

type SBOMSPDXv2p3 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   SBOMSPDXv2p3Spec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status SBOMSPDXv2p3Status `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

SBOMSPDXv2p3 is an example type with a spec and a status.

func (*SBOMSPDXv2p3) DeepCopy

func (in *SBOMSPDXv2p3) DeepCopy() *SBOMSPDXv2p3

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSPDXv2p3.

func (*SBOMSPDXv2p3) DeepCopyInto

func (in *SBOMSPDXv2p3) DeepCopyInto(out *SBOMSPDXv2p3)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SBOMSPDXv2p3) DeepCopyObject

func (in *SBOMSPDXv2p3) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SBOMSPDXv2p3Filtered

type SBOMSPDXv2p3Filtered struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   SBOMSPDXv2p3Spec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status SBOMSPDXv2p3Status `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

SBOMSPDXv2p3Filtered is a custom resource that describes a filtered SBOM in the SPDX 2.3 format.

Being filtered means that the SBOM contains only the relevant vulnerable materials.

func (*SBOMSPDXv2p3Filtered) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSPDXv2p3Filtered.

func (*SBOMSPDXv2p3Filtered) DeepCopyInto

func (in *SBOMSPDXv2p3Filtered) DeepCopyInto(out *SBOMSPDXv2p3Filtered)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SBOMSPDXv2p3Filtered) DeepCopyObject

func (in *SBOMSPDXv2p3Filtered) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SBOMSPDXv2p3FilteredList

type SBOMSPDXv2p3FilteredList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []SBOMSPDXv2p3Filtered `json:"items" protobuf:"bytes,2,rep,name=items"`
}

SBOMSPDXv2p3FilteredList is a list of SBOMSPDXv2p3Filtered objects.

func (*SBOMSPDXv2p3FilteredList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSPDXv2p3FilteredList.

func (*SBOMSPDXv2p3FilteredList) DeepCopyInto

func (in *SBOMSPDXv2p3FilteredList) DeepCopyInto(out *SBOMSPDXv2p3FilteredList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SBOMSPDXv2p3FilteredList) DeepCopyObject

func (in *SBOMSPDXv2p3FilteredList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SBOMSPDXv2p3List

type SBOMSPDXv2p3List struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []SBOMSPDXv2p3 `json:"items" protobuf:"bytes,2,rep,name=items"`
}

SBOMSPDXv2p3List is a list of Flunder objects.

func (*SBOMSPDXv2p3List) DeepCopy

func (in *SBOMSPDXv2p3List) DeepCopy() *SBOMSPDXv2p3List

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSPDXv2p3List.

func (*SBOMSPDXv2p3List) DeepCopyInto

func (in *SBOMSPDXv2p3List) DeepCopyInto(out *SBOMSPDXv2p3List)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SBOMSPDXv2p3List) DeepCopyObject

func (in *SBOMSPDXv2p3List) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SBOMSPDXv2p3Spec

type SBOMSPDXv2p3Spec struct {
	Metadata SPDXMeta `json:"metadata"`
	SPDX     Document `json:"spdx,omitempty"`
}

SBOMSPDXv2p3Spec is the specification of a Flunder.

func (*SBOMSPDXv2p3Spec) DeepCopy

func (in *SBOMSPDXv2p3Spec) DeepCopy() *SBOMSPDXv2p3Spec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSPDXv2p3Spec.

func (*SBOMSPDXv2p3Spec) DeepCopyInto

func (in *SBOMSPDXv2p3Spec) DeepCopyInto(out *SBOMSPDXv2p3Spec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SBOMSPDXv2p3Status

type SBOMSPDXv2p3Status struct {
}

SBOMSPDXv2p3Status is the status of a Flunder.

func (*SBOMSPDXv2p3Status) DeepCopy

func (in *SBOMSPDXv2p3Status) DeepCopy() *SBOMSPDXv2p3Status

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSPDXv2p3Status.

func (*SBOMSPDXv2p3Status) DeepCopyInto

func (in *SBOMSPDXv2p3Status) DeepCopyInto(out *SBOMSPDXv2p3Status)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SPDXMeta

type SPDXMeta struct {
	Tool   ToolMeta   `json:"tool"`
	Report ReportMeta `json:"report"`
}

SPDXMeta describes metadata about an SPDX-formatted SBOM

func (*SPDXMeta) DeepCopy

func (in *SPDXMeta) DeepCopy() *SPDXMeta

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SPDXMeta.

func (*SPDXMeta) DeepCopyInto

func (in *SPDXMeta) DeepCopyInto(out *SPDXMeta)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Snippet

type Snippet struct {

	// 9.1: Snippet SPDX Identifier: "SPDXRef-[idstring]"
	// Cardinality: mandatory, one
	SnippetSPDXIdentifier ElementID `json:"SPDXID"`

	// 9.2: Snippet from File SPDX Identifier
	// Cardinality: mandatory, one
	SnippetFromFileSPDXIdentifier ElementID `json:"snippetFromFile"`

	// Ranges denotes the start/end byte offsets or line numbers that the snippet is relevant to
	Ranges []SnippetRange `json:"ranges"`

	// 9.5: Snippet Concluded License: SPDX License Expression, "NONE" or "NOASSERTION"
	// Cardinality: optional, one
	SnippetLicenseConcluded string `json:"licenseConcluded"`

	// 9.6: License Information in Snippet: SPDX License Expression, "NONE" or "NOASSERTION"
	// Cardinality: optional, one or many
	LicenseInfoInSnippet []string `json:"licenseInfoInSnippets"`

	// 9.7: Snippet Comments on License
	// Cardinality: optional, one
	SnippetLicenseComments string `json:"licenseComments"`

	// 9.8: Snippet Copyright Text: copyright notice(s) text, "NONE" or "NOASSERTION"
	// Cardinality: mandatory, one
	SnippetCopyrightText string `json:"copyrightText"`

	// 9.9: Snippet Comment
	// Cardinality: optional, one
	SnippetComment string `json:"comment"`

	// 9.10: Snippet Name
	// Cardinality: optional, one
	SnippetName string `json:"name"`

	// 9.11: Snippet Attribution Text
	// Cardinality: optional, one or many
	SnippetAttributionTexts []string `json:"-" yaml:"-"`
}

Snippet is a Snippet section of an SPDX Document for version 2.3 of the spec.

func (*Snippet) DeepCopy

func (in *Snippet) DeepCopy() *Snippet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Snippet.

func (*Snippet) DeepCopyInto

func (in *Snippet) DeepCopyInto(out *Snippet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SnippetRange

type SnippetRange struct {
	StartPointer SnippetRangePointer `json:"startPointer"`
	EndPointer   SnippetRangePointer `json:"endPointer"`
}

func (*SnippetRange) DeepCopy

func (in *SnippetRange) DeepCopy() *SnippetRange

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnippetRange.

func (*SnippetRange) DeepCopyInto

func (in *SnippetRange) DeepCopyInto(out *SnippetRange)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SnippetRangePointer

type SnippetRangePointer struct {
	// 5.3: Snippet Byte Range: [start byte]:[end byte]
	// Cardinality: mandatory, one
	Offset int `json:"offset"`

	// 5.4: Snippet Line Range: [start line]:[end line]
	// Cardinality: optional, one
	LineNumber int `json:"lineNumber"`

	FileSPDXIdentifier ElementID `json:"reference"`
}

func (*SnippetRangePointer) DeepCopy

func (in *SnippetRangePointer) DeepCopy() *SnippetRangePointer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnippetRangePointer.

func (*SnippetRangePointer) DeepCopyInto

func (in *SnippetRangePointer) DeepCopyInto(out *SnippetRangePointer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Source

type Source struct {
	Type   string          `json:"type"`
	Target json.RawMessage `json:"target,omitempty"`
}

func (*Source) DeepCopy

func (in *Source) DeepCopy() *Source

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Source.

func (*Source) DeepCopyInto

func (in *Source) DeepCopyInto(out *Source)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Supplier

type Supplier struct {
	// can be "NOASSERTION"
	Supplier string
	// SupplierType can be one of "Person", "Organization", or empty if Supplier is "NOASSERTION"
	SupplierType string
}

func (*Supplier) DeepCopy

func (in *Supplier) DeepCopy() *Supplier

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Supplier.

func (*Supplier) DeepCopyInto

func (in *Supplier) DeepCopyInto(out *Supplier)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Supplier) MarshalJSON

func (s Supplier) MarshalJSON() ([]byte, error)

MarshalJSON converts the receiver into a slice of bytes representing a Supplier in string form. This function is also used when marshalling to YAML

func (*Supplier) UnmarshalJSON

func (s *Supplier) UnmarshalJSON(data []byte) error

UnmarshalJSON takes a supplier in the typical one-line format and parses it into a Supplier struct. This function is also used when unmarshalling YAML

type SyftCoordinates

type SyftCoordinates struct {
	RealPath     string `json:"path"`
	FileSystemID string `json:"layerID,omitempty"`
}

func (*SyftCoordinates) DeepCopy

func (in *SyftCoordinates) DeepCopy() *SyftCoordinates

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyftCoordinates.

func (*SyftCoordinates) DeepCopyInto

func (in *SyftCoordinates) DeepCopyInto(out *SyftCoordinates)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SyftLanguage

type SyftLanguage string

type SyftType

type SyftType string

type ToolMeta

type ToolMeta struct {
	Name    string `json:"name"`
	Version string `json:"version"`
}

ToolMeta describes metadata about a tool that generated an artifact

func (*ToolMeta) DeepCopy

func (in *ToolMeta) DeepCopy() *ToolMeta

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolMeta.

func (*ToolMeta) DeepCopyInto

func (in *ToolMeta) DeepCopyInto(out *ToolMeta)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UpstreamPackage

type UpstreamPackage struct {
	Name    string `json:"name"`
	Version string `json:"version,omitempty"`
}

func (*UpstreamPackage) DeepCopy

func (in *UpstreamPackage) DeepCopy() *UpstreamPackage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamPackage.

func (*UpstreamPackage) DeepCopyInto

func (in *UpstreamPackage) DeepCopyInto(out *UpstreamPackage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Vulnerability

type Vulnerability struct {
	VulnerabilityMetadata
	Fix        Fix        `json:"fix"`
	Advisories []Advisory `json:"advisories"`
}

func (*Vulnerability) DeepCopy

func (in *Vulnerability) DeepCopy() *Vulnerability

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vulnerability.

func (*Vulnerability) DeepCopyInto

func (in *Vulnerability) DeepCopyInto(out *Vulnerability)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VulnerabilityManifest

type VulnerabilityManifest struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   VulnerabilityManifestSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status VulnerabilityManifestStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

VulnerabilityManifest is a custom resource that describes a manifest of found vulnerabilities.

func (*VulnerabilityManifest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifest.

func (*VulnerabilityManifest) DeepCopyInto

func (in *VulnerabilityManifest) DeepCopyInto(out *VulnerabilityManifest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VulnerabilityManifest) DeepCopyObject

func (in *VulnerabilityManifest) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VulnerabilityManifestList

type VulnerabilityManifestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []VulnerabilityManifest `json:"items" protobuf:"bytes,2,rep,name=items"`
}

VulnerabilityManifestList is a list of Vulnerability manifests.

func (*VulnerabilityManifestList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestList.

func (*VulnerabilityManifestList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VulnerabilityManifestList) DeepCopyObject

func (in *VulnerabilityManifestList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VulnerabilityManifestMeta

type VulnerabilityManifestMeta struct {
	WithRelevancy bool                            `json:"withRelevancy"`
	Tool          VulnerabilityManifestToolMeta   `json:"tool"`
	Report        VulnerabilityManifestReportMeta `json:"report"`
}

VulnerabilityManifestMeta holds metadata about a vulnerability manifest

func (*VulnerabilityManifestMeta) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestMeta.

func (*VulnerabilityManifestMeta) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VulnerabilityManifestReportMeta

type VulnerabilityManifestReportMeta struct {
	CreatedAt metav1.Time `json:"createdAt"`
}

VulnerabilityManifestReportMeta holds metadata about the specific report tied to a vulnerability manifest

func (*VulnerabilityManifestReportMeta) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestReportMeta.

func (*VulnerabilityManifestReportMeta) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VulnerabilityManifestSpec

type VulnerabilityManifestSpec struct {
	Metadata VulnerabilityManifestMeta `json:"metadata,omitempty"`
	Payload  GrypeDocument             `json:"payload,omitempty"`
}

func (*VulnerabilityManifestSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestSpec.

func (*VulnerabilityManifestSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VulnerabilityManifestStatus

type VulnerabilityManifestStatus struct {
}

func (*VulnerabilityManifestStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestStatus.

func (*VulnerabilityManifestStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VulnerabilityManifestToolMeta

type VulnerabilityManifestToolMeta struct {
	Name            string `json:"name"`
	Version         string `json:"version"`
	DatabaseVersion string `json:"databaseVersion"`
}

VulnerabilityManifestToolMeta describes data about the tool used to generate the vulnerability manifest’s report

func (*VulnerabilityManifestToolMeta) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestToolMeta.

func (*VulnerabilityManifestToolMeta) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VulnerabilityMetadata

type VulnerabilityMetadata struct {
	ID          string   `json:"id"`
	DataSource  string   `json:"dataSource"`
	Namespace   string   `json:"namespace,omitempty"`
	Severity    string   `json:"severity,omitempty"`
	URLs        []string `json:"urls"`
	Description string   `json:"description,omitempty"`
	Cvss        []Cvss   `json:"cvss"`
}

func (*VulnerabilityMetadata) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityMetadata.

func (*VulnerabilityMetadata) DeepCopyInto

func (in *VulnerabilityMetadata) DeepCopyInto(out *VulnerabilityMetadata)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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