Documentation ¶
Index ¶
- func ConvertArtInputSpecToArtSpec(artInput *model.ArtifactInputSpec) *model.ArtifactSpec
- func ConvertBuilderInputSpecToBuilderSpec(input *model.BuilderInputSpec) *model.BuilderSpec
- func ConvertCveInputSpecToCveSpec(cveInput *model.CVEInputSpec) *model.CVESpec
- func ConvertGhsaInputSpecToGhsaSpec(ghsaInput *model.GHSAInputSpec) *model.GHSASpec
- func ConvertOsvInputSpecToOsvSpec(osvInput *model.OSVInputSpec) *model.OSVSpec
- func ConvertPkgInputSpecToPkgSpec(pkgInput *model.PkgInputSpec) *model.PkgSpec
- func ConvertSrcInputSpecToSrcSpec(srcInput *model.SourceInputSpec) *model.SourceSpec
- func ValidateCveOrGhsaIngestionInput(cveOrGhsa model.CveOrGhsaInput, path string) error
- func ValidateCveOrGhsaQueryFilter(cveOrGhsa *model.CveOrGhsaSpec) error
- func ValidatePackageOrArtifactInput(item *model.PackageOrArtifactInput, path string) error
- func ValidatePackageOrArtifactQueryFilter(subject *model.PackageOrArtifactSpec) error
- func ValidatePackageOrSourceInput(item *model.PackageOrSourceInput, path string) error
- func ValidatePackageOrSourceQueryFilter(subject *model.PackageOrSourceSpec) error
- func ValidatePackageSourceOrArtifactInput(item *model.PackageSourceOrArtifactInput, path string) error
- func ValidatePackageSourceOrArtifactQueryFilter(subject *model.PackageSourceOrArtifactSpec) error
- func ValidateVulnerabilityIngestionInput(vulnerability model.VulnerabilityInput, path string, noVulnAllowed bool) error
- func ValidateVulnerabilityQueryFilter(vulnerability *model.VulnerabilitySpec, noVulnAllowed bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertArtInputSpecToArtSpec ¶
func ConvertArtInputSpecToArtSpec(artInput *model.ArtifactInputSpec) *model.ArtifactSpec
TODO: maybe use generics for ArtifactInputSpec and ArtifactSpec?
func ConvertBuilderInputSpecToBuilderSpec ¶
func ConvertBuilderInputSpecToBuilderSpec(input *model.BuilderInputSpec) *model.BuilderSpec
func ConvertCveInputSpecToCveSpec ¶
func ConvertCveInputSpecToCveSpec(cveInput *model.CVEInputSpec) *model.CVESpec
TODO: maybe use generics for CVEInputSpec and CVESpec?
func ConvertGhsaInputSpecToGhsaSpec ¶
func ConvertGhsaInputSpecToGhsaSpec(ghsaInput *model.GHSAInputSpec) *model.GHSASpec
TODO: maybe use generics for GHSAInputSpec and GHSASpec?
func ConvertOsvInputSpecToOsvSpec ¶
func ConvertOsvInputSpecToOsvSpec(osvInput *model.OSVInputSpec) *model.OSVSpec
TODO: maybe use generics for OSVInputSpec and OSVSpec?
func ConvertPkgInputSpecToPkgSpec ¶
func ConvertPkgInputSpecToPkgSpec(pkgInput *model.PkgInputSpec) *model.PkgSpec
TODO: maybe use generics for PkgInputSpec and PkgSpec?
func ConvertSrcInputSpecToSrcSpec ¶
func ConvertSrcInputSpecToSrcSpec(srcInput *model.SourceInputSpec) *model.SourceSpec
TODO: maybe use generics for SourceInputSpec and SourceSpec?
func ValidateCveOrGhsaIngestionInput ¶
func ValidateCveOrGhsaIngestionInput(cveOrGhsa model.CveOrGhsaInput, path string) error
func ValidateCveOrGhsaQueryFilter ¶
func ValidateCveOrGhsaQueryFilter(cveOrGhsa *model.CveOrGhsaSpec) error
func ValidatePackageOrArtifactInput ¶
func ValidatePackageOrArtifactInput(item *model.PackageOrArtifactInput, path string) error
func ValidatePackageOrArtifactQueryFilter ¶
func ValidatePackageOrArtifactQueryFilter(subject *model.PackageOrArtifactSpec) error
func ValidatePackageOrSourceInput ¶
func ValidatePackageOrSourceInput(item *model.PackageOrSourceInput, path string) error
func ValidatePackageOrSourceQueryFilter ¶
func ValidatePackageOrSourceQueryFilter(subject *model.PackageOrSourceSpec) error
func ValidatePackageSourceOrArtifactInput ¶
func ValidatePackageSourceOrArtifactInput(item *model.PackageSourceOrArtifactInput, path string) error
func ValidatePackageSourceOrArtifactQueryFilter ¶
func ValidatePackageSourceOrArtifactQueryFilter(subject *model.PackageSourceOrArtifactSpec) error
func ValidateVulnerabilityIngestionInput ¶
func ValidateVulnerabilityIngestionInput(vulnerability model.VulnerabilityInput, path string, noVulnAllowed bool) error
func ValidateVulnerabilityQueryFilter ¶
func ValidateVulnerabilityQueryFilter(vulnerability *model.VulnerabilitySpec, noVulnAllowed bool) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.