Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecutableSchema ¶
func NewExecutableSchema(cfg Config) graphql.ExecutableSchema
NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
Types ¶
type ComplexityRoot ¶
type ComplexityRoot struct { Artifact struct { Algorithm func(childComplexity int) int Digest func(childComplexity int) int ID func(childComplexity int) int } ArtifactConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } ArtifactEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } Builder struct { ID func(childComplexity int) int URI func(childComplexity int) int } BuilderConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } BuilderEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } CertifyBad struct { Collector func(childComplexity int) int DocumentRef func(childComplexity int) int ID func(childComplexity int) int Justification func(childComplexity int) int KnownSince func(childComplexity int) int Origin func(childComplexity int) int Subject func(childComplexity int) int } CertifyBadConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } CertifyBadEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } CertifyGood struct { Collector func(childComplexity int) int DocumentRef func(childComplexity int) int ID func(childComplexity int) int Justification func(childComplexity int) int KnownSince func(childComplexity int) int Origin func(childComplexity int) int Subject func(childComplexity int) int } CertifyGoodConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } CertifyGoodEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } CertifyLegal struct { Attribution func(childComplexity int) int Collector func(childComplexity int) int DeclaredLicense func(childComplexity int) int DeclaredLicenses func(childComplexity int) int DiscoveredLicense func(childComplexity int) int DiscoveredLicenses func(childComplexity int) int DocumentRef func(childComplexity int) int ID func(childComplexity int) int Justification func(childComplexity int) int Origin func(childComplexity int) int Subject func(childComplexity int) int TimeScanned func(childComplexity int) int } CertifyLegalConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } CertifyLegalEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } CertifyScorecard struct { ID func(childComplexity int) int Scorecard func(childComplexity int) int Source func(childComplexity int) int } CertifyScorecardConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } CertifyScorecardEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } CertifyVEXStatement struct { Collector func(childComplexity int) int DocumentRef func(childComplexity int) int ID func(childComplexity int) int KnownSince func(childComplexity int) int Origin func(childComplexity int) int Statement func(childComplexity int) int Status func(childComplexity int) int StatusNotes func(childComplexity int) int Subject func(childComplexity int) int VexJustification func(childComplexity int) int Vulnerability func(childComplexity int) int } CertifyVuln struct { ID func(childComplexity int) int Metadata func(childComplexity int) int Package func(childComplexity int) int Vulnerability func(childComplexity int) int } CertifyVulnConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } CertifyVulnEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } FindSoftwareConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } HasMetadata struct { Collector func(childComplexity int) int DocumentRef func(childComplexity int) int ID func(childComplexity int) int Justification func(childComplexity int) int Key func(childComplexity int) int Origin func(childComplexity int) int Subject func(childComplexity int) int Timestamp func(childComplexity int) int Value func(childComplexity int) int } HasMetadataConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } HasMetadataEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } HasSBOM struct { Algorithm func(childComplexity int) int Collector func(childComplexity int) int Digest func(childComplexity int) int DocumentRef func(childComplexity int) int DownloadLocation func(childComplexity int) int ID func(childComplexity int) int IncludedDependencies func(childComplexity int) int IncludedOccurrences func(childComplexity int) int IncludedSoftware func(childComplexity int) int KnownSince func(childComplexity int) int Origin func(childComplexity int) int Subject func(childComplexity int) int URI func(childComplexity int) int } HasSBOMConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } HasSBOMEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } HasSLSA struct { ID func(childComplexity int) int Slsa func(childComplexity int) int Subject func(childComplexity int) int } HasSLSAConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } HasSLSAEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } HasSourceAt struct { Collector func(childComplexity int) int DocumentRef func(childComplexity int) int ID func(childComplexity int) int Justification func(childComplexity int) int KnownSince func(childComplexity int) int Origin func(childComplexity int) int Package func(childComplexity int) int Source func(childComplexity int) int } HasSourceAtConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } HasSourceAtEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } HashEqual struct { Artifacts func(childComplexity int) int Collector func(childComplexity int) int DocumentRef func(childComplexity int) int ID func(childComplexity int) int Justification func(childComplexity int) int Origin func(childComplexity int) int } HashEqualConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } HashEqualEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } IsDependency struct { Collector func(childComplexity int) int DependencyPackage func(childComplexity int) int DependencyType func(childComplexity int) int DocumentRef func(childComplexity int) int ID func(childComplexity int) int Justification func(childComplexity int) int Origin func(childComplexity int) int Package func(childComplexity int) int VersionRange func(childComplexity int) int } IsDependencyConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } IsDependencyEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } IsOccurrence struct { Artifact func(childComplexity int) int Collector func(childComplexity int) int DocumentRef func(childComplexity int) int ID func(childComplexity int) int Justification func(childComplexity int) int Origin func(childComplexity int) int Subject func(childComplexity int) int } IsOccurrenceConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } IsOccurrenceEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } License struct { ID func(childComplexity int) int Inline func(childComplexity int) int ListVersion func(childComplexity int) int Name func(childComplexity int) int } LicenseConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } LicenseEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } Mutation struct { IngestArtifact func(childComplexity int, artifact *model.IDorArtifactInput) int IngestArtifacts func(childComplexity int, artifacts []*model.IDorArtifactInput) int IngestBuilder func(childComplexity int, builder *model.IDorBuilderInput) int IngestBuilders func(childComplexity int, builders []*model.IDorBuilderInput) int IngestBulkHasMetadata func(childComplexity int, subjects model.PackageSourceOrArtifactInputs, pkgMatchType model.MatchFlags, hasMetadataList []*model.HasMetadataInputSpec) int IngestBulkVulnerabilityMetadata func(childComplexity int, vulnerabilities []*model.IDorVulnerabilityInput, vulnerabilityMetadataList []*model.VulnerabilityMetadataInputSpec) int IngestCertifyBad func(childComplexity int, subject model.PackageSourceOrArtifactInput, pkgMatchType model.MatchFlags, certifyBad model.CertifyBadInputSpec) int IngestCertifyBads func(childComplexity int, subjects model.PackageSourceOrArtifactInputs, pkgMatchType model.MatchFlags, certifyBads []*model.CertifyBadInputSpec) int IngestCertifyGood func(childComplexity int, subject model.PackageSourceOrArtifactInput, pkgMatchType model.MatchFlags, certifyGood model.CertifyGoodInputSpec) int IngestCertifyGoods func(childComplexity int, subjects model.PackageSourceOrArtifactInputs, pkgMatchType model.MatchFlags, certifyGoods []*model.CertifyGoodInputSpec) int IngestCertifyLegal func(childComplexity int, subject model.PackageOrSourceInput, declaredLicenses []*model.IDorLicenseInput, discoveredLicenses []*model.IDorLicenseInput, certifyLegal model.CertifyLegalInputSpec) int IngestCertifyLegals func(childComplexity int, subjects model.PackageOrSourceInputs, declaredLicensesList [][]*model.IDorLicenseInput, discoveredLicensesList [][]*model.IDorLicenseInput, certifyLegals []*model.CertifyLegalInputSpec) int IngestCertifyVuln func(childComplexity int, pkg model.IDorPkgInput, vulnerability model.IDorVulnerabilityInput, certifyVuln model.ScanMetadataInput) int IngestCertifyVulns func(childComplexity int, pkgs []*model.IDorPkgInput, vulnerabilities []*model.IDorVulnerabilityInput, certifyVulns []*model.ScanMetadataInput) int IngestDependencies func(childComplexity int, pkgs []*model.IDorPkgInput, depPkgs []*model.IDorPkgInput, depPkgMatchType model.MatchFlags, dependencies []*model.IsDependencyInputSpec) int IngestDependency func(childComplexity int, pkg model.IDorPkgInput, depPkg model.IDorPkgInput, depPkgMatchType model.MatchFlags, dependency model.IsDependencyInputSpec) int IngestHasMetadata func(childComplexity int, subject model.PackageSourceOrArtifactInput, pkgMatchType model.MatchFlags, hasMetadata model.HasMetadataInputSpec) int IngestHasSBOMs func(childComplexity int, subjects model.PackageOrArtifactInputs, hasSBOMs []*model.HasSBOMInputSpec, includes []*model.HasSBOMIncludesInputSpec) int IngestHasSbom func(childComplexity int, subject model.PackageOrArtifactInput, hasSbom model.HasSBOMInputSpec, includes model.HasSBOMIncludesInputSpec) int IngestHasSourceAt func(childComplexity int, pkg model.IDorPkgInput, pkgMatchType model.MatchFlags, source model.IDorSourceInput, hasSourceAt model.HasSourceAtInputSpec) int IngestHasSourceAts func(childComplexity int, pkgs []*model.IDorPkgInput, pkgMatchType model.MatchFlags, sources []*model.IDorSourceInput, hasSourceAts []*model.HasSourceAtInputSpec) int IngestHashEqual func(childComplexity int, artifact model.IDorArtifactInput, otherArtifact model.IDorArtifactInput, hashEqual model.HashEqualInputSpec) int IngestHashEquals func(childComplexity int, artifacts []*model.IDorArtifactInput, otherArtifacts []*model.IDorArtifactInput, hashEquals []*model.HashEqualInputSpec) int IngestLicense func(childComplexity int, license *model.IDorLicenseInput) int IngestLicenses func(childComplexity int, licenses []*model.IDorLicenseInput) int IngestOccurrence func(childComplexity int, subject model.PackageOrSourceInput, artifact model.IDorArtifactInput, occurrence model.IsOccurrenceInputSpec) int IngestOccurrences func(childComplexity int, subjects model.PackageOrSourceInputs, artifacts []*model.IDorArtifactInput, occurrences []*model.IsOccurrenceInputSpec) int IngestPackage func(childComplexity int, pkg model.IDorPkgInput) int IngestPackages func(childComplexity int, pkgs []*model.IDorPkgInput) int IngestPkgEqual func(childComplexity int, pkg model.IDorPkgInput, otherPackage model.IDorPkgInput, pkgEqual model.PkgEqualInputSpec) int IngestPkgEquals func(childComplexity int, pkgs []*model.IDorPkgInput, otherPackages []*model.IDorPkgInput, pkgEquals []*model.PkgEqualInputSpec) int IngestPointOfContact func(childComplexity int, subject model.PackageSourceOrArtifactInput, pkgMatchType model.MatchFlags, pointOfContact model.PointOfContactInputSpec) int IngestPointOfContacts func(childComplexity int, subjects model.PackageSourceOrArtifactInputs, pkgMatchType model.MatchFlags, pointOfContacts []*model.PointOfContactInputSpec) int IngestSLSAs func(childComplexity int, subjects []*model.IDorArtifactInput, builtFromList [][]*model.IDorArtifactInput, builtByList []*model.IDorBuilderInput, slsaList []*model.SLSAInputSpec) int IngestScorecard func(childComplexity int, source model.IDorSourceInput, scorecard model.ScorecardInputSpec) int IngestScorecards func(childComplexity int, sources []*model.IDorSourceInput, scorecards []*model.ScorecardInputSpec) int IngestSlsa func(childComplexity int, subject model.IDorArtifactInput, builtFrom []*model.IDorArtifactInput, builtBy model.IDorBuilderInput, slsa model.SLSAInputSpec) int IngestSource func(childComplexity int, source model.IDorSourceInput) int IngestSources func(childComplexity int, sources []*model.IDorSourceInput) int IngestVEXStatement func(childComplexity int, subject model.PackageOrArtifactInput, vulnerability model.IDorVulnerabilityInput, vexStatement model.VexStatementInputSpec) int IngestVEXStatements func(childComplexity int, subjects model.PackageOrArtifactInputs, vulnerabilities []*model.IDorVulnerabilityInput, vexStatements []*model.VexStatementInputSpec) int IngestVulnEqual func(childComplexity int, vulnerability model.IDorVulnerabilityInput, otherVulnerability model.IDorVulnerabilityInput, vulnEqual model.VulnEqualInputSpec) int IngestVulnEquals func(childComplexity int, vulnerabilities []*model.IDorVulnerabilityInput, otherVulnerabilities []*model.IDorVulnerabilityInput, vulnEquals []*model.VulnEqualInputSpec) int IngestVulnerabilities func(childComplexity int, vulns []*model.IDorVulnerabilityInput) int IngestVulnerability func(childComplexity int, vuln model.IDorVulnerabilityInput) int IngestVulnerabilityMetadata func(childComplexity int, vulnerability model.IDorVulnerabilityInput, vulnerabilityMetadata model.VulnerabilityMetadataInputSpec) int } NeighborConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } NeighborEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } Package struct { ID func(childComplexity int) int Namespaces func(childComplexity int) int Type func(childComplexity int) int } PackageConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } PackageEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } PackageIDs struct { PackageNameID func(childComplexity int) int PackageNamespaceID func(childComplexity int) int PackageTypeID func(childComplexity int) int PackageVersionID func(childComplexity int) int } PackageName struct { ID func(childComplexity int) int Name func(childComplexity int) int Versions func(childComplexity int) int } PackageNamespace struct { ID func(childComplexity int) int Names func(childComplexity int) int Namespace func(childComplexity int) int } PackageQualifier struct { Key func(childComplexity int) int Value func(childComplexity int) int } PackageVersion struct { ID func(childComplexity int) int Purl func(childComplexity int) int Qualifiers func(childComplexity int) int Subpath func(childComplexity int) int Version func(childComplexity int) int } PageInfo struct { EndCursor func(childComplexity int) int HasNextPage func(childComplexity int) int StartCursor func(childComplexity int) int } PkgEqual struct { Collector func(childComplexity int) int DocumentRef func(childComplexity int) int ID func(childComplexity int) int Justification func(childComplexity int) int Origin func(childComplexity int) int Packages func(childComplexity int) int } PkgEqualConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } PkgEqualEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } PointOfContact struct { Collector func(childComplexity int) int DocumentRef func(childComplexity int) int Email func(childComplexity int) int ID func(childComplexity int) int Info func(childComplexity int) int Justification func(childComplexity int) int Origin func(childComplexity int) int Since func(childComplexity int) int Subject func(childComplexity int) int } PointOfContactConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } PointOfContactEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } Query struct { Artifacts func(childComplexity int, artifactSpec model.ArtifactSpec) int ArtifactsList func(childComplexity int, artifactSpec model.ArtifactSpec, after *string, first *int) int Builders func(childComplexity int, builderSpec model.BuilderSpec) int BuildersList func(childComplexity int, builderSpec model.BuilderSpec, after *string, first *int) int CertifyBad func(childComplexity int, certifyBadSpec model.CertifyBadSpec) int CertifyBadList func(childComplexity int, certifyBadSpec model.CertifyBadSpec, after *string, first *int) int CertifyGood func(childComplexity int, certifyGoodSpec model.CertifyGoodSpec) int CertifyGoodList func(childComplexity int, certifyGoodSpec model.CertifyGoodSpec, after *string, first *int) int CertifyLegal func(childComplexity int, certifyLegalSpec model.CertifyLegalSpec) int CertifyLegalList func(childComplexity int, certifyLegalSpec model.CertifyLegalSpec, after *string, first *int) int CertifyVEXStatement func(childComplexity int, certifyVEXStatementSpec model.CertifyVEXStatementSpec) int CertifyVEXStatementList func(childComplexity int, certifyVEXStatementSpec model.CertifyVEXStatementSpec, after *string, first *int) int CertifyVuln func(childComplexity int, certifyVulnSpec model.CertifyVulnSpec) int CertifyVulnList func(childComplexity int, certifyVulnSpec model.CertifyVulnSpec, after *string, first *int) int FindSoftware func(childComplexity int, searchText string) int FindSoftwareList func(childComplexity int, searchText string, after *string, first *int) int HasMetadata func(childComplexity int, hasMetadataSpec model.HasMetadataSpec) int HasMetadataList func(childComplexity int, hasMetadataSpec model.HasMetadataSpec, after *string, first *int) int HasSBOMList func(childComplexity int, hasSBOMSpec model.HasSBOMSpec, after *string, first *int) int HasSLSAList func(childComplexity int, hasSLSASpec model.HasSLSASpec, after *string, first *int) int HasSbom func(childComplexity int, hasSBOMSpec model.HasSBOMSpec) int HasSlsa func(childComplexity int, hasSLSASpec model.HasSLSASpec) int HasSourceAt func(childComplexity int, hasSourceAtSpec model.HasSourceAtSpec) int HasSourceAtList func(childComplexity int, hasSourceAtSpec model.HasSourceAtSpec, after *string, first *int) int HashEqual func(childComplexity int, hashEqualSpec model.HashEqualSpec) int HashEqualList func(childComplexity int, hashEqualSpec model.HashEqualSpec, after *string, first *int) int IsDependency func(childComplexity int, isDependencySpec model.IsDependencySpec) int IsDependencyList func(childComplexity int, isDependencySpec model.IsDependencySpec, after *string, first *int) int IsOccurrence func(childComplexity int, isOccurrenceSpec model.IsOccurrenceSpec) int IsOccurrenceList func(childComplexity int, isOccurrenceSpec model.IsOccurrenceSpec, after *string, first *int) int LicenseList func(childComplexity int, licenseSpec model.LicenseSpec, after *string, first *int) int Licenses func(childComplexity int, licenseSpec model.LicenseSpec) int Neighbors func(childComplexity int, node string, usingOnly []model.Edge) int NeighborsList func(childComplexity int, node string, usingOnly []model.Edge, after *string, first *int) int Node func(childComplexity int, node string) int Nodes func(childComplexity int, nodes []string) int Packages func(childComplexity int, pkgSpec model.PkgSpec) int PackagesList func(childComplexity int, pkgSpec model.PkgSpec, after *string, first *int) int Path func(childComplexity int, subject string, target string, maxPathLength int, usingOnly []model.Edge) int PkgEqual func(childComplexity int, pkgEqualSpec model.PkgEqualSpec) int PkgEqualList func(childComplexity int, pkgEqualSpec model.PkgEqualSpec, after *string, first *int) int PointOfContact func(childComplexity int, pointOfContactSpec model.PointOfContactSpec) int PointOfContactList func(childComplexity int, pointOfContactSpec model.PointOfContactSpec, after *string, first *int) int Scorecards func(childComplexity int, scorecardSpec model.CertifyScorecardSpec) int ScorecardsList func(childComplexity int, scorecardSpec model.CertifyScorecardSpec, after *string, first *int) int Sources func(childComplexity int, sourceSpec model.SourceSpec) int SourcesList func(childComplexity int, sourceSpec model.SourceSpec, after *string, first *int) int VulnEqual func(childComplexity int, vulnEqualSpec model.VulnEqualSpec) int VulnEqualList func(childComplexity int, vulnEqualSpec model.VulnEqualSpec, after *string, first *int) int Vulnerabilities func(childComplexity int, vulnSpec model.VulnerabilitySpec) int VulnerabilityList func(childComplexity int, vulnSpec model.VulnerabilitySpec, after *string, first *int) int VulnerabilityMetadata func(childComplexity int, vulnerabilityMetadataSpec model.VulnerabilityMetadataSpec) int VulnerabilityMetadataList func(childComplexity int, vulnerabilityMetadataSpec model.VulnerabilityMetadataSpec, after *string, first *int) int } SLSA struct { BuildType func(childComplexity int) int BuiltBy func(childComplexity int) int BuiltFrom func(childComplexity int) int Collector func(childComplexity int) int DocumentRef func(childComplexity int) int FinishedOn func(childComplexity int) int Origin func(childComplexity int) int SlsaPredicate func(childComplexity int) int SlsaVersion func(childComplexity int) int StartedOn func(childComplexity int) int } SLSAPredicate struct { Key func(childComplexity int) int Value func(childComplexity int) int } ScanMetadata struct { Collector func(childComplexity int) int DbURI func(childComplexity int) int DbVersion func(childComplexity int) int DocumentRef func(childComplexity int) int Origin func(childComplexity int) int ScannerURI func(childComplexity int) int ScannerVersion func(childComplexity int) int TimeScanned func(childComplexity int) int } Scorecard struct { AggregateScore func(childComplexity int) int Checks func(childComplexity int) int Collector func(childComplexity int) int DocumentRef func(childComplexity int) int Origin func(childComplexity int) int ScorecardCommit func(childComplexity int) int ScorecardVersion func(childComplexity int) int TimeScanned func(childComplexity int) int } ScorecardCheck struct { Check func(childComplexity int) int Score func(childComplexity int) int } SoftwareEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } Source struct { ID func(childComplexity int) int Namespaces func(childComplexity int) int Type func(childComplexity int) int } SourceConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } SourceEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } SourceIDs struct { SourceNameID func(childComplexity int) int SourceNamespaceID func(childComplexity int) int SourceTypeID func(childComplexity int) int } SourceName struct { Commit func(childComplexity int) int ID func(childComplexity int) int Name func(childComplexity int) int Tag func(childComplexity int) int } SourceNamespace struct { ID func(childComplexity int) int Names func(childComplexity int) int Namespace func(childComplexity int) int } VEXConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } VEXEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } VulnEqual struct { Collector func(childComplexity int) int DocumentRef func(childComplexity int) int ID func(childComplexity int) int Justification func(childComplexity int) int Origin func(childComplexity int) int Vulnerabilities func(childComplexity int) int } VulnEqualConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } VulnEqualEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } Vulnerability struct { ID func(childComplexity int) int Type func(childComplexity int) int VulnerabilityIDs func(childComplexity int) int } VulnerabilityConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } VulnerabilityEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } VulnerabilityID struct { ID func(childComplexity int) int VulnerabilityID func(childComplexity int) int } VulnerabilityIDs struct { VulnerabilityNodeID func(childComplexity int) int VulnerabilityTypeID func(childComplexity int) int } VulnerabilityMetadata struct { Collector func(childComplexity int) int DocumentRef func(childComplexity int) int ID func(childComplexity int) int Origin func(childComplexity int) int ScoreType func(childComplexity int) int ScoreValue func(childComplexity int) int Timestamp func(childComplexity int) int Vulnerability func(childComplexity int) int } VulnerabilityMetadataConnection struct { Edges func(childComplexity int) int PageInfo func(childComplexity int) int TotalCount func(childComplexity int) int } VulnerabilityMetadataEdge struct { Cursor func(childComplexity int) int Node func(childComplexity int) int } }
type Config ¶
type Config struct { Schema *ast.Schema Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
type MutationResolver ¶
type MutationResolver interface { IngestArtifact(ctx context.Context, artifact *model.IDorArtifactInput) (string, error) IngestArtifacts(ctx context.Context, artifacts []*model.IDorArtifactInput) ([]string, error) IngestBuilder(ctx context.Context, builder *model.IDorBuilderInput) (string, error) IngestBuilders(ctx context.Context, builders []*model.IDorBuilderInput) ([]string, error) IngestCertifyBad(ctx context.Context, subject model.PackageSourceOrArtifactInput, pkgMatchType model.MatchFlags, certifyBad model.CertifyBadInputSpec) (string, error) IngestCertifyBads(ctx context.Context, subjects model.PackageSourceOrArtifactInputs, pkgMatchType model.MatchFlags, certifyBads []*model.CertifyBadInputSpec) ([]string, error) IngestCertifyGood(ctx context.Context, subject model.PackageSourceOrArtifactInput, pkgMatchType model.MatchFlags, certifyGood model.CertifyGoodInputSpec) (string, error) IngestCertifyGoods(ctx context.Context, subjects model.PackageSourceOrArtifactInputs, pkgMatchType model.MatchFlags, certifyGoods []*model.CertifyGoodInputSpec) ([]string, error) IngestCertifyLegal(ctx context.Context, subject model.PackageOrSourceInput, declaredLicenses []*model.IDorLicenseInput, discoveredLicenses []*model.IDorLicenseInput, certifyLegal model.CertifyLegalInputSpec) (string, error) IngestCertifyLegals(ctx context.Context, subjects model.PackageOrSourceInputs, declaredLicensesList [][]*model.IDorLicenseInput, discoveredLicensesList [][]*model.IDorLicenseInput, certifyLegals []*model.CertifyLegalInputSpec) ([]string, error) IngestScorecard(ctx context.Context, source model.IDorSourceInput, scorecard model.ScorecardInputSpec) (string, error) IngestScorecards(ctx context.Context, sources []*model.IDorSourceInput, scorecards []*model.ScorecardInputSpec) ([]string, error) IngestVEXStatement(ctx context.Context, subject model.PackageOrArtifactInput, vulnerability model.IDorVulnerabilityInput, vexStatement model.VexStatementInputSpec) (string, error) IngestVEXStatements(ctx context.Context, subjects model.PackageOrArtifactInputs, vulnerabilities []*model.IDorVulnerabilityInput, vexStatements []*model.VexStatementInputSpec) ([]string, error) IngestCertifyVuln(ctx context.Context, pkg model.IDorPkgInput, vulnerability model.IDorVulnerabilityInput, certifyVuln model.ScanMetadataInput) (string, error) IngestCertifyVulns(ctx context.Context, pkgs []*model.IDorPkgInput, vulnerabilities []*model.IDorVulnerabilityInput, certifyVulns []*model.ScanMetadataInput) ([]string, error) IngestPointOfContact(ctx context.Context, subject model.PackageSourceOrArtifactInput, pkgMatchType model.MatchFlags, pointOfContact model.PointOfContactInputSpec) (string, error) IngestPointOfContacts(ctx context.Context, subjects model.PackageSourceOrArtifactInputs, pkgMatchType model.MatchFlags, pointOfContacts []*model.PointOfContactInputSpec) ([]string, error) IngestHasSbom(ctx context.Context, subject model.PackageOrArtifactInput, hasSbom model.HasSBOMInputSpec, includes model.HasSBOMIncludesInputSpec) (string, error) IngestHasSBOMs(ctx context.Context, subjects model.PackageOrArtifactInputs, hasSBOMs []*model.HasSBOMInputSpec, includes []*model.HasSBOMIncludesInputSpec) ([]string, error) IngestSlsa(ctx context.Context, subject model.IDorArtifactInput, builtFrom []*model.IDorArtifactInput, builtBy model.IDorBuilderInput, slsa model.SLSAInputSpec) (string, error) IngestSLSAs(ctx context.Context, subjects []*model.IDorArtifactInput, builtFromList [][]*model.IDorArtifactInput, builtByList []*model.IDorBuilderInput, slsaList []*model.SLSAInputSpec) ([]string, error) IngestHasSourceAt(ctx context.Context, pkg model.IDorPkgInput, pkgMatchType model.MatchFlags, source model.IDorSourceInput, hasSourceAt model.HasSourceAtInputSpec) (string, error) IngestHasSourceAts(ctx context.Context, pkgs []*model.IDorPkgInput, pkgMatchType model.MatchFlags, sources []*model.IDorSourceInput, hasSourceAts []*model.HasSourceAtInputSpec) ([]string, error) IngestHashEqual(ctx context.Context, artifact model.IDorArtifactInput, otherArtifact model.IDorArtifactInput, hashEqual model.HashEqualInputSpec) (string, error) IngestHashEquals(ctx context.Context, artifacts []*model.IDorArtifactInput, otherArtifacts []*model.IDorArtifactInput, hashEquals []*model.HashEqualInputSpec) ([]string, error) IngestDependency(ctx context.Context, pkg model.IDorPkgInput, depPkg model.IDorPkgInput, depPkgMatchType model.MatchFlags, dependency model.IsDependencyInputSpec) (string, error) IngestDependencies(ctx context.Context, pkgs []*model.IDorPkgInput, depPkgs []*model.IDorPkgInput, depPkgMatchType model.MatchFlags, dependencies []*model.IsDependencyInputSpec) ([]string, error) IngestOccurrence(ctx context.Context, subject model.PackageOrSourceInput, artifact model.IDorArtifactInput, occurrence model.IsOccurrenceInputSpec) (string, error) IngestOccurrences(ctx context.Context, subjects model.PackageOrSourceInputs, artifacts []*model.IDorArtifactInput, occurrences []*model.IsOccurrenceInputSpec) ([]string, error) IngestLicense(ctx context.Context, license *model.IDorLicenseInput) (string, error) IngestLicenses(ctx context.Context, licenses []*model.IDorLicenseInput) ([]string, error) IngestHasMetadata(ctx context.Context, subject model.PackageSourceOrArtifactInput, pkgMatchType model.MatchFlags, hasMetadata model.HasMetadataInputSpec) (string, error) IngestBulkHasMetadata(ctx context.Context, subjects model.PackageSourceOrArtifactInputs, pkgMatchType model.MatchFlags, hasMetadataList []*model.HasMetadataInputSpec) ([]string, error) IngestPackage(ctx context.Context, pkg model.IDorPkgInput) (*model.PackageIDs, error) IngestPackages(ctx context.Context, pkgs []*model.IDorPkgInput) ([]*model.PackageIDs, error) IngestPkgEqual(ctx context.Context, pkg model.IDorPkgInput, otherPackage model.IDorPkgInput, pkgEqual model.PkgEqualInputSpec) (string, error) IngestPkgEquals(ctx context.Context, pkgs []*model.IDorPkgInput, otherPackages []*model.IDorPkgInput, pkgEquals []*model.PkgEqualInputSpec) ([]string, error) IngestSource(ctx context.Context, source model.IDorSourceInput) (*model.SourceIDs, error) IngestSources(ctx context.Context, sources []*model.IDorSourceInput) ([]*model.SourceIDs, error) IngestVulnEqual(ctx context.Context, vulnerability model.IDorVulnerabilityInput, otherVulnerability model.IDorVulnerabilityInput, vulnEqual model.VulnEqualInputSpec) (string, error) IngestVulnEquals(ctx context.Context, vulnerabilities []*model.IDorVulnerabilityInput, otherVulnerabilities []*model.IDorVulnerabilityInput, vulnEquals []*model.VulnEqualInputSpec) ([]string, error) IngestVulnerabilityMetadata(ctx context.Context, vulnerability model.IDorVulnerabilityInput, vulnerabilityMetadata model.VulnerabilityMetadataInputSpec) (string, error) IngestBulkVulnerabilityMetadata(ctx context.Context, vulnerabilities []*model.IDorVulnerabilityInput, vulnerabilityMetadataList []*model.VulnerabilityMetadataInputSpec) ([]string, error) IngestVulnerability(ctx context.Context, vuln model.IDorVulnerabilityInput) (*model.VulnerabilityIDs, error) IngestVulnerabilities(ctx context.Context, vulns []*model.IDorVulnerabilityInput) ([]*model.VulnerabilityIDs, error) }
type PackageResolver ¶ added in v0.4.0
type QueryResolver ¶
type QueryResolver interface { Artifacts(ctx context.Context, artifactSpec model.ArtifactSpec) ([]*model.Artifact, error) ArtifactsList(ctx context.Context, artifactSpec model.ArtifactSpec, after *string, first *int) (*model.ArtifactConnection, error) Builders(ctx context.Context, builderSpec model.BuilderSpec) ([]*model.Builder, error) BuildersList(ctx context.Context, builderSpec model.BuilderSpec, after *string, first *int) (*model.BuilderConnection, error) CertifyBad(ctx context.Context, certifyBadSpec model.CertifyBadSpec) ([]*model.CertifyBad, error) CertifyBadList(ctx context.Context, certifyBadSpec model.CertifyBadSpec, after *string, first *int) (*model.CertifyBadConnection, error) CertifyGood(ctx context.Context, certifyGoodSpec model.CertifyGoodSpec) ([]*model.CertifyGood, error) CertifyGoodList(ctx context.Context, certifyGoodSpec model.CertifyGoodSpec, after *string, first *int) (*model.CertifyGoodConnection, error) CertifyLegal(ctx context.Context, certifyLegalSpec model.CertifyLegalSpec) ([]*model.CertifyLegal, error) CertifyLegalList(ctx context.Context, certifyLegalSpec model.CertifyLegalSpec, after *string, first *int) (*model.CertifyLegalConnection, error) Scorecards(ctx context.Context, scorecardSpec model.CertifyScorecardSpec) ([]*model.CertifyScorecard, error) ScorecardsList(ctx context.Context, scorecardSpec model.CertifyScorecardSpec, after *string, first *int) (*model.CertifyScorecardConnection, error) CertifyVEXStatement(ctx context.Context, certifyVEXStatementSpec model.CertifyVEXStatementSpec) ([]*model.CertifyVEXStatement, error) CertifyVEXStatementList(ctx context.Context, certifyVEXStatementSpec model.CertifyVEXStatementSpec, after *string, first *int) (*model.VEXConnection, error) CertifyVuln(ctx context.Context, certifyVulnSpec model.CertifyVulnSpec) ([]*model.CertifyVuln, error) CertifyVulnList(ctx context.Context, certifyVulnSpec model.CertifyVulnSpec, after *string, first *int) (*model.CertifyVulnConnection, error) PointOfContact(ctx context.Context, pointOfContactSpec model.PointOfContactSpec) ([]*model.PointOfContact, error) PointOfContactList(ctx context.Context, pointOfContactSpec model.PointOfContactSpec, after *string, first *int) (*model.PointOfContactConnection, error) HasSbom(ctx context.Context, hasSBOMSpec model.HasSBOMSpec) ([]*model.HasSbom, error) HasSBOMList(ctx context.Context, hasSBOMSpec model.HasSBOMSpec, after *string, first *int) (*model.HasSBOMConnection, error) HasSlsa(ctx context.Context, hasSLSASpec model.HasSLSASpec) ([]*model.HasSlsa, error) HasSLSAList(ctx context.Context, hasSLSASpec model.HasSLSASpec, after *string, first *int) (*model.HasSLSAConnection, error) HasSourceAt(ctx context.Context, hasSourceAtSpec model.HasSourceAtSpec) ([]*model.HasSourceAt, error) HasSourceAtList(ctx context.Context, hasSourceAtSpec model.HasSourceAtSpec, after *string, first *int) (*model.HasSourceAtConnection, error) HashEqual(ctx context.Context, hashEqualSpec model.HashEqualSpec) ([]*model.HashEqual, error) HashEqualList(ctx context.Context, hashEqualSpec model.HashEqualSpec, after *string, first *int) (*model.HashEqualConnection, error) IsDependency(ctx context.Context, isDependencySpec model.IsDependencySpec) ([]*model.IsDependency, error) IsDependencyList(ctx context.Context, isDependencySpec model.IsDependencySpec, after *string, first *int) (*model.IsDependencyConnection, error) IsOccurrence(ctx context.Context, isOccurrenceSpec model.IsOccurrenceSpec) ([]*model.IsOccurrence, error) IsOccurrenceList(ctx context.Context, isOccurrenceSpec model.IsOccurrenceSpec, after *string, first *int) (*model.IsOccurrenceConnection, error) Licenses(ctx context.Context, licenseSpec model.LicenseSpec) ([]*model.License, error) LicenseList(ctx context.Context, licenseSpec model.LicenseSpec, after *string, first *int) (*model.LicenseConnection, error) HasMetadata(ctx context.Context, hasMetadataSpec model.HasMetadataSpec) ([]*model.HasMetadata, error) HasMetadataList(ctx context.Context, hasMetadataSpec model.HasMetadataSpec, after *string, first *int) (*model.HasMetadataConnection, error) Packages(ctx context.Context, pkgSpec model.PkgSpec) ([]*model.Package, error) PackagesList(ctx context.Context, pkgSpec model.PkgSpec, after *string, first *int) (*model.PackageConnection, error) Path(ctx context.Context, subject string, target string, maxPathLength int, usingOnly []model.Edge) ([]model.Node, error) Neighbors(ctx context.Context, node string, usingOnly []model.Edge) ([]model.Node, error) NeighborsList(ctx context.Context, node string, usingOnly []model.Edge, after *string, first *int) (*model.NeighborConnection, error) Node(ctx context.Context, node string) (model.Node, error) Nodes(ctx context.Context, nodes []string) ([]model.Node, error) PkgEqual(ctx context.Context, pkgEqualSpec model.PkgEqualSpec) ([]*model.PkgEqual, error) PkgEqualList(ctx context.Context, pkgEqualSpec model.PkgEqualSpec, after *string, first *int) (*model.PkgEqualConnection, error) FindSoftware(ctx context.Context, searchText string) ([]model.PackageSourceOrArtifact, error) FindSoftwareList(ctx context.Context, searchText string, after *string, first *int) (*model.FindSoftwareConnection, error) Sources(ctx context.Context, sourceSpec model.SourceSpec) ([]*model.Source, error) SourcesList(ctx context.Context, sourceSpec model.SourceSpec, after *string, first *int) (*model.SourceConnection, error) VulnEqual(ctx context.Context, vulnEqualSpec model.VulnEqualSpec) ([]*model.VulnEqual, error) VulnEqualList(ctx context.Context, vulnEqualSpec model.VulnEqualSpec, after *string, first *int) (*model.VulnEqualConnection, error) VulnerabilityMetadata(ctx context.Context, vulnerabilityMetadataSpec model.VulnerabilityMetadataSpec) ([]*model.VulnerabilityMetadata, error) VulnerabilityMetadataList(ctx context.Context, vulnerabilityMetadataSpec model.VulnerabilityMetadataSpec, after *string, first *int) (*model.VulnerabilityMetadataConnection, error) Vulnerabilities(ctx context.Context, vulnSpec model.VulnerabilitySpec) ([]*model.Vulnerability, error) VulnerabilityList(ctx context.Context, vulnSpec model.VulnerabilitySpec, after *string, first *int) (*model.VulnerabilityConnection, error) }
type ResolverRoot ¶
type ResolverRoot interface { Mutation() MutationResolver Package() PackageResolver Query() QueryResolver }
Source Files ¶
- artifact.generated.go
- builder.generated.go
- certifyBad.generated.go
- certifyGood.generated.go
- certifyLegal.generated.go
- certifyScorecard.generated.go
- certifyVEXStatement.generated.go
- certifyVuln.generated.go
- contact.generated.go
- directive.generated.go
- hasSBOM.generated.go
- hasSLSA.generated.go
- hasSourceAt.generated.go
- hashEqual.generated.go
- isDependency.generated.go
- isOccurrence.generated.go
- license.generated.go
- metadata.generated.go
- package.generated.go
- pagination.generated.go
- path.generated.go
- pkgEqual.generated.go
- prelude.generated.go
- root_.generated.go
- search.generated.go
- source.generated.go
- vulnEqual.generated.go
- vulnMetadata.generated.go
- vulnerability.generated.go
Click to show internal directories.
Click to hide internal directories.