Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterInsightsServer(s grpc.ServiceRegistrar, srv InsightsServer)
- type Advisory
- func (*Advisory) Descriptor() ([]byte, []int)deprecated
- func (x *Advisory) GetAdvisoryKey() *AdvisoryKey
- func (x *Advisory) GetAliases() []string
- func (x *Advisory) GetCvss3Score() float32
- func (x *Advisory) GetCvss3Vector() string
- func (x *Advisory) GetTitle() string
- func (x *Advisory) GetUrl() string
- func (*Advisory) ProtoMessage()
- func (x *Advisory) ProtoReflect() protoreflect.Message
- func (x *Advisory) Reset()
- func (x *Advisory) String() string
- type AdvisoryKey
- type Dependencies
- func (*Dependencies) Descriptor() ([]byte, []int)deprecated
- func (x *Dependencies) GetEdges() []*Dependencies_Edge
- func (x *Dependencies) GetError() string
- func (x *Dependencies) GetNodes() []*Dependencies_Node
- func (*Dependencies) ProtoMessage()
- func (x *Dependencies) ProtoReflect() protoreflect.Message
- func (x *Dependencies) Reset()
- func (x *Dependencies) String() string
- type Dependencies_Edge
- func (*Dependencies_Edge) Descriptor() ([]byte, []int)deprecated
- func (x *Dependencies_Edge) GetFromNode() uint32
- func (x *Dependencies_Edge) GetRequirement() string
- func (x *Dependencies_Edge) GetToNode() uint32
- func (*Dependencies_Edge) ProtoMessage()
- func (x *Dependencies_Edge) ProtoReflect() protoreflect.Message
- func (x *Dependencies_Edge) Reset()
- func (x *Dependencies_Edge) String() string
- type Dependencies_Node
- func (*Dependencies_Node) Descriptor() ([]byte, []int)deprecated
- func (x *Dependencies_Node) GetBundled() bool
- func (x *Dependencies_Node) GetErrors() []string
- func (x *Dependencies_Node) GetRelation() DependencyRelation
- func (x *Dependencies_Node) GetVersionKey() *VersionKey
- func (*Dependencies_Node) ProtoMessage()
- func (x *Dependencies_Node) ProtoReflect() protoreflect.Message
- func (x *Dependencies_Node) Reset()
- func (x *Dependencies_Node) String() string
- type DependencyRelation
- func (DependencyRelation) Descriptor() protoreflect.EnumDescriptor
- func (x DependencyRelation) Enum() *DependencyRelation
- func (DependencyRelation) EnumDescriptor() ([]byte, []int)deprecated
- func (x DependencyRelation) Number() protoreflect.EnumNumber
- func (x DependencyRelation) String() string
- func (DependencyRelation) Type() protoreflect.EnumType
- type GetAdvisoryRequest
- func (*GetAdvisoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAdvisoryRequest) GetAdvisoryKey() *AdvisoryKey
- func (*GetAdvisoryRequest) ProtoMessage()
- func (x *GetAdvisoryRequest) ProtoReflect() protoreflect.Message
- func (x *GetAdvisoryRequest) Reset()
- func (x *GetAdvisoryRequest) String() string
- type GetDependenciesRequest
- func (*GetDependenciesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDependenciesRequest) GetVersionKey() *VersionKey
- func (*GetDependenciesRequest) ProtoMessage()
- func (x *GetDependenciesRequest) ProtoReflect() protoreflect.Message
- func (x *GetDependenciesRequest) Reset()
- func (x *GetDependenciesRequest) String() string
- type GetPackageRequest
- func (*GetPackageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPackageRequest) GetPackageKey() *PackageKey
- func (*GetPackageRequest) ProtoMessage()
- func (x *GetPackageRequest) ProtoReflect() protoreflect.Message
- func (x *GetPackageRequest) Reset()
- func (x *GetPackageRequest) String() string
- type GetProjectPackageVersionsRequest
- func (*GetProjectPackageVersionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProjectPackageVersionsRequest) GetProjectKey() *ProjectKey
- func (*GetProjectPackageVersionsRequest) ProtoMessage()
- func (x *GetProjectPackageVersionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetProjectPackageVersionsRequest) Reset()
- func (x *GetProjectPackageVersionsRequest) String() string
- type GetProjectRequest
- func (*GetProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProjectRequest) GetProjectKey() *ProjectKey
- func (*GetProjectRequest) ProtoMessage()
- func (x *GetProjectRequest) ProtoReflect() protoreflect.Message
- func (x *GetProjectRequest) Reset()
- func (x *GetProjectRequest) String() string
- type GetRequirementsRequest
- func (*GetRequirementsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRequirementsRequest) GetVersionKey() *VersionKey
- func (*GetRequirementsRequest) ProtoMessage()
- func (x *GetRequirementsRequest) ProtoReflect() protoreflect.Message
- func (x *GetRequirementsRequest) Reset()
- func (x *GetRequirementsRequest) String() string
- type GetVersionRequest
- func (*GetVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetVersionRequest) GetVersionKey() *VersionKey
- func (*GetVersionRequest) ProtoMessage()
- func (x *GetVersionRequest) ProtoReflect() protoreflect.Message
- func (x *GetVersionRequest) Reset()
- func (x *GetVersionRequest) String() string
- type Hash
- type HashType
- type InsightsClient
- type InsightsServer
- type Link
- type Package
- type PackageKey
- type Package_Version
- func (*Package_Version) Descriptor() ([]byte, []int)deprecated
- func (x *Package_Version) GetIsDefault() bool
- func (x *Package_Version) GetPublishedAt() *timestamppb.Timestamp
- func (x *Package_Version) GetVersionKey() *VersionKey
- func (*Package_Version) ProtoMessage()
- func (x *Package_Version) ProtoReflect() protoreflect.Message
- func (x *Package_Version) Reset()
- func (x *Package_Version) String() string
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetDescription() string
- func (x *Project) GetForksCount() int32
- func (x *Project) GetHomepage() string
- func (x *Project) GetLicense() string
- func (x *Project) GetOpenIssuesCount() int32
- func (x *Project) GetOssFuzz() *Project_OSSFuzzDetails
- func (x *Project) GetProjectKey() *ProjectKey
- func (x *Project) GetScorecard() *Project_Scorecard
- func (x *Project) GetStarsCount() int32
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- type ProjectKey
- type ProjectPackageVersions
- func (*ProjectPackageVersions) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectPackageVersions) GetVersions() []*ProjectPackageVersions_Version
- func (*ProjectPackageVersions) ProtoMessage()
- func (x *ProjectPackageVersions) ProtoReflect() protoreflect.Message
- func (x *ProjectPackageVersions) Reset()
- func (x *ProjectPackageVersions) String() string
- type ProjectPackageVersions_Version
- func (*ProjectPackageVersions_Version) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectPackageVersions_Version) GetRelationProvenance() ProjectRelationProvenance
- func (x *ProjectPackageVersions_Version) GetRelationType() ProjectRelationType
- func (x *ProjectPackageVersions_Version) GetSlsaProvenances() []*SLSAProvenance
- func (x *ProjectPackageVersions_Version) GetVersionKey() *VersionKey
- func (*ProjectPackageVersions_Version) ProtoMessage()
- func (x *ProjectPackageVersions_Version) ProtoReflect() protoreflect.Message
- func (x *ProjectPackageVersions_Version) Reset()
- func (x *ProjectPackageVersions_Version) String() string
- type ProjectRelationProvenance
- func (ProjectRelationProvenance) Descriptor() protoreflect.EnumDescriptor
- func (x ProjectRelationProvenance) Enum() *ProjectRelationProvenance
- func (ProjectRelationProvenance) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProjectRelationProvenance) Number() protoreflect.EnumNumber
- func (x ProjectRelationProvenance) String() string
- func (ProjectRelationProvenance) Type() protoreflect.EnumType
- type ProjectRelationType
- func (ProjectRelationType) Descriptor() protoreflect.EnumDescriptor
- func (x ProjectRelationType) Enum() *ProjectRelationType
- func (ProjectRelationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProjectRelationType) Number() protoreflect.EnumNumber
- func (x ProjectRelationType) String() string
- func (ProjectRelationType) Type() protoreflect.EnumType
- type Project_OSSFuzzDetails
- func (*Project_OSSFuzzDetails) Descriptor() ([]byte, []int)deprecated
- func (x *Project_OSSFuzzDetails) GetConfigUrl() string
- func (x *Project_OSSFuzzDetails) GetDate() *timestamppb.Timestamp
- func (x *Project_OSSFuzzDetails) GetLineCount() int32
- func (x *Project_OSSFuzzDetails) GetLineCoverCount() int32
- func (*Project_OSSFuzzDetails) ProtoMessage()
- func (x *Project_OSSFuzzDetails) ProtoReflect() protoreflect.Message
- func (x *Project_OSSFuzzDetails) Reset()
- func (x *Project_OSSFuzzDetails) String() string
- type Project_Scorecard
- func (*Project_Scorecard) Descriptor() ([]byte, []int)deprecated
- func (x *Project_Scorecard) GetChecks() []*Project_Scorecard_Check
- func (x *Project_Scorecard) GetDate() *timestamppb.Timestamp
- func (x *Project_Scorecard) GetMetadata() []string
- func (x *Project_Scorecard) GetOverallScore() float32
- func (x *Project_Scorecard) GetRepository() *Project_Scorecard_Repository
- func (x *Project_Scorecard) GetScorecard() *Project_Scorecard_ScorecardDetails
- func (*Project_Scorecard) ProtoMessage()
- func (x *Project_Scorecard) ProtoReflect() protoreflect.Message
- func (x *Project_Scorecard) Reset()
- func (x *Project_Scorecard) String() string
- type Project_Scorecard_Check
- func (*Project_Scorecard_Check) Descriptor() ([]byte, []int)deprecated
- func (x *Project_Scorecard_Check) GetDetails() []string
- func (x *Project_Scorecard_Check) GetDocumentation() *Project_Scorecard_Check_Documentation
- func (x *Project_Scorecard_Check) GetName() string
- func (x *Project_Scorecard_Check) GetReason() string
- func (x *Project_Scorecard_Check) GetScore() int32
- func (*Project_Scorecard_Check) ProtoMessage()
- func (x *Project_Scorecard_Check) ProtoReflect() protoreflect.Message
- func (x *Project_Scorecard_Check) Reset()
- func (x *Project_Scorecard_Check) String() string
- type Project_Scorecard_Check_Documentation
- func (*Project_Scorecard_Check_Documentation) Descriptor() ([]byte, []int)deprecated
- func (x *Project_Scorecard_Check_Documentation) GetShortDescription() string
- func (x *Project_Scorecard_Check_Documentation) GetUrl() string
- func (*Project_Scorecard_Check_Documentation) ProtoMessage()
- func (x *Project_Scorecard_Check_Documentation) ProtoReflect() protoreflect.Message
- func (x *Project_Scorecard_Check_Documentation) Reset()
- func (x *Project_Scorecard_Check_Documentation) String() string
- type Project_Scorecard_Repository
- func (*Project_Scorecard_Repository) Descriptor() ([]byte, []int)deprecated
- func (x *Project_Scorecard_Repository) GetCommit() string
- func (x *Project_Scorecard_Repository) GetName() string
- func (*Project_Scorecard_Repository) ProtoMessage()
- func (x *Project_Scorecard_Repository) ProtoReflect() protoreflect.Message
- func (x *Project_Scorecard_Repository) Reset()
- func (x *Project_Scorecard_Repository) String() string
- type Project_Scorecard_ScorecardDetails
- func (*Project_Scorecard_ScorecardDetails) Descriptor() ([]byte, []int)deprecated
- func (x *Project_Scorecard_ScorecardDetails) GetCommit() string
- func (x *Project_Scorecard_ScorecardDetails) GetVersion() string
- func (*Project_Scorecard_ScorecardDetails) ProtoMessage()
- func (x *Project_Scorecard_ScorecardDetails) ProtoReflect() protoreflect.Message
- func (x *Project_Scorecard_ScorecardDetails) Reset()
- func (x *Project_Scorecard_ScorecardDetails) String() string
- type QueryRequest
- func (*QueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequest) GetHash() *Hash
- func (x *QueryRequest) GetVersionKey() *VersionKey
- func (*QueryRequest) ProtoMessage()
- func (x *QueryRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRequest) Reset()
- func (x *QueryRequest) String() string
- type QueryResult
- type QueryResult_Result
- func (*QueryResult_Result) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResult_Result) GetVersion() *Version
- func (*QueryResult_Result) ProtoMessage()
- func (x *QueryResult_Result) ProtoReflect() protoreflect.Message
- func (x *QueryResult_Result) Reset()
- func (x *QueryResult_Result) String() string
- type Requirements
- func (*Requirements) Descriptor() ([]byte, []int)deprecated
- func (x *Requirements) GetMaven() *Requirements_Maven
- func (x *Requirements) GetNpm() *Requirements_NPM
- func (x *Requirements) GetNuget() *Requirements_NuGet
- func (*Requirements) ProtoMessage()
- func (x *Requirements) ProtoReflect() protoreflect.Message
- func (x *Requirements) Reset()
- func (x *Requirements) String() string
- type Requirements_Maven
- func (*Requirements_Maven) Descriptor() ([]byte, []int)deprecated
- func (x *Requirements_Maven) GetDependencies() []*Requirements_Maven_Dependency
- func (x *Requirements_Maven) GetDependencyManagement() []*Requirements_Maven_Dependency
- func (x *Requirements_Maven) GetParent() *VersionKey
- func (x *Requirements_Maven) GetProfiles() []*Requirements_Maven_Profile
- func (x *Requirements_Maven) GetProperties() []*Requirements_Maven_Property
- func (x *Requirements_Maven) GetRepositories() []*Requirements_Maven_Repository
- func (*Requirements_Maven) ProtoMessage()
- func (x *Requirements_Maven) ProtoReflect() protoreflect.Message
- func (x *Requirements_Maven) Reset()
- func (x *Requirements_Maven) String() string
- type Requirements_Maven_Dependency
- func (*Requirements_Maven_Dependency) Descriptor() ([]byte, []int)deprecated
- func (x *Requirements_Maven_Dependency) GetClassifier() string
- func (x *Requirements_Maven_Dependency) GetExclusions() []string
- func (x *Requirements_Maven_Dependency) GetName() string
- func (x *Requirements_Maven_Dependency) GetOptional() string
- func (x *Requirements_Maven_Dependency) GetScope() string
- func (x *Requirements_Maven_Dependency) GetType() string
- func (x *Requirements_Maven_Dependency) GetVersion() string
- func (*Requirements_Maven_Dependency) ProtoMessage()
- func (x *Requirements_Maven_Dependency) ProtoReflect() protoreflect.Message
- func (x *Requirements_Maven_Dependency) Reset()
- func (x *Requirements_Maven_Dependency) String() string
- type Requirements_Maven_Profile
- func (*Requirements_Maven_Profile) Descriptor() ([]byte, []int)deprecated
- func (x *Requirements_Maven_Profile) GetActivation() *Requirements_Maven_Profile_Activation
- func (x *Requirements_Maven_Profile) GetDependencies() []*Requirements_Maven_Dependency
- func (x *Requirements_Maven_Profile) GetDependencyManagement() []*Requirements_Maven_Dependency
- func (x *Requirements_Maven_Profile) GetId() string
- func (x *Requirements_Maven_Profile) GetProperties() []*Requirements_Maven_Property
- func (x *Requirements_Maven_Profile) GetRepositories() []*Requirements_Maven_Repository
- func (*Requirements_Maven_Profile) ProtoMessage()
- func (x *Requirements_Maven_Profile) ProtoReflect() protoreflect.Message
- func (x *Requirements_Maven_Profile) Reset()
- func (x *Requirements_Maven_Profile) String() string
- type Requirements_Maven_Profile_Activation
- func (*Requirements_Maven_Profile_Activation) Descriptor() ([]byte, []int)deprecated
- func (x *Requirements_Maven_Profile_Activation) GetActiveByDefault() string
- func (x *Requirements_Maven_Profile_Activation) GetFile() *Requirements_Maven_Profile_Activation_File
- func (x *Requirements_Maven_Profile_Activation) GetJdk() *Requirements_Maven_Profile_Activation_JDK
- func (x *Requirements_Maven_Profile_Activation) GetOs() *Requirements_Maven_Profile_Activation_OS
- func (x *Requirements_Maven_Profile_Activation) GetProperty() *Requirements_Maven_Profile_Activation_Property
- func (*Requirements_Maven_Profile_Activation) ProtoMessage()
- func (x *Requirements_Maven_Profile_Activation) ProtoReflect() protoreflect.Message
- func (x *Requirements_Maven_Profile_Activation) Reset()
- func (x *Requirements_Maven_Profile_Activation) String() string
- type Requirements_Maven_Profile_Activation_File
- func (*Requirements_Maven_Profile_Activation_File) Descriptor() ([]byte, []int)deprecated
- func (x *Requirements_Maven_Profile_Activation_File) GetExists() string
- func (x *Requirements_Maven_Profile_Activation_File) GetMissing() string
- func (*Requirements_Maven_Profile_Activation_File) ProtoMessage()
- func (x *Requirements_Maven_Profile_Activation_File) ProtoReflect() protoreflect.Message
- func (x *Requirements_Maven_Profile_Activation_File) Reset()
- func (x *Requirements_Maven_Profile_Activation_File) String() string
- type Requirements_Maven_Profile_Activation_JDK
- func (*Requirements_Maven_Profile_Activation_JDK) Descriptor() ([]byte, []int)deprecated
- func (x *Requirements_Maven_Profile_Activation_JDK) GetJdk() string
- func (*Requirements_Maven_Profile_Activation_JDK) ProtoMessage()
- func (x *Requirements_Maven_Profile_Activation_JDK) ProtoReflect() protoreflect.Message
- func (x *Requirements_Maven_Profile_Activation_JDK) Reset()
- func (x *Requirements_Maven_Profile_Activation_JDK) String() string
- type Requirements_Maven_Profile_Activation_OS
- func (*Requirements_Maven_Profile_Activation_OS) Descriptor() ([]byte, []int)deprecated
- func (x *Requirements_Maven_Profile_Activation_OS) GetArch() string
- func (x *Requirements_Maven_Profile_Activation_OS) GetFamily() string
- func (x *Requirements_Maven_Profile_Activation_OS) GetName() string
- func (x *Requirements_Maven_Profile_Activation_OS) GetVersion() string
- func (*Requirements_Maven_Profile_Activation_OS) ProtoMessage()
- func (x *Requirements_Maven_Profile_Activation_OS) ProtoReflect() protoreflect.Message
- func (x *Requirements_Maven_Profile_Activation_OS) Reset()
- func (x *Requirements_Maven_Profile_Activation_OS) String() string
- type Requirements_Maven_Profile_Activation_Property
- func (*Requirements_Maven_Profile_Activation_Property) Descriptor() ([]byte, []int)deprecated
- func (x *Requirements_Maven_Profile_Activation_Property) GetProperty() *Requirements_Maven_Property
- func (*Requirements_Maven_Profile_Activation_Property) ProtoMessage()
- func (x *Requirements_Maven_Profile_Activation_Property) ProtoReflect() protoreflect.Message
- func (x *Requirements_Maven_Profile_Activation_Property) Reset()
- func (x *Requirements_Maven_Profile_Activation_Property) String() string
- type Requirements_Maven_Property
- func (*Requirements_Maven_Property) Descriptor() ([]byte, []int)deprecated
- func (x *Requirements_Maven_Property) GetName() string
- func (x *Requirements_Maven_Property) GetValue() string
- func (*Requirements_Maven_Property) ProtoMessage()
- func (x *Requirements_Maven_Property) ProtoReflect() protoreflect.Message
- func (x *Requirements_Maven_Property) Reset()
- func (x *Requirements_Maven_Property) String() string
- type Requirements_Maven_Repository
- func (*Requirements_Maven_Repository) Descriptor() ([]byte, []int)deprecated
- func (x *Requirements_Maven_Repository) GetId() string
- func (x *Requirements_Maven_Repository) GetLayout() string
- func (x *Requirements_Maven_Repository) GetReleasesEnabled() string
- func (x *Requirements_Maven_Repository) GetSnapshotsEnabled() string
- func (x *Requirements_Maven_Repository) GetUrl() string
- func (*Requirements_Maven_Repository) ProtoMessage()
- func (x *Requirements_Maven_Repository) ProtoReflect() protoreflect.Message
- func (x *Requirements_Maven_Repository) Reset()
- func (x *Requirements_Maven_Repository) String() string
- type Requirements_NPM
- func (*Requirements_NPM) Descriptor() ([]byte, []int)deprecated
- func (x *Requirements_NPM) GetBundled() []*Requirements_NPM_Bundle
- func (x *Requirements_NPM) GetDependencies() *Requirements_NPM_Dependencies
- func (*Requirements_NPM) ProtoMessage()
- func (x *Requirements_NPM) ProtoReflect() protoreflect.Message
- func (x *Requirements_NPM) Reset()
- func (x *Requirements_NPM) String() string
- type Requirements_NPM_Bundle
- func (*Requirements_NPM_Bundle) Descriptor() ([]byte, []int)deprecated
- func (x *Requirements_NPM_Bundle) GetDependencies() *Requirements_NPM_Dependencies
- func (x *Requirements_NPM_Bundle) GetName() string
- func (x *Requirements_NPM_Bundle) GetPath() string
- func (x *Requirements_NPM_Bundle) GetVersion() string
- func (*Requirements_NPM_Bundle) ProtoMessage()
- func (x *Requirements_NPM_Bundle) ProtoReflect() protoreflect.Message
- func (x *Requirements_NPM_Bundle) Reset()
- func (x *Requirements_NPM_Bundle) String() string
- type Requirements_NPM_Dependencies
- func (*Requirements_NPM_Dependencies) Descriptor() ([]byte, []int)deprecated
- func (x *Requirements_NPM_Dependencies) GetBundleDependencies() []string
- func (x *Requirements_NPM_Dependencies) GetDependencies() []*Requirements_NPM_Dependencies_Dependency
- func (x *Requirements_NPM_Dependencies) GetDevDependencies() []*Requirements_NPM_Dependencies_Dependency
- func (x *Requirements_NPM_Dependencies) GetOptionalDependencies() []*Requirements_NPM_Dependencies_Dependency
- func (x *Requirements_NPM_Dependencies) GetPeerDependencies() []*Requirements_NPM_Dependencies_Dependency
- func (*Requirements_NPM_Dependencies) ProtoMessage()
- func (x *Requirements_NPM_Dependencies) ProtoReflect() protoreflect.Message
- func (x *Requirements_NPM_Dependencies) Reset()
- func (x *Requirements_NPM_Dependencies) String() string
- type Requirements_NPM_Dependencies_Dependency
- func (*Requirements_NPM_Dependencies_Dependency) Descriptor() ([]byte, []int)deprecated
- func (x *Requirements_NPM_Dependencies_Dependency) GetName() string
- func (x *Requirements_NPM_Dependencies_Dependency) GetRequirement() string
- func (*Requirements_NPM_Dependencies_Dependency) ProtoMessage()
- func (x *Requirements_NPM_Dependencies_Dependency) ProtoReflect() protoreflect.Message
- func (x *Requirements_NPM_Dependencies_Dependency) Reset()
- func (x *Requirements_NPM_Dependencies_Dependency) String() string
- type Requirements_NuGet
- func (*Requirements_NuGet) Descriptor() ([]byte, []int)deprecated
- func (x *Requirements_NuGet) GetDependencyGroups() []*Requirements_NuGet_DependencyGroup
- func (*Requirements_NuGet) ProtoMessage()
- func (x *Requirements_NuGet) ProtoReflect() protoreflect.Message
- func (x *Requirements_NuGet) Reset()
- func (x *Requirements_NuGet) String() string
- type Requirements_NuGet_DependencyGroup
- func (*Requirements_NuGet_DependencyGroup) Descriptor() ([]byte, []int)deprecated
- func (x *Requirements_NuGet_DependencyGroup) GetDependencies() []*Requirements_NuGet_DependencyGroup_Dependency
- func (x *Requirements_NuGet_DependencyGroup) GetTargetFramework() string
- func (*Requirements_NuGet_DependencyGroup) ProtoMessage()
- func (x *Requirements_NuGet_DependencyGroup) ProtoReflect() protoreflect.Message
- func (x *Requirements_NuGet_DependencyGroup) Reset()
- func (x *Requirements_NuGet_DependencyGroup) String() string
- type Requirements_NuGet_DependencyGroup_Dependency
- func (*Requirements_NuGet_DependencyGroup_Dependency) Descriptor() ([]byte, []int)deprecated
- func (x *Requirements_NuGet_DependencyGroup_Dependency) GetName() string
- func (x *Requirements_NuGet_DependencyGroup_Dependency) GetRequirement() string
- func (*Requirements_NuGet_DependencyGroup_Dependency) ProtoMessage()
- func (x *Requirements_NuGet_DependencyGroup_Dependency) ProtoReflect() protoreflect.Message
- func (x *Requirements_NuGet_DependencyGroup_Dependency) Reset()
- func (x *Requirements_NuGet_DependencyGroup_Dependency) String() string
- type SLSAProvenance
- func (*SLSAProvenance) Descriptor() ([]byte, []int)deprecated
- func (x *SLSAProvenance) GetCommit() string
- func (x *SLSAProvenance) GetSourceRepository() string
- func (x *SLSAProvenance) GetUrl() string
- func (x *SLSAProvenance) GetVerified() bool
- func (*SLSAProvenance) ProtoMessage()
- func (x *SLSAProvenance) ProtoReflect() protoreflect.Message
- func (x *SLSAProvenance) Reset()
- func (x *SLSAProvenance) String() string
- type System
- type UnimplementedInsightsServer
- func (UnimplementedInsightsServer) GetAdvisory(context.Context, *GetAdvisoryRequest) (*Advisory, error)
- func (UnimplementedInsightsServer) GetDependencies(context.Context, *GetDependenciesRequest) (*Dependencies, error)
- func (UnimplementedInsightsServer) GetPackage(context.Context, *GetPackageRequest) (*Package, error)
- func (UnimplementedInsightsServer) GetProject(context.Context, *GetProjectRequest) (*Project, error)
- func (UnimplementedInsightsServer) GetProjectPackageVersions(context.Context, *GetProjectPackageVersionsRequest) (*ProjectPackageVersions, error)
- func (UnimplementedInsightsServer) GetRequirements(context.Context, *GetRequirementsRequest) (*Requirements, error)
- func (UnimplementedInsightsServer) GetVersion(context.Context, *GetVersionRequest) (*Version, error)
- func (UnimplementedInsightsServer) Query(context.Context, *QueryRequest) (*QueryResult, error)
- type UnsafeInsightsServer
- type Version
- func (*Version) Descriptor() ([]byte, []int)deprecated
- func (x *Version) GetAdvisoryKeys() []*AdvisoryKey
- func (x *Version) GetIsDefault() bool
- func (x *Version) GetLicenses() []string
- func (x *Version) GetLinks() []*Link
- func (x *Version) GetPublishedAt() *timestamppb.Timestamp
- func (x *Version) GetRegistries() []string
- func (x *Version) GetRelatedProjects() []*Version_Project
- func (x *Version) GetSlsaProvenances() []*SLSAProvenance
- func (x *Version) GetVersionKey() *VersionKey
- func (*Version) ProtoMessage()
- func (x *Version) ProtoReflect() protoreflect.Message
- func (x *Version) Reset()
- func (x *Version) String() string
- type VersionKey
- func (*VersionKey) Descriptor() ([]byte, []int)deprecated
- func (x *VersionKey) GetName() string
- func (x *VersionKey) GetSystem() System
- func (x *VersionKey) GetVersion() string
- func (*VersionKey) ProtoMessage()
- func (x *VersionKey) ProtoReflect() protoreflect.Message
- func (x *VersionKey) Reset()
- func (x *VersionKey) String() string
- type Version_Project
- func (*Version_Project) Descriptor() ([]byte, []int)deprecated
- func (x *Version_Project) GetProjectKey() *ProjectKey
- func (x *Version_Project) GetRelationProvenance() ProjectRelationProvenance
- func (x *Version_Project) GetRelationType() ProjectRelationType
- func (*Version_Project) ProtoMessage()
- func (x *Version_Project) ProtoReflect() protoreflect.Message
- func (x *Version_Project) Reset()
- func (x *Version_Project) String() string
Constants ¶
const ( Insights_GetPackage_FullMethodName = "/deps_dev.v3.Insights/GetPackage" Insights_GetVersion_FullMethodName = "/deps_dev.v3.Insights/GetVersion" Insights_GetRequirements_FullMethodName = "/deps_dev.v3.Insights/GetRequirements" Insights_GetDependencies_FullMethodName = "/deps_dev.v3.Insights/GetDependencies" Insights_GetProject_FullMethodName = "/deps_dev.v3.Insights/GetProject" Insights_GetProjectPackageVersions_FullMethodName = "/deps_dev.v3.Insights/GetProjectPackageVersions" Insights_GetAdvisory_FullMethodName = "/deps_dev.v3.Insights/GetAdvisory" Insights_Query_FullMethodName = "/deps_dev.v3.Insights/Query" )
Variables ¶
var ( System_name = map[int32]string{ 0: "SYSTEM_UNSPECIFIED", 1: "GO", 3: "NPM", 4: "CARGO", 6: "MAVEN", 7: "PYPI", 8: "NUGET", } System_value = map[string]int32{ "SYSTEM_UNSPECIFIED": 0, "GO": 1, "NPM": 3, "CARGO": 4, "MAVEN": 6, "PYPI": 7, "NUGET": 8, } )
Enum value maps for System.
var ( HashType_name = map[int32]string{ 0: "HASH_TYPE_UNSPECIFIED", 1: "MD5", 2: "SHA1", 3: "SHA256", 4: "SHA512", } HashType_value = map[string]int32{ "HASH_TYPE_UNSPECIFIED": 0, "MD5": 1, "SHA1": 2, "SHA256": 3, "SHA512": 4, } )
Enum value maps for HashType.
var ( DependencyRelation_name = map[int32]string{ 0: "DEPENDENCY_RELATION_UNSPECIFIED", 1: "SELF", 2: "DIRECT", 3: "INDIRECT", } DependencyRelation_value = map[string]int32{ "DEPENDENCY_RELATION_UNSPECIFIED": 0, "SELF": 1, "DIRECT": 2, "INDIRECT": 3, } )
Enum value maps for DependencyRelation.
var ( ProjectRelationType_name = map[int32]string{ 0: "UNKNOWN_PROJECT_RELATION_TYPE", 1: "SOURCE_REPO", 2: "ISSUE_TRACKER", } ProjectRelationType_value = map[string]int32{ "UNKNOWN_PROJECT_RELATION_TYPE": 0, "SOURCE_REPO": 1, "ISSUE_TRACKER": 2, } )
Enum value maps for ProjectRelationType.
var ( ProjectRelationProvenance_name = map[int32]string{ 0: "UNKNOWN_PROJECT_RELATION_PROVENANCE", 1: "SLSA_ATTESTATION", 2: "GO_ORIGIN", 10: "UNVERIFIED_METADATA", } ProjectRelationProvenance_value = map[string]int32{ "UNKNOWN_PROJECT_RELATION_PROVENANCE": 0, "SLSA_ATTESTATION": 1, "GO_ORIGIN": 2, "UNVERIFIED_METADATA": 10, } )
Enum value maps for ProjectRelationProvenance.
var File_api_proto protoreflect.FileDescriptor
var Insights_ServiceDesc = grpc.ServiceDesc{ ServiceName: "deps_dev.v3.Insights", HandlerType: (*InsightsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetPackage", Handler: _Insights_GetPackage_Handler, }, { MethodName: "GetVersion", Handler: _Insights_GetVersion_Handler, }, { MethodName: "GetRequirements", Handler: _Insights_GetRequirements_Handler, }, { MethodName: "GetDependencies", Handler: _Insights_GetDependencies_Handler, }, { MethodName: "GetProject", Handler: _Insights_GetProject_Handler, }, { MethodName: "GetProjectPackageVersions", Handler: _Insights_GetProjectPackageVersions_Handler, }, { MethodName: "GetAdvisory", Handler: _Insights_GetAdvisory_Handler, }, { MethodName: "Query", Handler: _Insights_Query_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api.proto", }
Insights_ServiceDesc is the grpc.ServiceDesc for Insights service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterInsightsServer ¶
func RegisterInsightsServer(s grpc.ServiceRegistrar, srv InsightsServer)
Types ¶
type Advisory ¶
type Advisory struct { // The identifier for the security advisory. Note that this may differ from // the identifier in the request, due to canonicalization. AdvisoryKey *AdvisoryKey `protobuf:"bytes,1,opt,name=advisory_key,json=advisoryKey,proto3" json:"advisory_key,omitempty"` // The URL of the security advisory. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // A brief human-readable description. Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` // Other identifiers used for the advisory, including CVEs. Aliases []string `protobuf:"bytes,4,rep,name=aliases,proto3" json:"aliases,omitempty"` // The severity of the advisory as a CVSS v3 score in the range [0,10]. // A higher score represents greater severity. Cvss3Score float32 `protobuf:"fixed32,5,opt,name=cvss3_score,json=cvss3Score,proto3" json:"cvss3_score,omitempty"` // The severity of the advisory as a CVSS v3 vector string. Cvss3Vector string `protobuf:"bytes,6,opt,name=cvss3_vector,json=cvss3Vector,proto3" json:"cvss3_vector,omitempty"` // contains filtered or unexported fields }
Advisory holds information about a security advisory hosted by OSV.
func (*Advisory) Descriptor
deprecated
func (*Advisory) GetAdvisoryKey ¶
func (x *Advisory) GetAdvisoryKey() *AdvisoryKey
func (*Advisory) GetAliases ¶
func (*Advisory) GetCvss3Score ¶
func (*Advisory) GetCvss3Vector ¶
func (*Advisory) ProtoMessage ¶
func (*Advisory) ProtoMessage()
func (*Advisory) ProtoReflect ¶
func (x *Advisory) ProtoReflect() protoreflect.Message
type AdvisoryKey ¶
type AdvisoryKey struct { // The OSV identifier for the security advisory. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
AdvisoryKey identifies a security advisory.
func (*AdvisoryKey) Descriptor
deprecated
func (*AdvisoryKey) Descriptor() ([]byte, []int)
Deprecated: Use AdvisoryKey.ProtoReflect.Descriptor instead.
func (*AdvisoryKey) GetId ¶
func (x *AdvisoryKey) GetId() string
func (*AdvisoryKey) ProtoMessage ¶
func (*AdvisoryKey) ProtoMessage()
func (*AdvisoryKey) ProtoReflect ¶
func (x *AdvisoryKey) ProtoReflect() protoreflect.Message
func (*AdvisoryKey) Reset ¶
func (x *AdvisoryKey) Reset()
func (*AdvisoryKey) String ¶
func (x *AdvisoryKey) String() string
type Dependencies ¶
type Dependencies struct { // The nodes of the dependency graph. The first node is the root of the graph. Nodes []*Dependencies_Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // The edges of the dependency graph. Edges []*Dependencies_Edge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"` // Any error associated with the dependency graph that is not specific to a // node. An error here may imply the graph as a whole is incorrect. // This error message has no defined format and is intended for human // consumption. Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
Dependencies holds a resolved dependency graph for a package version.
The dependency graph should be similar to one produced by installing the package version on a generic 64-bit Linux system, with no other dependencies present. The precise meaning of this varies from system to system.
func (*Dependencies) Descriptor
deprecated
func (*Dependencies) Descriptor() ([]byte, []int)
Deprecated: Use Dependencies.ProtoReflect.Descriptor instead.
func (*Dependencies) GetEdges ¶
func (x *Dependencies) GetEdges() []*Dependencies_Edge
func (*Dependencies) GetError ¶
func (x *Dependencies) GetError() string
func (*Dependencies) GetNodes ¶
func (x *Dependencies) GetNodes() []*Dependencies_Node
func (*Dependencies) ProtoMessage ¶
func (*Dependencies) ProtoMessage()
func (*Dependencies) ProtoReflect ¶
func (x *Dependencies) ProtoReflect() protoreflect.Message
func (*Dependencies) Reset ¶
func (x *Dependencies) Reset()
func (*Dependencies) String ¶
func (x *Dependencies) String() string
type Dependencies_Edge ¶
type Dependencies_Edge struct { // The node declaring the dependency, specified as an index into the list of // nodes. FromNode uint32 `protobuf:"varint,1,opt,name=from_node,json=fromNode,proto3" json:"from_node,omitempty"` // The node resolving the dependency, specified as an index into the list of // nodes. ToNode uint32 `protobuf:"varint,2,opt,name=to_node,json=toNode,proto3" json:"to_node,omitempty"` // The requirement resolved by this edge, as declared by the "from" node. // The meaning of this field is system-specific. As an example, in npm, the // requirement "^1.0.0" may be resolved by the version "1.2.3". Requirement string `protobuf:"bytes,3,opt,name=requirement,proto3" json:"requirement,omitempty"` // contains filtered or unexported fields }
Edge represents a directed edge in a resolved dependency graph: a dependency relation between two nodes.
func (*Dependencies_Edge) Descriptor
deprecated
func (*Dependencies_Edge) Descriptor() ([]byte, []int)
Deprecated: Use Dependencies_Edge.ProtoReflect.Descriptor instead.
func (*Dependencies_Edge) GetFromNode ¶
func (x *Dependencies_Edge) GetFromNode() uint32
func (*Dependencies_Edge) GetRequirement ¶
func (x *Dependencies_Edge) GetRequirement() string
func (*Dependencies_Edge) GetToNode ¶
func (x *Dependencies_Edge) GetToNode() uint32
func (*Dependencies_Edge) ProtoMessage ¶
func (*Dependencies_Edge) ProtoMessage()
func (*Dependencies_Edge) ProtoReflect ¶
func (x *Dependencies_Edge) ProtoReflect() protoreflect.Message
func (*Dependencies_Edge) Reset ¶
func (x *Dependencies_Edge) Reset()
func (*Dependencies_Edge) String ¶
func (x *Dependencies_Edge) String() string
type Dependencies_Node ¶
type Dependencies_Node struct { // The package version represented by this node. Note that the package and // version name may differ from the names in the request, if provided, due // to canonicalization. // // In some systems, a graph may contain multiple nodes for the same package // version. VersionKey *VersionKey `protobuf:"bytes,1,opt,name=version_key,json=versionKey,proto3" json:"version_key,omitempty"` // If true, this is a bundled dependency. // // For bundled dependencies, the package name in the version key encodes // how the dependency is bundled. As an example, a bundled dependency with // a name like "a>1.2.3>b>c" is part of the dependency graph of package "a" // at version "1.2.3", and has the local name "c". It may or may not be the // same as a package with the global name "c". Bundled bool `protobuf:"varint,2,opt,name=bundled,proto3" json:"bundled,omitempty"` // Whether this node represents a direct or indirect dependency within this // dependency graph. Note that it's possible for a dependency to be both // direct and indirect; if so, it is marked as direct. Relation DependencyRelation `protobuf:"varint,4,opt,name=relation,proto3,enum=deps_dev.v3.DependencyRelation" json:"relation,omitempty"` // Errors associated with this node of the graph, such as an unresolved // dependency requirement. An error on a node may imply the graph as a // whole is incorrect. These error messages have no defined format and are // intended for human consumption. Errors []string `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
Node represents a node in a resolved dependency graph.
func (*Dependencies_Node) Descriptor
deprecated
func (*Dependencies_Node) Descriptor() ([]byte, []int)
Deprecated: Use Dependencies_Node.ProtoReflect.Descriptor instead.
func (*Dependencies_Node) GetBundled ¶
func (x *Dependencies_Node) GetBundled() bool
func (*Dependencies_Node) GetErrors ¶
func (x *Dependencies_Node) GetErrors() []string
func (*Dependencies_Node) GetRelation ¶
func (x *Dependencies_Node) GetRelation() DependencyRelation
func (*Dependencies_Node) GetVersionKey ¶
func (x *Dependencies_Node) GetVersionKey() *VersionKey
func (*Dependencies_Node) ProtoMessage ¶
func (*Dependencies_Node) ProtoMessage()
func (*Dependencies_Node) ProtoReflect ¶
func (x *Dependencies_Node) ProtoReflect() protoreflect.Message
func (*Dependencies_Node) Reset ¶
func (x *Dependencies_Node) Reset()
func (*Dependencies_Node) String ¶
func (x *Dependencies_Node) String() string
type DependencyRelation ¶
type DependencyRelation int32
DependencyRelation describes the relation of a node within a dependency graph.
const ( DependencyRelation_DEPENDENCY_RELATION_UNSPECIFIED DependencyRelation = 0 DependencyRelation_SELF DependencyRelation = 1 DependencyRelation_DIRECT DependencyRelation = 2 DependencyRelation_INDIRECT DependencyRelation = 3 )
func (DependencyRelation) Descriptor ¶
func (DependencyRelation) Descriptor() protoreflect.EnumDescriptor
func (DependencyRelation) Enum ¶
func (x DependencyRelation) Enum() *DependencyRelation
func (DependencyRelation) EnumDescriptor
deprecated
func (DependencyRelation) EnumDescriptor() ([]byte, []int)
Deprecated: Use DependencyRelation.Descriptor instead.
func (DependencyRelation) Number ¶
func (x DependencyRelation) Number() protoreflect.EnumNumber
func (DependencyRelation) String ¶
func (x DependencyRelation) String() string
func (DependencyRelation) Type ¶
func (DependencyRelation) Type() protoreflect.EnumType
type GetAdvisoryRequest ¶
type GetAdvisoryRequest struct { AdvisoryKey *AdvisoryKey `protobuf:"bytes,1,opt,name=advisory_key,json=advisoryKey,proto3" json:"advisory_key,omitempty"` // contains filtered or unexported fields }
GetAdvisoryRequest identifies a security advisory for which to return information.
func (*GetAdvisoryRequest) Descriptor
deprecated
func (*GetAdvisoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAdvisoryRequest.ProtoReflect.Descriptor instead.
func (*GetAdvisoryRequest) GetAdvisoryKey ¶
func (x *GetAdvisoryRequest) GetAdvisoryKey() *AdvisoryKey
func (*GetAdvisoryRequest) ProtoMessage ¶
func (*GetAdvisoryRequest) ProtoMessage()
func (*GetAdvisoryRequest) ProtoReflect ¶
func (x *GetAdvisoryRequest) ProtoReflect() protoreflect.Message
func (*GetAdvisoryRequest) Reset ¶
func (x *GetAdvisoryRequest) Reset()
func (*GetAdvisoryRequest) String ¶
func (x *GetAdvisoryRequest) String() string
type GetDependenciesRequest ¶
type GetDependenciesRequest struct { VersionKey *VersionKey `protobuf:"bytes,1,opt,name=version_key,json=versionKey,proto3" json:"version_key,omitempty"` // contains filtered or unexported fields }
GetDependenciesRequest identifies a package version for which to return dependencies.
func (*GetDependenciesRequest) Descriptor
deprecated
func (*GetDependenciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDependenciesRequest.ProtoReflect.Descriptor instead.
func (*GetDependenciesRequest) GetVersionKey ¶
func (x *GetDependenciesRequest) GetVersionKey() *VersionKey
func (*GetDependenciesRequest) ProtoMessage ¶
func (*GetDependenciesRequest) ProtoMessage()
func (*GetDependenciesRequest) ProtoReflect ¶
func (x *GetDependenciesRequest) ProtoReflect() protoreflect.Message
func (*GetDependenciesRequest) Reset ¶
func (x *GetDependenciesRequest) Reset()
func (*GetDependenciesRequest) String ¶
func (x *GetDependenciesRequest) String() string
type GetPackageRequest ¶
type GetPackageRequest struct { PackageKey *PackageKey `protobuf:"bytes,1,opt,name=package_key,json=packageKey,proto3" json:"package_key,omitempty"` // contains filtered or unexported fields }
GetPackageRequest identifies a package for which to return information.
func (*GetPackageRequest) Descriptor
deprecated
func (*GetPackageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPackageRequest.ProtoReflect.Descriptor instead.
func (*GetPackageRequest) GetPackageKey ¶
func (x *GetPackageRequest) GetPackageKey() *PackageKey
func (*GetPackageRequest) ProtoMessage ¶
func (*GetPackageRequest) ProtoMessage()
func (*GetPackageRequest) ProtoReflect ¶
func (x *GetPackageRequest) ProtoReflect() protoreflect.Message
func (*GetPackageRequest) Reset ¶
func (x *GetPackageRequest) Reset()
func (*GetPackageRequest) String ¶
func (x *GetPackageRequest) String() string
type GetProjectPackageVersionsRequest ¶
type GetProjectPackageVersionsRequest struct { ProjectKey *ProjectKey `protobuf:"bytes,1,opt,name=project_key,json=projectKey,proto3" json:"project_key,omitempty"` // contains filtered or unexported fields }
func (*GetProjectPackageVersionsRequest) Descriptor
deprecated
func (*GetProjectPackageVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectPackageVersionsRequest.ProtoReflect.Descriptor instead.
func (*GetProjectPackageVersionsRequest) GetProjectKey ¶
func (x *GetProjectPackageVersionsRequest) GetProjectKey() *ProjectKey
func (*GetProjectPackageVersionsRequest) ProtoMessage ¶
func (*GetProjectPackageVersionsRequest) ProtoMessage()
func (*GetProjectPackageVersionsRequest) ProtoReflect ¶
func (x *GetProjectPackageVersionsRequest) ProtoReflect() protoreflect.Message
func (*GetProjectPackageVersionsRequest) Reset ¶
func (x *GetProjectPackageVersionsRequest) Reset()
func (*GetProjectPackageVersionsRequest) String ¶
func (x *GetProjectPackageVersionsRequest) String() string
type GetProjectRequest ¶
type GetProjectRequest struct { ProjectKey *ProjectKey `protobuf:"bytes,1,opt,name=project_key,json=projectKey,proto3" json:"project_key,omitempty"` // contains filtered or unexported fields }
GetProjectRequest identifies a project for which to return information.
func (*GetProjectRequest) Descriptor
deprecated
func (*GetProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectRequest.ProtoReflect.Descriptor instead.
func (*GetProjectRequest) GetProjectKey ¶
func (x *GetProjectRequest) GetProjectKey() *ProjectKey
func (*GetProjectRequest) ProtoMessage ¶
func (*GetProjectRequest) ProtoMessage()
func (*GetProjectRequest) ProtoReflect ¶
func (x *GetProjectRequest) ProtoReflect() protoreflect.Message
func (*GetProjectRequest) Reset ¶
func (x *GetProjectRequest) Reset()
func (*GetProjectRequest) String ¶
func (x *GetProjectRequest) String() string
type GetRequirementsRequest ¶
type GetRequirementsRequest struct { VersionKey *VersionKey `protobuf:"bytes,1,opt,name=version_key,json=versionKey,proto3" json:"version_key,omitempty"` // contains filtered or unexported fields }
GetRequirementsRequest identifies a version for which to return requirements.
func (*GetRequirementsRequest) Descriptor
deprecated
func (*GetRequirementsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequirementsRequest.ProtoReflect.Descriptor instead.
func (*GetRequirementsRequest) GetVersionKey ¶
func (x *GetRequirementsRequest) GetVersionKey() *VersionKey
func (*GetRequirementsRequest) ProtoMessage ¶
func (*GetRequirementsRequest) ProtoMessage()
func (*GetRequirementsRequest) ProtoReflect ¶
func (x *GetRequirementsRequest) ProtoReflect() protoreflect.Message
func (*GetRequirementsRequest) Reset ¶
func (x *GetRequirementsRequest) Reset()
func (*GetRequirementsRequest) String ¶
func (x *GetRequirementsRequest) String() string
type GetVersionRequest ¶
type GetVersionRequest struct { VersionKey *VersionKey `protobuf:"bytes,1,opt,name=version_key,json=versionKey,proto3" json:"version_key,omitempty"` // contains filtered or unexported fields }
GetVersionRequest identifies a package version for which to return information.
func (*GetVersionRequest) Descriptor
deprecated
func (*GetVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.
func (*GetVersionRequest) GetVersionKey ¶
func (x *GetVersionRequest) GetVersionKey() *VersionKey
func (*GetVersionRequest) ProtoMessage ¶
func (*GetVersionRequest) ProtoMessage()
func (*GetVersionRequest) ProtoReflect ¶
func (x *GetVersionRequest) ProtoReflect() protoreflect.Message
func (*GetVersionRequest) Reset ¶
func (x *GetVersionRequest) Reset()
func (*GetVersionRequest) String ¶
func (x *GetVersionRequest) String() string
type Hash ¶
type Hash struct { // The function used to produce this hash. Type HashType `protobuf:"varint,1,opt,name=type,proto3,enum=deps_dev.v3.HashType" json:"type,omitempty"` // A hash value. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Hash represents the output of a hash function. These messages are used to identify package version artifacts by content hash.
func (*Hash) Descriptor
deprecated
func (*Hash) ProtoMessage ¶
func (*Hash) ProtoMessage()
func (*Hash) ProtoReflect ¶
func (x *Hash) ProtoReflect() protoreflect.Message
type HashType ¶
type HashType int32
HashType identifies a function used to produce a hash.
func (HashType) Descriptor ¶
func (HashType) Descriptor() protoreflect.EnumDescriptor
func (HashType) EnumDescriptor
deprecated
func (HashType) Number ¶
func (x HashType) Number() protoreflect.EnumNumber
func (HashType) Type ¶
func (HashType) Type() protoreflect.EnumType
type InsightsClient ¶
type InsightsClient interface { // GetPackage returns information about a package, including a list of its // available versions, with the default version marked if known. GetPackage(ctx context.Context, in *GetPackageRequest, opts ...grpc.CallOption) (*Package, error) // GetVersion returns information about a specific package version, including // its licenses and any security advisories known to affect it. GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error) // GetRequirements returns the requirements for a given version in a // system-specific format. Requirements are currently available for // Maven, npm and NuGet. // // Requirements are the dependency constraints specified by the version. GetRequirements(ctx context.Context, in *GetRequirementsRequest, opts ...grpc.CallOption) (*Requirements, error) // GetDependencies returns a resolved dependency graph for the given package // version. Dependencies are currently available for Go, npm, Cargo, Maven // and PyPI. // // Dependencies are the resolution of the requirements (dependency // constraints) specified by a version. // // The dependency graph should be similar to one produced by installing the // package version on a generic 64-bit Linux system, with no other // dependencies present. The precise meaning of this varies from system to // system. GetDependencies(ctx context.Context, in *GetDependenciesRequest, opts ...grpc.CallOption) (*Dependencies, error) // GetProject returns information about projects hosted by GitHub, GitLab, or // BitBucket, when known to us. GetProject(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*Project, error) // GetProjectPackageVersions returns known mappings between the requested // project and package versions. // At most 1500 package versions are returned. Mappings which were derived from // a [SLSA provenance attestation](https://slsa.dev/spec/v1.0/provenance) // are served first. GetProjectPackageVersions(ctx context.Context, in *GetProjectPackageVersionsRequest, opts ...grpc.CallOption) (*ProjectPackageVersions, error) // GetAdvisory returns information about security advisories hosted by OSV. GetAdvisory(ctx context.Context, in *GetAdvisoryRequest, opts ...grpc.CallOption) (*Advisory, error) // Query returns information about multiple package versions, which can be // specified by name, content hash, or both. If a hash was specified in the // request, it returns the artifacts that matched the hash. // // Querying by content hash is currently supported for npm, Cargo, Maven, and // NuGet. It is typical for hash queries to return many results; hashes are // matched against multiple release artifacts (such as JAR files) that // comprise package versions, and any given artifact may appear in several // package versions. Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResult, error) }
InsightsClient is the client API for Insights service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewInsightsClient ¶
func NewInsightsClient(cc grpc.ClientConnInterface) InsightsClient
type InsightsServer ¶
type InsightsServer interface { // GetPackage returns information about a package, including a list of its // available versions, with the default version marked if known. GetPackage(context.Context, *GetPackageRequest) (*Package, error) // GetVersion returns information about a specific package version, including // its licenses and any security advisories known to affect it. GetVersion(context.Context, *GetVersionRequest) (*Version, error) // GetRequirements returns the requirements for a given version in a // system-specific format. Requirements are currently available for // Maven, npm and NuGet. // // Requirements are the dependency constraints specified by the version. GetRequirements(context.Context, *GetRequirementsRequest) (*Requirements, error) // GetDependencies returns a resolved dependency graph for the given package // version. Dependencies are currently available for Go, npm, Cargo, Maven // and PyPI. // // Dependencies are the resolution of the requirements (dependency // constraints) specified by a version. // // The dependency graph should be similar to one produced by installing the // package version on a generic 64-bit Linux system, with no other // dependencies present. The precise meaning of this varies from system to // system. GetDependencies(context.Context, *GetDependenciesRequest) (*Dependencies, error) // GetProject returns information about projects hosted by GitHub, GitLab, or // BitBucket, when known to us. GetProject(context.Context, *GetProjectRequest) (*Project, error) // GetProjectPackageVersions returns known mappings between the requested // project and package versions. // At most 1500 package versions are returned. Mappings which were derived from // a [SLSA provenance attestation](https://slsa.dev/spec/v1.0/provenance) // are served first. GetProjectPackageVersions(context.Context, *GetProjectPackageVersionsRequest) (*ProjectPackageVersions, error) // GetAdvisory returns information about security advisories hosted by OSV. GetAdvisory(context.Context, *GetAdvisoryRequest) (*Advisory, error) // Query returns information about multiple package versions, which can be // specified by name, content hash, or both. If a hash was specified in the // request, it returns the artifacts that matched the hash. // // Querying by content hash is currently supported for npm, Cargo, Maven, and // NuGet. It is typical for hash queries to return many results; hashes are // matched against multiple release artifacts (such as JAR files) that // comprise package versions, and any given artifact may appear in several // package versions. Query(context.Context, *QueryRequest) (*QueryResult, error) // contains filtered or unexported methods }
InsightsServer is the server API for Insights service. All implementations must embed UnimplementedInsightsServer for forward compatibility
type Link ¶
type Link struct { // A label describing the resource that the link points to. Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // The URL of the link. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
Link represents a link declared by or derived from package version metadata, to an external web resource such as a homepage or source code repository.
func (*Link) Descriptor
deprecated
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) ProtoReflect ¶
func (x *Link) ProtoReflect() protoreflect.Message
type Package ¶
type Package struct { // The name of the package. Note that it may differ from the name in the // request, due to canonicalization. PackageKey *PackageKey `protobuf:"bytes,1,opt,name=package_key,json=packageKey,proto3" json:"package_key,omitempty"` // The available versions of the package. Versions []*Package_Version `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"` // contains filtered or unexported fields }
Package holds information about a package, including a list of its available versions, with the default version marked if known.
func (*Package) Descriptor
deprecated
func (*Package) GetPackageKey ¶
func (x *Package) GetPackageKey() *PackageKey
func (*Package) GetVersions ¶
func (x *Package) GetVersions() []*Package_Version
func (*Package) ProtoMessage ¶
func (*Package) ProtoMessage()
func (*Package) ProtoReflect ¶
func (x *Package) ProtoReflect() protoreflect.Message
type PackageKey ¶
type PackageKey struct { // The package management system containing the package. System System `protobuf:"varint,1,opt,name=system,proto3,enum=deps_dev.v3.System" json:"system,omitempty"` // The name of the package. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
PackageKey identifies a package by name.
func (*PackageKey) Descriptor
deprecated
func (*PackageKey) Descriptor() ([]byte, []int)
Deprecated: Use PackageKey.ProtoReflect.Descriptor instead.
func (*PackageKey) GetName ¶
func (x *PackageKey) GetName() string
func (*PackageKey) GetSystem ¶
func (x *PackageKey) GetSystem() System
func (*PackageKey) ProtoMessage ¶
func (*PackageKey) ProtoMessage()
func (*PackageKey) ProtoReflect ¶
func (x *PackageKey) ProtoReflect() protoreflect.Message
func (*PackageKey) Reset ¶
func (x *PackageKey) Reset()
func (*PackageKey) String ¶
func (x *PackageKey) String() string
type Package_Version ¶
type Package_Version struct { // The name of the version. Note that the package name may differ from the // name in the request, due to canonicalization. VersionKey *VersionKey `protobuf:"bytes,1,opt,name=version_key,json=versionKey,proto3" json:"version_key,omitempty"` // The time when this package version was published, if available, as // reported by the package management authority. PublishedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=published_at,json=publishedAt,proto3" json:"published_at,omitempty"` // If true, this is the default version of the package: the version that is // installed when no version is specified. The precise meaning of this is // system-specific, but it is commonly the version with the greatest // version number, ignoring pre-release versions. IsDefault bool `protobuf:"varint,2,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` // contains filtered or unexported fields }
func (*Package_Version) Descriptor
deprecated
func (*Package_Version) Descriptor() ([]byte, []int)
Deprecated: Use Package_Version.ProtoReflect.Descriptor instead.
func (*Package_Version) GetIsDefault ¶
func (x *Package_Version) GetIsDefault() bool
func (*Package_Version) GetPublishedAt ¶
func (x *Package_Version) GetPublishedAt() *timestamppb.Timestamp
func (*Package_Version) GetVersionKey ¶
func (x *Package_Version) GetVersionKey() *VersionKey
func (*Package_Version) ProtoMessage ¶
func (*Package_Version) ProtoMessage()
func (*Package_Version) ProtoReflect ¶
func (x *Package_Version) ProtoReflect() protoreflect.Message
func (*Package_Version) Reset ¶
func (x *Package_Version) Reset()
func (*Package_Version) String ¶
func (x *Package_Version) String() string
type Project ¶
type Project struct { // The identifier for the project. Note that this may differ from the // identifier in the request, due to canonicalization. ProjectKey *ProjectKey `protobuf:"bytes,1,opt,name=project_key,json=projectKey,proto3" json:"project_key,omitempty"` // The number of open issues reported by the project host. // Only available for GitHub and GitLab. OpenIssuesCount int32 `protobuf:"varint,2,opt,name=open_issues_count,json=openIssuesCount,proto3" json:"open_issues_count,omitempty"` // The number of stars reported by the project host. // Only available for GitHub and GitLab. StarsCount int32 `protobuf:"varint,3,opt,name=stars_count,json=starsCount,proto3" json:"stars_count,omitempty"` // The number of forks reported by the project host. // Only available for GitHub and GitLab. ForksCount int32 `protobuf:"varint,4,opt,name=forks_count,json=forksCount,proto3" json:"forks_count,omitempty"` // The license reported by the project host. License string `protobuf:"bytes,5,opt,name=license,proto3" json:"license,omitempty"` // The description reported by the project host. Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // The homepage reported by the project host. Homepage string `protobuf:"bytes,7,opt,name=homepage,proto3" json:"homepage,omitempty"` // An [OpenSSF Scorecard](https://github.com/ossf/scorecard) for the project, // if one is available. Scorecard *Project_Scorecard `protobuf:"bytes,8,opt,name=scorecard,proto3" json:"scorecard,omitempty"` // Details of this project's testing by the // [OSS-Fuzz service](https://google.github.io/oss-fuzz/). // Only set if the project is tested by OSS-Fuzz. OssFuzz *Project_OSSFuzzDetails `protobuf:"bytes,9,opt,name=oss_fuzz,json=ossFuzz,proto3" json:"oss_fuzz,omitempty"` // contains filtered or unexported fields }
Project holds information about a project hosted by GitHub, GitLab, or Bitbucket.
func (*Project) Descriptor
deprecated
func (*Project) GetDescription ¶
func (*Project) GetForksCount ¶
func (*Project) GetHomepage ¶
func (*Project) GetLicense ¶
func (*Project) GetOpenIssuesCount ¶
func (*Project) GetOssFuzz ¶
func (x *Project) GetOssFuzz() *Project_OSSFuzzDetails
func (*Project) GetProjectKey ¶
func (x *Project) GetProjectKey() *ProjectKey
func (*Project) GetScorecard ¶
func (x *Project) GetScorecard() *Project_Scorecard
func (*Project) GetStarsCount ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
type ProjectKey ¶
type ProjectKey struct { // A project identifier of the form `github.com/user/repo`, // `gitlab.com/user/repo`, or `bitbucket.org/user/repo`. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
ProjectKey identifies a project.
func (*ProjectKey) Descriptor
deprecated
func (*ProjectKey) Descriptor() ([]byte, []int)
Deprecated: Use ProjectKey.ProtoReflect.Descriptor instead.
func (*ProjectKey) GetId ¶
func (x *ProjectKey) GetId() string
func (*ProjectKey) ProtoMessage ¶
func (*ProjectKey) ProtoMessage()
func (*ProjectKey) ProtoReflect ¶
func (x *ProjectKey) ProtoReflect() protoreflect.Message
func (*ProjectKey) Reset ¶
func (x *ProjectKey) Reset()
func (*ProjectKey) String ¶
func (x *ProjectKey) String() string
type ProjectPackageVersions ¶
type ProjectPackageVersions struct { // The versions that were built from the source code contained in this // project. Versions []*ProjectPackageVersions_Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` // contains filtered or unexported fields }
func (*ProjectPackageVersions) Descriptor
deprecated
func (*ProjectPackageVersions) Descriptor() ([]byte, []int)
Deprecated: Use ProjectPackageVersions.ProtoReflect.Descriptor instead.
func (*ProjectPackageVersions) GetVersions ¶
func (x *ProjectPackageVersions) GetVersions() []*ProjectPackageVersions_Version
func (*ProjectPackageVersions) ProtoMessage ¶
func (*ProjectPackageVersions) ProtoMessage()
func (*ProjectPackageVersions) ProtoReflect ¶
func (x *ProjectPackageVersions) ProtoReflect() protoreflect.Message
func (*ProjectPackageVersions) Reset ¶
func (x *ProjectPackageVersions) Reset()
func (*ProjectPackageVersions) String ¶
func (x *ProjectPackageVersions) String() string
type ProjectPackageVersions_Version ¶
type ProjectPackageVersions_Version struct { // The identifier for the version. VersionKey *VersionKey `protobuf:"bytes,1,opt,name=version_key,json=versionKey,proto3" json:"version_key,omitempty"` // The SLSA provenance statements that link the version to the project. SlsaProvenances []*SLSAProvenance `protobuf:"bytes,2,rep,name=slsa_provenances,json=slsaProvenances,proto3" json:"slsa_provenances,omitempty"` // What the relationship between the project and the package version is. RelationType ProjectRelationType `` /* 135-byte string literal not displayed */ // How the mapping between project and package version was discovered. RelationProvenance ProjectRelationProvenance `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ProjectPackageVersions_Version) Descriptor
deprecated
func (*ProjectPackageVersions_Version) Descriptor() ([]byte, []int)
Deprecated: Use ProjectPackageVersions_Version.ProtoReflect.Descriptor instead.
func (*ProjectPackageVersions_Version) GetRelationProvenance ¶
func (x *ProjectPackageVersions_Version) GetRelationProvenance() ProjectRelationProvenance
func (*ProjectPackageVersions_Version) GetRelationType ¶
func (x *ProjectPackageVersions_Version) GetRelationType() ProjectRelationType
func (*ProjectPackageVersions_Version) GetSlsaProvenances ¶
func (x *ProjectPackageVersions_Version) GetSlsaProvenances() []*SLSAProvenance
func (*ProjectPackageVersions_Version) GetVersionKey ¶
func (x *ProjectPackageVersions_Version) GetVersionKey() *VersionKey
func (*ProjectPackageVersions_Version) ProtoMessage ¶
func (*ProjectPackageVersions_Version) ProtoMessage()
func (*ProjectPackageVersions_Version) ProtoReflect ¶
func (x *ProjectPackageVersions_Version) ProtoReflect() protoreflect.Message
func (*ProjectPackageVersions_Version) Reset ¶
func (x *ProjectPackageVersions_Version) Reset()
func (*ProjectPackageVersions_Version) String ¶
func (x *ProjectPackageVersions_Version) String() string
type ProjectRelationProvenance ¶
type ProjectRelationProvenance int32
How the mapping between project and package version was discovered.
const ( ProjectRelationProvenance_UNKNOWN_PROJECT_RELATION_PROVENANCE ProjectRelationProvenance = 0 // There is a SLSA attestation that links this package version to this project. ProjectRelationProvenance_SLSA_ATTESTATION ProjectRelationProvenance = 1 // This project contains the package version (Go specific). ProjectRelationProvenance_GO_ORIGIN ProjectRelationProvenance = 2 // The package version's metadata contains an unverified link to this project. ProjectRelationProvenance_UNVERIFIED_METADATA ProjectRelationProvenance = 10 )
func (ProjectRelationProvenance) Descriptor ¶
func (ProjectRelationProvenance) Descriptor() protoreflect.EnumDescriptor
func (ProjectRelationProvenance) Enum ¶
func (x ProjectRelationProvenance) Enum() *ProjectRelationProvenance
func (ProjectRelationProvenance) EnumDescriptor
deprecated
func (ProjectRelationProvenance) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProjectRelationProvenance.Descriptor instead.
func (ProjectRelationProvenance) Number ¶
func (x ProjectRelationProvenance) Number() protoreflect.EnumNumber
func (ProjectRelationProvenance) String ¶
func (x ProjectRelationProvenance) String() string
func (ProjectRelationProvenance) Type ¶
func (ProjectRelationProvenance) Type() protoreflect.EnumType
type ProjectRelationType ¶
type ProjectRelationType int32
ProjectRelationType specifies a relationship between a project and a package version.
const ( ProjectRelationType_UNKNOWN_PROJECT_RELATION_TYPE ProjectRelationType = 0 // This project is this package version's source code repository. ProjectRelationType_SOURCE_REPO ProjectRelationType = 1 // This project is the package version's issue tracker. ProjectRelationType_ISSUE_TRACKER ProjectRelationType = 2 )
func (ProjectRelationType) Descriptor ¶
func (ProjectRelationType) Descriptor() protoreflect.EnumDescriptor
func (ProjectRelationType) Enum ¶
func (x ProjectRelationType) Enum() *ProjectRelationType
func (ProjectRelationType) EnumDescriptor
deprecated
func (ProjectRelationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProjectRelationType.Descriptor instead.
func (ProjectRelationType) Number ¶
func (x ProjectRelationType) Number() protoreflect.EnumNumber
func (ProjectRelationType) String ¶
func (x ProjectRelationType) String() string
func (ProjectRelationType) Type ¶
func (ProjectRelationType) Type() protoreflect.EnumType
type Project_OSSFuzzDetails ¶
type Project_OSSFuzzDetails struct { // The total number of lines of code in the project. LineCount int32 `protobuf:"varint,1,opt,name=line_count,json=lineCount,proto3" json:"line_count,omitempty"` // The number of lines of code covered by fuzzing. LineCoverCount int32 `protobuf:"varint,2,opt,name=line_cover_count,json=lineCoverCount,proto3" json:"line_cover_count,omitempty"` // The date the fuzz test that produced the coverage information was run // against this project. // The time portion of this field is midnight UTC. Date *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` // The URL containing the configuration for the project in the // OSS-Fuzz repository. ConfigUrl string `protobuf:"bytes,4,opt,name=config_url,json=configUrl,proto3" json:"config_url,omitempty"` // contains filtered or unexported fields }
func (*Project_OSSFuzzDetails) Descriptor
deprecated
func (*Project_OSSFuzzDetails) Descriptor() ([]byte, []int)
Deprecated: Use Project_OSSFuzzDetails.ProtoReflect.Descriptor instead.
func (*Project_OSSFuzzDetails) GetConfigUrl ¶
func (x *Project_OSSFuzzDetails) GetConfigUrl() string
func (*Project_OSSFuzzDetails) GetDate ¶
func (x *Project_OSSFuzzDetails) GetDate() *timestamppb.Timestamp
func (*Project_OSSFuzzDetails) GetLineCount ¶
func (x *Project_OSSFuzzDetails) GetLineCount() int32
func (*Project_OSSFuzzDetails) GetLineCoverCount ¶
func (x *Project_OSSFuzzDetails) GetLineCoverCount() int32
func (*Project_OSSFuzzDetails) ProtoMessage ¶
func (*Project_OSSFuzzDetails) ProtoMessage()
func (*Project_OSSFuzzDetails) ProtoReflect ¶
func (x *Project_OSSFuzzDetails) ProtoReflect() protoreflect.Message
func (*Project_OSSFuzzDetails) Reset ¶
func (x *Project_OSSFuzzDetails) Reset()
func (*Project_OSSFuzzDetails) String ¶
func (x *Project_OSSFuzzDetails) String() string
type Project_Scorecard ¶
type Project_Scorecard struct { // The date at which the scorecard was produced. // The time portion of this field is midnight UTC. Date *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` // The source code repository and commit the scorecard was produced from. Repository *Project_Scorecard_Repository `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // The version and commit of the Scorecard program used to produce the // scorecard. Scorecard *Project_Scorecard_ScorecardDetails `protobuf:"bytes,3,opt,name=scorecard,proto3" json:"scorecard,omitempty"` // The results of the // [Scorecard Checks](https://github.com/ossf/scorecard#scorecard-checks) // performed on the project. Checks []*Project_Scorecard_Check `protobuf:"bytes,4,rep,name=checks,proto3" json:"checks,omitempty"` // A weighted average score in the range [0,10]. A higher score is better. OverallScore float32 `protobuf:"fixed32,5,opt,name=overall_score,json=overallScore,proto3" json:"overall_score,omitempty"` // Additional metadata associated with the scorecard. Metadata []string `protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*Project_Scorecard) Descriptor
deprecated
func (*Project_Scorecard) Descriptor() ([]byte, []int)
Deprecated: Use Project_Scorecard.ProtoReflect.Descriptor instead.
func (*Project_Scorecard) GetChecks ¶
func (x *Project_Scorecard) GetChecks() []*Project_Scorecard_Check
func (*Project_Scorecard) GetDate ¶
func (x *Project_Scorecard) GetDate() *timestamppb.Timestamp
func (*Project_Scorecard) GetMetadata ¶
func (x *Project_Scorecard) GetMetadata() []string
func (*Project_Scorecard) GetOverallScore ¶
func (x *Project_Scorecard) GetOverallScore() float32
func (*Project_Scorecard) GetRepository ¶
func (x *Project_Scorecard) GetRepository() *Project_Scorecard_Repository
func (*Project_Scorecard) GetScorecard ¶
func (x *Project_Scorecard) GetScorecard() *Project_Scorecard_ScorecardDetails
func (*Project_Scorecard) ProtoMessage ¶
func (*Project_Scorecard) ProtoMessage()
func (*Project_Scorecard) ProtoReflect ¶
func (x *Project_Scorecard) ProtoReflect() protoreflect.Message
func (*Project_Scorecard) Reset ¶
func (x *Project_Scorecard) Reset()
func (*Project_Scorecard) String ¶
func (x *Project_Scorecard) String() string
type Project_Scorecard_Check ¶
type Project_Scorecard_Check struct { // The name of the check. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Human-readable documentation for the check. Documentation *Project_Scorecard_Check_Documentation `protobuf:"bytes,2,opt,name=documentation,proto3" json:"documentation,omitempty"` // A score in the range [0,10]. A higher score is better. // A negative score indicates that the check did not run successfully. Score int32 `protobuf:"varint,3,opt,name=score,proto3" json:"score,omitempty"` // The reason for the score. Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` // Further details regarding the check. Details []string `protobuf:"bytes,5,rep,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
func (*Project_Scorecard_Check) Descriptor
deprecated
func (*Project_Scorecard_Check) Descriptor() ([]byte, []int)
Deprecated: Use Project_Scorecard_Check.ProtoReflect.Descriptor instead.
func (*Project_Scorecard_Check) GetDetails ¶
func (x *Project_Scorecard_Check) GetDetails() []string
func (*Project_Scorecard_Check) GetDocumentation ¶
func (x *Project_Scorecard_Check) GetDocumentation() *Project_Scorecard_Check_Documentation
func (*Project_Scorecard_Check) GetName ¶
func (x *Project_Scorecard_Check) GetName() string
func (*Project_Scorecard_Check) GetReason ¶
func (x *Project_Scorecard_Check) GetReason() string
func (*Project_Scorecard_Check) GetScore ¶
func (x *Project_Scorecard_Check) GetScore() int32
func (*Project_Scorecard_Check) ProtoMessage ¶
func (*Project_Scorecard_Check) ProtoMessage()
func (*Project_Scorecard_Check) ProtoReflect ¶
func (x *Project_Scorecard_Check) ProtoReflect() protoreflect.Message
func (*Project_Scorecard_Check) Reset ¶
func (x *Project_Scorecard_Check) Reset()
func (*Project_Scorecard_Check) String ¶
func (x *Project_Scorecard_Check) String() string
type Project_Scorecard_Check_Documentation ¶
type Project_Scorecard_Check_Documentation struct { // A short description of the check. ShortDescription string `protobuf:"bytes,1,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` // A link to more details about the check. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*Project_Scorecard_Check_Documentation) Descriptor
deprecated
func (*Project_Scorecard_Check_Documentation) Descriptor() ([]byte, []int)
Deprecated: Use Project_Scorecard_Check_Documentation.ProtoReflect.Descriptor instead.
func (*Project_Scorecard_Check_Documentation) GetShortDescription ¶
func (x *Project_Scorecard_Check_Documentation) GetShortDescription() string
func (*Project_Scorecard_Check_Documentation) GetUrl ¶
func (x *Project_Scorecard_Check_Documentation) GetUrl() string
func (*Project_Scorecard_Check_Documentation) ProtoMessage ¶
func (*Project_Scorecard_Check_Documentation) ProtoMessage()
func (*Project_Scorecard_Check_Documentation) ProtoReflect ¶
func (x *Project_Scorecard_Check_Documentation) ProtoReflect() protoreflect.Message
func (*Project_Scorecard_Check_Documentation) Reset ¶
func (x *Project_Scorecard_Check_Documentation) Reset()
func (*Project_Scorecard_Check_Documentation) String ¶
func (x *Project_Scorecard_Check_Documentation) String() string
type Project_Scorecard_Repository ¶
type Project_Scorecard_Repository struct { // The source code repository the scorecard was produced from. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The source code commit the scorecard was produced from. Commit string `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` // contains filtered or unexported fields }
func (*Project_Scorecard_Repository) Descriptor
deprecated
func (*Project_Scorecard_Repository) Descriptor() ([]byte, []int)
Deprecated: Use Project_Scorecard_Repository.ProtoReflect.Descriptor instead.
func (*Project_Scorecard_Repository) GetCommit ¶
func (x *Project_Scorecard_Repository) GetCommit() string
func (*Project_Scorecard_Repository) GetName ¶
func (x *Project_Scorecard_Repository) GetName() string
func (*Project_Scorecard_Repository) ProtoMessage ¶
func (*Project_Scorecard_Repository) ProtoMessage()
func (*Project_Scorecard_Repository) ProtoReflect ¶
func (x *Project_Scorecard_Repository) ProtoReflect() protoreflect.Message
func (*Project_Scorecard_Repository) Reset ¶
func (x *Project_Scorecard_Repository) Reset()
func (*Project_Scorecard_Repository) String ¶
func (x *Project_Scorecard_Repository) String() string
type Project_Scorecard_ScorecardDetails ¶
type Project_Scorecard_ScorecardDetails struct { // The version of the Scorecard program used to produce the scorecard. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // The commit of the Scorecard program used to produce the scorecard. Commit string `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` // contains filtered or unexported fields }
func (*Project_Scorecard_ScorecardDetails) Descriptor
deprecated
func (*Project_Scorecard_ScorecardDetails) Descriptor() ([]byte, []int)
Deprecated: Use Project_Scorecard_ScorecardDetails.ProtoReflect.Descriptor instead.
func (*Project_Scorecard_ScorecardDetails) GetCommit ¶
func (x *Project_Scorecard_ScorecardDetails) GetCommit() string
func (*Project_Scorecard_ScorecardDetails) GetVersion ¶
func (x *Project_Scorecard_ScorecardDetails) GetVersion() string
func (*Project_Scorecard_ScorecardDetails) ProtoMessage ¶
func (*Project_Scorecard_ScorecardDetails) ProtoMessage()
func (*Project_Scorecard_ScorecardDetails) ProtoReflect ¶
func (x *Project_Scorecard_ScorecardDetails) ProtoReflect() protoreflect.Message
func (*Project_Scorecard_ScorecardDetails) Reset ¶
func (x *Project_Scorecard_ScorecardDetails) Reset()
func (*Project_Scorecard_ScorecardDetails) String ¶
func (x *Project_Scorecard_ScorecardDetails) String() string
type QueryRequest ¶
type QueryRequest struct { // A content hash for an artifact associated with a package version, such as a // JAR file. Currently supported for npm, Cargo, Maven, and NuGet. Note that // hashes and package versions have a many-to-many relationship. Hash *Hash `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // The name of the package version. VersionKey *VersionKey `protobuf:"bytes,2,opt,name=version_key,json=versionKey,proto3" json:"version_key,omitempty"` // contains filtered or unexported fields }
QueryRequest identifies package versions for which to return information. At least one of its fields must be set, and both fields may be set to narrow the results.
func (*QueryRequest) Descriptor
deprecated
func (*QueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.
func (*QueryRequest) GetHash ¶
func (x *QueryRequest) GetHash() *Hash
func (*QueryRequest) GetVersionKey ¶
func (x *QueryRequest) GetVersionKey() *VersionKey
func (*QueryRequest) ProtoMessage ¶
func (*QueryRequest) ProtoMessage()
func (*QueryRequest) ProtoReflect ¶
func (x *QueryRequest) ProtoReflect() protoreflect.Message
func (*QueryRequest) Reset ¶
func (x *QueryRequest) Reset()
func (*QueryRequest) String ¶
func (x *QueryRequest) String() string
type QueryResult ¶
type QueryResult struct { // Results matching the query. At most 1000 results are returned. Results []*QueryResult_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
QueryResult holds information about package versions matching the query.
func (*QueryResult) Descriptor
deprecated
func (*QueryResult) Descriptor() ([]byte, []int)
Deprecated: Use QueryResult.ProtoReflect.Descriptor instead.
func (*QueryResult) GetResults ¶
func (x *QueryResult) GetResults() []*QueryResult_Result
func (*QueryResult) ProtoMessage ¶
func (*QueryResult) ProtoMessage()
func (*QueryResult) ProtoReflect ¶
func (x *QueryResult) ProtoReflect() protoreflect.Message
func (*QueryResult) Reset ¶
func (x *QueryResult) Reset()
func (*QueryResult) String ¶
func (x *QueryResult) String() string
type QueryResult_Result ¶
type QueryResult_Result struct { Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*QueryResult_Result) Descriptor
deprecated
func (*QueryResult_Result) Descriptor() ([]byte, []int)
Deprecated: Use QueryResult_Result.ProtoReflect.Descriptor instead.
func (*QueryResult_Result) GetVersion ¶
func (x *QueryResult_Result) GetVersion() *Version
func (*QueryResult_Result) ProtoMessage ¶
func (*QueryResult_Result) ProtoMessage()
func (*QueryResult_Result) ProtoReflect ¶
func (x *QueryResult_Result) ProtoReflect() protoreflect.Message
func (*QueryResult_Result) Reset ¶
func (x *QueryResult_Result) Reset()
func (*QueryResult_Result) String ¶
func (x *QueryResult_Result) String() string
type Requirements ¶
type Requirements struct { // The NuGet-specific representation of the version's requirements. // // Note that the term "dependency" is used here to mean "a single unresolved // requirement" to be consistent with how the term is used in the NuGet // ecosystem. This is different to how it is used elsewhere in the deps.dev // API. Nuget *Requirements_NuGet `protobuf:"bytes,1,opt,name=nuget,proto3" json:"nuget,omitempty"` // The npm-specific representation of the version's requirements. // // Note that the term "dependency" is used here to mean "a single unresolved // requirement" to be consistent with how the term is used in the npm // ecosystem. This is different to how it is used elsewhere in the deps.dev // API. Npm *Requirements_NPM `protobuf:"bytes,2,opt,name=npm,proto3" json:"npm,omitempty"` // The Maven-specific representation of the version's requirements. // // Note that the term "dependency" is used here to mean "a single unresolved // requirement" to be consistent with how the term is used in the Maven // ecosystem. This is different to how it is used elsewhere in the deps.dev // API. // // This data is as it is declared in a version POM file. The data in parent // POMs are not merged. // Any string field may contain references to properties, and the properties // are not interpolated. Maven *Requirements_Maven `protobuf:"bytes,3,opt,name=maven,proto3" json:"maven,omitempty"` // contains filtered or unexported fields }
Requirements contains a system-specific representation of the requirements specified by a package version. Only one of its fields will be set.
func (*Requirements) Descriptor
deprecated
func (*Requirements) Descriptor() ([]byte, []int)
Deprecated: Use Requirements.ProtoReflect.Descriptor instead.
func (*Requirements) GetMaven ¶
func (x *Requirements) GetMaven() *Requirements_Maven
func (*Requirements) GetNpm ¶
func (x *Requirements) GetNpm() *Requirements_NPM
func (*Requirements) GetNuget ¶
func (x *Requirements) GetNuget() *Requirements_NuGet
func (*Requirements) ProtoMessage ¶
func (*Requirements) ProtoMessage()
func (*Requirements) ProtoReflect ¶
func (x *Requirements) ProtoReflect() protoreflect.Message
func (*Requirements) Reset ¶
func (x *Requirements) Reset()
func (*Requirements) String ¶
func (x *Requirements) String() string
type Requirements_Maven ¶
type Requirements_Maven struct { // The direct parent of a package version. Parent *VersionKey `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The list of dependencies. Dependencies []*Requirements_Maven_Dependency `protobuf:"bytes,2,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // The list of dependency management. // The format is the same as dependencies. DependencyManagement []*Requirements_Maven_Dependency `protobuf:"bytes,3,rep,name=dependency_management,json=dependencyManagement,proto3" json:"dependency_management,omitempty"` // The list of properties, used to resolve placeholders. Properties []*Requirements_Maven_Property `protobuf:"bytes,4,rep,name=properties,proto3" json:"properties,omitempty"` // The list of repositories. Repositories []*Requirements_Maven_Repository `protobuf:"bytes,5,rep,name=repositories,proto3" json:"repositories,omitempty"` // The list of profiles. Profiles []*Requirements_Maven_Profile `protobuf:"bytes,6,rep,name=profiles,proto3" json:"profiles,omitempty"` // contains filtered or unexported fields }
func (*Requirements_Maven) Descriptor
deprecated
func (*Requirements_Maven) Descriptor() ([]byte, []int)
Deprecated: Use Requirements_Maven.ProtoReflect.Descriptor instead.
func (*Requirements_Maven) GetDependencies ¶
func (x *Requirements_Maven) GetDependencies() []*Requirements_Maven_Dependency
func (*Requirements_Maven) GetDependencyManagement ¶
func (x *Requirements_Maven) GetDependencyManagement() []*Requirements_Maven_Dependency
func (*Requirements_Maven) GetParent ¶
func (x *Requirements_Maven) GetParent() *VersionKey
func (*Requirements_Maven) GetProfiles ¶
func (x *Requirements_Maven) GetProfiles() []*Requirements_Maven_Profile
func (*Requirements_Maven) GetProperties ¶
func (x *Requirements_Maven) GetProperties() []*Requirements_Maven_Property
func (*Requirements_Maven) GetRepositories ¶
func (x *Requirements_Maven) GetRepositories() []*Requirements_Maven_Repository
func (*Requirements_Maven) ProtoMessage ¶
func (*Requirements_Maven) ProtoMessage()
func (*Requirements_Maven) ProtoReflect ¶
func (x *Requirements_Maven) ProtoReflect() protoreflect.Message
func (*Requirements_Maven) Reset ¶
func (x *Requirements_Maven) Reset()
func (*Requirements_Maven) String ¶
func (x *Requirements_Maven) String() string
type Requirements_Maven_Dependency ¶
type Requirements_Maven_Dependency struct { // The name of the package. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The version requirement of the dependency. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // The classifier of the dependency, which distinguishes artifacts that // differ in content. Classifier string `protobuf:"bytes,3,opt,name=classifier,proto3" json:"classifier,omitempty"` // The type of the dependency, defaults to jar. Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` // The scope of the dependency, specifies how to limit the transitivity // of a dependency. Scope string `protobuf:"bytes,5,opt,name=scope,proto3" json:"scope,omitempty"` // Whether the dependency is optional or not. Optional string `protobuf:"bytes,6,opt,name=optional,proto3" json:"optional,omitempty"` // The dependencies to be excluded, in the form of a list of package // names. // Exclusions may contain wildcards in both groupID and artifactID. Exclusions []string `protobuf:"bytes,7,rep,name=exclusions,proto3" json:"exclusions,omitempty"` // contains filtered or unexported fields }
func (*Requirements_Maven_Dependency) Descriptor
deprecated
func (*Requirements_Maven_Dependency) Descriptor() ([]byte, []int)
Deprecated: Use Requirements_Maven_Dependency.ProtoReflect.Descriptor instead.
func (*Requirements_Maven_Dependency) GetClassifier ¶
func (x *Requirements_Maven_Dependency) GetClassifier() string
func (*Requirements_Maven_Dependency) GetExclusions ¶
func (x *Requirements_Maven_Dependency) GetExclusions() []string
func (*Requirements_Maven_Dependency) GetName ¶
func (x *Requirements_Maven_Dependency) GetName() string
func (*Requirements_Maven_Dependency) GetOptional ¶
func (x *Requirements_Maven_Dependency) GetOptional() string
func (*Requirements_Maven_Dependency) GetScope ¶
func (x *Requirements_Maven_Dependency) GetScope() string
func (*Requirements_Maven_Dependency) GetType ¶
func (x *Requirements_Maven_Dependency) GetType() string
func (*Requirements_Maven_Dependency) GetVersion ¶
func (x *Requirements_Maven_Dependency) GetVersion() string
func (*Requirements_Maven_Dependency) ProtoMessage ¶
func (*Requirements_Maven_Dependency) ProtoMessage()
func (*Requirements_Maven_Dependency) ProtoReflect ¶
func (x *Requirements_Maven_Dependency) ProtoReflect() protoreflect.Message
func (*Requirements_Maven_Dependency) Reset ¶
func (x *Requirements_Maven_Dependency) Reset()
func (*Requirements_Maven_Dependency) String ¶
func (x *Requirements_Maven_Dependency) String() string
type Requirements_Maven_Profile ¶
type Requirements_Maven_Profile struct { // The ID of the profile. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The activation requirement of the profile. Activation *Requirements_Maven_Profile_Activation `protobuf:"bytes,2,opt,name=activation,proto3" json:"activation,omitempty"` // The dependencies specified in the profile. Dependencies []*Requirements_Maven_Dependency `protobuf:"bytes,3,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // The dependency management specified in the profile. DependencyManagement []*Requirements_Maven_Dependency `protobuf:"bytes,4,rep,name=dependency_management,json=dependencyManagement,proto3" json:"dependency_management,omitempty"` // The properties specified in the profile. Properties []*Requirements_Maven_Property `protobuf:"bytes,5,rep,name=properties,proto3" json:"properties,omitempty"` // The repositories specified in the profile. Repositories []*Requirements_Maven_Repository `protobuf:"bytes,6,rep,name=repositories,proto3" json:"repositories,omitempty"` // contains filtered or unexported fields }
func (*Requirements_Maven_Profile) Descriptor
deprecated
func (*Requirements_Maven_Profile) Descriptor() ([]byte, []int)
Deprecated: Use Requirements_Maven_Profile.ProtoReflect.Descriptor instead.
func (*Requirements_Maven_Profile) GetActivation ¶
func (x *Requirements_Maven_Profile) GetActivation() *Requirements_Maven_Profile_Activation
func (*Requirements_Maven_Profile) GetDependencies ¶
func (x *Requirements_Maven_Profile) GetDependencies() []*Requirements_Maven_Dependency
func (*Requirements_Maven_Profile) GetDependencyManagement ¶
func (x *Requirements_Maven_Profile) GetDependencyManagement() []*Requirements_Maven_Dependency
func (*Requirements_Maven_Profile) GetId ¶
func (x *Requirements_Maven_Profile) GetId() string
func (*Requirements_Maven_Profile) GetProperties ¶
func (x *Requirements_Maven_Profile) GetProperties() []*Requirements_Maven_Property
func (*Requirements_Maven_Profile) GetRepositories ¶
func (x *Requirements_Maven_Profile) GetRepositories() []*Requirements_Maven_Repository
func (*Requirements_Maven_Profile) ProtoMessage ¶
func (*Requirements_Maven_Profile) ProtoMessage()
func (*Requirements_Maven_Profile) ProtoReflect ¶
func (x *Requirements_Maven_Profile) ProtoReflect() protoreflect.Message
func (*Requirements_Maven_Profile) Reset ¶
func (x *Requirements_Maven_Profile) Reset()
func (*Requirements_Maven_Profile) String ¶
func (x *Requirements_Maven_Profile) String() string
type Requirements_Maven_Profile_Activation ¶
type Requirements_Maven_Profile_Activation struct { // Whether the profile is active by default. ActiveByDefault string `protobuf:"bytes,1,opt,name=active_by_default,json=activeByDefault,proto3" json:"active_by_default,omitempty"` // The JDK requirement of the activation. Jdk *Requirements_Maven_Profile_Activation_JDK `protobuf:"bytes,2,opt,name=jdk,proto3" json:"jdk,omitempty"` // The operating system requirement of the activation. Os *Requirements_Maven_Profile_Activation_OS `protobuf:"bytes,3,opt,name=os,proto3" json:"os,omitempty"` // The property requirement of the activation. Property *Requirements_Maven_Profile_Activation_Property `protobuf:"bytes,4,opt,name=property,proto3" json:"property,omitempty"` // The file requirement of the activation. File *Requirements_Maven_Profile_Activation_File `protobuf:"bytes,5,opt,name=file,proto3" json:"file,omitempty"` // contains filtered or unexported fields }
func (*Requirements_Maven_Profile_Activation) Descriptor
deprecated
func (*Requirements_Maven_Profile_Activation) Descriptor() ([]byte, []int)
Deprecated: Use Requirements_Maven_Profile_Activation.ProtoReflect.Descriptor instead.
func (*Requirements_Maven_Profile_Activation) GetActiveByDefault ¶
func (x *Requirements_Maven_Profile_Activation) GetActiveByDefault() string
func (*Requirements_Maven_Profile_Activation) GetFile ¶
func (x *Requirements_Maven_Profile_Activation) GetFile() *Requirements_Maven_Profile_Activation_File
func (*Requirements_Maven_Profile_Activation) GetJdk ¶
func (x *Requirements_Maven_Profile_Activation) GetJdk() *Requirements_Maven_Profile_Activation_JDK
func (*Requirements_Maven_Profile_Activation) GetOs ¶
func (x *Requirements_Maven_Profile_Activation) GetOs() *Requirements_Maven_Profile_Activation_OS
func (*Requirements_Maven_Profile_Activation) GetProperty ¶
func (x *Requirements_Maven_Profile_Activation) GetProperty() *Requirements_Maven_Profile_Activation_Property
func (*Requirements_Maven_Profile_Activation) ProtoMessage ¶
func (*Requirements_Maven_Profile_Activation) ProtoMessage()
func (*Requirements_Maven_Profile_Activation) ProtoReflect ¶
func (x *Requirements_Maven_Profile_Activation) ProtoReflect() protoreflect.Message
func (*Requirements_Maven_Profile_Activation) Reset ¶
func (x *Requirements_Maven_Profile_Activation) Reset()
func (*Requirements_Maven_Profile_Activation) String ¶
func (x *Requirements_Maven_Profile_Activation) String() string
type Requirements_Maven_Profile_Activation_File ¶
type Requirements_Maven_Profile_Activation_File struct { // The name of the file that its existence activates the profile. Exists string `protobuf:"bytes,1,opt,name=exists,proto3" json:"exists,omitempty"` // The name of the file, activate the profile if the file is missing. Missing string `protobuf:"bytes,2,opt,name=missing,proto3" json:"missing,omitempty"` // contains filtered or unexported fields }
func (*Requirements_Maven_Profile_Activation_File) Descriptor
deprecated
func (*Requirements_Maven_Profile_Activation_File) Descriptor() ([]byte, []int)
Deprecated: Use Requirements_Maven_Profile_Activation_File.ProtoReflect.Descriptor instead.
func (*Requirements_Maven_Profile_Activation_File) GetExists ¶
func (x *Requirements_Maven_Profile_Activation_File) GetExists() string
func (*Requirements_Maven_Profile_Activation_File) GetMissing ¶
func (x *Requirements_Maven_Profile_Activation_File) GetMissing() string
func (*Requirements_Maven_Profile_Activation_File) ProtoMessage ¶
func (*Requirements_Maven_Profile_Activation_File) ProtoMessage()
func (*Requirements_Maven_Profile_Activation_File) ProtoReflect ¶
func (x *Requirements_Maven_Profile_Activation_File) ProtoReflect() protoreflect.Message
func (*Requirements_Maven_Profile_Activation_File) Reset ¶
func (x *Requirements_Maven_Profile_Activation_File) Reset()
func (*Requirements_Maven_Profile_Activation_File) String ¶
func (x *Requirements_Maven_Profile_Activation_File) String() string
type Requirements_Maven_Profile_Activation_JDK ¶
type Requirements_Maven_Profile_Activation_JDK struct { // The JDK requirement to activate the profile. Jdk string `protobuf:"bytes,1,opt,name=jdk,proto3" json:"jdk,omitempty"` // contains filtered or unexported fields }
func (*Requirements_Maven_Profile_Activation_JDK) Descriptor
deprecated
func (*Requirements_Maven_Profile_Activation_JDK) Descriptor() ([]byte, []int)
Deprecated: Use Requirements_Maven_Profile_Activation_JDK.ProtoReflect.Descriptor instead.
func (*Requirements_Maven_Profile_Activation_JDK) GetJdk ¶
func (x *Requirements_Maven_Profile_Activation_JDK) GetJdk() string
func (*Requirements_Maven_Profile_Activation_JDK) ProtoMessage ¶
func (*Requirements_Maven_Profile_Activation_JDK) ProtoMessage()
func (*Requirements_Maven_Profile_Activation_JDK) ProtoReflect ¶
func (x *Requirements_Maven_Profile_Activation_JDK) ProtoReflect() protoreflect.Message
func (*Requirements_Maven_Profile_Activation_JDK) Reset ¶
func (x *Requirements_Maven_Profile_Activation_JDK) Reset()
func (*Requirements_Maven_Profile_Activation_JDK) String ¶
func (x *Requirements_Maven_Profile_Activation_JDK) String() string
type Requirements_Maven_Profile_Activation_OS ¶
type Requirements_Maven_Profile_Activation_OS struct { // The name of the operating system. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The family of the operating system. Family string `protobuf:"bytes,2,opt,name=family,proto3" json:"family,omitempty"` // The CPU architecture of the operating system, Arch string `protobuf:"bytes,3,opt,name=arch,proto3" json:"arch,omitempty"` // The version of the operating system. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*Requirements_Maven_Profile_Activation_OS) Descriptor
deprecated
func (*Requirements_Maven_Profile_Activation_OS) Descriptor() ([]byte, []int)
Deprecated: Use Requirements_Maven_Profile_Activation_OS.ProtoReflect.Descriptor instead.
func (*Requirements_Maven_Profile_Activation_OS) GetArch ¶
func (x *Requirements_Maven_Profile_Activation_OS) GetArch() string
func (*Requirements_Maven_Profile_Activation_OS) GetFamily ¶
func (x *Requirements_Maven_Profile_Activation_OS) GetFamily() string
func (*Requirements_Maven_Profile_Activation_OS) GetName ¶
func (x *Requirements_Maven_Profile_Activation_OS) GetName() string
func (*Requirements_Maven_Profile_Activation_OS) GetVersion ¶
func (x *Requirements_Maven_Profile_Activation_OS) GetVersion() string
func (*Requirements_Maven_Profile_Activation_OS) ProtoMessage ¶
func (*Requirements_Maven_Profile_Activation_OS) ProtoMessage()
func (*Requirements_Maven_Profile_Activation_OS) ProtoReflect ¶
func (x *Requirements_Maven_Profile_Activation_OS) ProtoReflect() protoreflect.Message
func (*Requirements_Maven_Profile_Activation_OS) Reset ¶
func (x *Requirements_Maven_Profile_Activation_OS) Reset()
func (*Requirements_Maven_Profile_Activation_OS) String ¶
func (x *Requirements_Maven_Profile_Activation_OS) String() string
type Requirements_Maven_Profile_Activation_Property ¶
type Requirements_Maven_Profile_Activation_Property struct { // The property requirement to activate the profile. // This can be a system property or CLI user property. Property *Requirements_Maven_Property `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` // contains filtered or unexported fields }
func (*Requirements_Maven_Profile_Activation_Property) Descriptor
deprecated
func (*Requirements_Maven_Profile_Activation_Property) Descriptor() ([]byte, []int)
Deprecated: Use Requirements_Maven_Profile_Activation_Property.ProtoReflect.Descriptor instead.
func (*Requirements_Maven_Profile_Activation_Property) GetProperty ¶
func (x *Requirements_Maven_Profile_Activation_Property) GetProperty() *Requirements_Maven_Property
func (*Requirements_Maven_Profile_Activation_Property) ProtoMessage ¶
func (*Requirements_Maven_Profile_Activation_Property) ProtoMessage()
func (*Requirements_Maven_Profile_Activation_Property) ProtoReflect ¶
func (x *Requirements_Maven_Profile_Activation_Property) ProtoReflect() protoreflect.Message
func (*Requirements_Maven_Profile_Activation_Property) Reset ¶
func (x *Requirements_Maven_Profile_Activation_Property) Reset()
func (*Requirements_Maven_Profile_Activation_Property) String ¶
func (x *Requirements_Maven_Profile_Activation_Property) String() string
type Requirements_Maven_Property ¶
type Requirements_Maven_Property struct { // The name of the property. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The value of the property. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Requirements_Maven_Property) Descriptor
deprecated
func (*Requirements_Maven_Property) Descriptor() ([]byte, []int)
Deprecated: Use Requirements_Maven_Property.ProtoReflect.Descriptor instead.
func (*Requirements_Maven_Property) GetName ¶
func (x *Requirements_Maven_Property) GetName() string
func (*Requirements_Maven_Property) GetValue ¶
func (x *Requirements_Maven_Property) GetValue() string
func (*Requirements_Maven_Property) ProtoMessage ¶
func (*Requirements_Maven_Property) ProtoMessage()
func (*Requirements_Maven_Property) ProtoReflect ¶
func (x *Requirements_Maven_Property) ProtoReflect() protoreflect.Message
func (*Requirements_Maven_Property) Reset ¶
func (x *Requirements_Maven_Property) Reset()
func (*Requirements_Maven_Property) String ¶
func (x *Requirements_Maven_Property) String() string
type Requirements_Maven_Repository ¶
type Requirements_Maven_Repository struct { // The ID of the repository. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The URL of the repository. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // Whether the description of the repository follows a common layout. Layout string `protobuf:"bytes,3,opt,name=layout,proto3" json:"layout,omitempty"` // Whether the repository is enabled for release downloads. ReleasesEnabled string `protobuf:"bytes,4,opt,name=releases_enabled,json=releasesEnabled,proto3" json:"releases_enabled,omitempty"` // Whether the repository is enabled for snapshot downloads. SnapshotsEnabled string `protobuf:"bytes,5,opt,name=snapshots_enabled,json=snapshotsEnabled,proto3" json:"snapshots_enabled,omitempty"` // contains filtered or unexported fields }
func (*Requirements_Maven_Repository) Descriptor
deprecated
func (*Requirements_Maven_Repository) Descriptor() ([]byte, []int)
Deprecated: Use Requirements_Maven_Repository.ProtoReflect.Descriptor instead.
func (*Requirements_Maven_Repository) GetId ¶
func (x *Requirements_Maven_Repository) GetId() string
func (*Requirements_Maven_Repository) GetLayout ¶
func (x *Requirements_Maven_Repository) GetLayout() string
func (*Requirements_Maven_Repository) GetReleasesEnabled ¶
func (x *Requirements_Maven_Repository) GetReleasesEnabled() string
func (*Requirements_Maven_Repository) GetSnapshotsEnabled ¶
func (x *Requirements_Maven_Repository) GetSnapshotsEnabled() string
func (*Requirements_Maven_Repository) GetUrl ¶
func (x *Requirements_Maven_Repository) GetUrl() string
func (*Requirements_Maven_Repository) ProtoMessage ¶
func (*Requirements_Maven_Repository) ProtoMessage()
func (*Requirements_Maven_Repository) ProtoReflect ¶
func (x *Requirements_Maven_Repository) ProtoReflect() protoreflect.Message
func (*Requirements_Maven_Repository) Reset ¶
func (x *Requirements_Maven_Repository) Reset()
func (*Requirements_Maven_Repository) String ¶
func (x *Requirements_Maven_Repository) String() string
type Requirements_NPM ¶
type Requirements_NPM struct { // The dependency-related fields declared in the requested package version's // package.json. Dependencies *Requirements_NPM_Dependencies `protobuf:"bytes,1,opt,name=dependencies,proto3" json:"dependencies,omitempty"` // Contents of any additional package.json files found inside the // "node_modules" folder of the version's tarball, including nested // "node_modules". Bundled []*Requirements_NPM_Bundle `protobuf:"bytes,2,rep,name=bundled,proto3" json:"bundled,omitempty"` // contains filtered or unexported fields }
func (*Requirements_NPM) Descriptor
deprecated
func (*Requirements_NPM) Descriptor() ([]byte, []int)
Deprecated: Use Requirements_NPM.ProtoReflect.Descriptor instead.
func (*Requirements_NPM) GetBundled ¶
func (x *Requirements_NPM) GetBundled() []*Requirements_NPM_Bundle
func (*Requirements_NPM) GetDependencies ¶
func (x *Requirements_NPM) GetDependencies() *Requirements_NPM_Dependencies
func (*Requirements_NPM) ProtoMessage ¶
func (*Requirements_NPM) ProtoMessage()
func (*Requirements_NPM) ProtoReflect ¶
func (x *Requirements_NPM) ProtoReflect() protoreflect.Message
func (*Requirements_NPM) Reset ¶
func (x *Requirements_NPM) Reset()
func (*Requirements_NPM) String ¶
func (x *Requirements_NPM) String() string
type Requirements_NPM_Bundle ¶
type Requirements_NPM_Bundle struct { // The path inside the tarball where this dependency was found. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // The name of the bundled package, as declared inside the bundled // package.json. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The version of this package, as declared inside the bundled // package.json. Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // The dependency-related fields from the bundled package.json. Dependencies *Requirements_NPM_Dependencies `protobuf:"bytes,4,opt,name=dependencies,proto3" json:"dependencies,omitempty"` // contains filtered or unexported fields }
func (*Requirements_NPM_Bundle) Descriptor
deprecated
func (*Requirements_NPM_Bundle) Descriptor() ([]byte, []int)
Deprecated: Use Requirements_NPM_Bundle.ProtoReflect.Descriptor instead.
func (*Requirements_NPM_Bundle) GetDependencies ¶
func (x *Requirements_NPM_Bundle) GetDependencies() *Requirements_NPM_Dependencies
func (*Requirements_NPM_Bundle) GetName ¶
func (x *Requirements_NPM_Bundle) GetName() string
func (*Requirements_NPM_Bundle) GetPath ¶
func (x *Requirements_NPM_Bundle) GetPath() string
func (*Requirements_NPM_Bundle) GetVersion ¶
func (x *Requirements_NPM_Bundle) GetVersion() string
func (*Requirements_NPM_Bundle) ProtoMessage ¶
func (*Requirements_NPM_Bundle) ProtoMessage()
func (*Requirements_NPM_Bundle) ProtoReflect ¶
func (x *Requirements_NPM_Bundle) ProtoReflect() protoreflect.Message
func (*Requirements_NPM_Bundle) Reset ¶
func (x *Requirements_NPM_Bundle) Reset()
func (*Requirements_NPM_Bundle) String ¶
func (x *Requirements_NPM_Bundle) String() string
type Requirements_NPM_Dependencies ¶
type Requirements_NPM_Dependencies struct { // The "dependencies" field of a package.json, represented as a list of // name, requirement pairs. Dependencies []*Requirements_NPM_Dependencies_Dependency `protobuf:"bytes,1,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // The "devDependencies" field of a package.json. The format is the // same as "dependencies". DevDependencies []*Requirements_NPM_Dependencies_Dependency `protobuf:"bytes,2,rep,name=dev_dependencies,json=devDependencies,proto3" json:"dev_dependencies,omitempty"` // The "optionalDependencies" field of a package.json. The format is // the same as "dependencies". OptionalDependencies []*Requirements_NPM_Dependencies_Dependency `protobuf:"bytes,3,rep,name=optional_dependencies,json=optionalDependencies,proto3" json:"optional_dependencies,omitempty"` // The "peerDependencies" field of a package.json. The format is the // same as "dependencies". PeerDependencies []*Requirements_NPM_Dependencies_Dependency `protobuf:"bytes,4,rep,name=peer_dependencies,json=peerDependencies,proto3" json:"peer_dependencies,omitempty"` // The "bundleDependencies" field of a package.json: a list of package // names. In the package.json this may also just be the boolean value // "true", in which case this field will contain the names of all the // dependencies from the "dependencies" field. BundleDependencies []string `protobuf:"bytes,5,rep,name=bundle_dependencies,json=bundleDependencies,proto3" json:"bundle_dependencies,omitempty"` // contains filtered or unexported fields }
func (*Requirements_NPM_Dependencies) Descriptor
deprecated
func (*Requirements_NPM_Dependencies) Descriptor() ([]byte, []int)
Deprecated: Use Requirements_NPM_Dependencies.ProtoReflect.Descriptor instead.
func (*Requirements_NPM_Dependencies) GetBundleDependencies ¶
func (x *Requirements_NPM_Dependencies) GetBundleDependencies() []string
func (*Requirements_NPM_Dependencies) GetDependencies ¶
func (x *Requirements_NPM_Dependencies) GetDependencies() []*Requirements_NPM_Dependencies_Dependency
func (*Requirements_NPM_Dependencies) GetDevDependencies ¶
func (x *Requirements_NPM_Dependencies) GetDevDependencies() []*Requirements_NPM_Dependencies_Dependency
func (*Requirements_NPM_Dependencies) GetOptionalDependencies ¶
func (x *Requirements_NPM_Dependencies) GetOptionalDependencies() []*Requirements_NPM_Dependencies_Dependency
func (*Requirements_NPM_Dependencies) GetPeerDependencies ¶
func (x *Requirements_NPM_Dependencies) GetPeerDependencies() []*Requirements_NPM_Dependencies_Dependency
func (*Requirements_NPM_Dependencies) ProtoMessage ¶
func (*Requirements_NPM_Dependencies) ProtoMessage()
func (*Requirements_NPM_Dependencies) ProtoReflect ¶
func (x *Requirements_NPM_Dependencies) ProtoReflect() protoreflect.Message
func (*Requirements_NPM_Dependencies) Reset ¶
func (x *Requirements_NPM_Dependencies) Reset()
func (*Requirements_NPM_Dependencies) String ¶
func (x *Requirements_NPM_Dependencies) String() string
type Requirements_NPM_Dependencies_Dependency ¶
type Requirements_NPM_Dependencies_Dependency struct { // The name of the package, the key in the original object. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The requirement, the corresponding value from the original object. Requirement string `protobuf:"bytes,2,opt,name=requirement,proto3" json:"requirement,omitempty"` // contains filtered or unexported fields }
func (*Requirements_NPM_Dependencies_Dependency) Descriptor
deprecated
func (*Requirements_NPM_Dependencies_Dependency) Descriptor() ([]byte, []int)
Deprecated: Use Requirements_NPM_Dependencies_Dependency.ProtoReflect.Descriptor instead.
func (*Requirements_NPM_Dependencies_Dependency) GetName ¶
func (x *Requirements_NPM_Dependencies_Dependency) GetName() string
func (*Requirements_NPM_Dependencies_Dependency) GetRequirement ¶
func (x *Requirements_NPM_Dependencies_Dependency) GetRequirement() string
func (*Requirements_NPM_Dependencies_Dependency) ProtoMessage ¶
func (*Requirements_NPM_Dependencies_Dependency) ProtoMessage()
func (*Requirements_NPM_Dependencies_Dependency) ProtoReflect ¶
func (x *Requirements_NPM_Dependencies_Dependency) ProtoReflect() protoreflect.Message
func (*Requirements_NPM_Dependencies_Dependency) Reset ¶
func (x *Requirements_NPM_Dependencies_Dependency) Reset()
func (*Requirements_NPM_Dependencies_Dependency) String ¶
func (x *Requirements_NPM_Dependencies_Dependency) String() string
type Requirements_NuGet ¶
type Requirements_NuGet struct { // The requirements grouped by target framework. DependencyGroups []*Requirements_NuGet_DependencyGroup `protobuf:"bytes,1,rep,name=dependency_groups,json=dependencyGroups,proto3" json:"dependency_groups,omitempty"` // contains filtered or unexported fields }
func (*Requirements_NuGet) Descriptor
deprecated
func (*Requirements_NuGet) Descriptor() ([]byte, []int)
Deprecated: Use Requirements_NuGet.ProtoReflect.Descriptor instead.
func (*Requirements_NuGet) GetDependencyGroups ¶
func (x *Requirements_NuGet) GetDependencyGroups() []*Requirements_NuGet_DependencyGroup
func (*Requirements_NuGet) ProtoMessage ¶
func (*Requirements_NuGet) ProtoMessage()
func (*Requirements_NuGet) ProtoReflect ¶
func (x *Requirements_NuGet) ProtoReflect() protoreflect.Message
func (*Requirements_NuGet) Reset ¶
func (x *Requirements_NuGet) Reset()
func (*Requirements_NuGet) String ¶
func (x *Requirements_NuGet) String() string
type Requirements_NuGet_DependencyGroup ¶
type Requirements_NuGet_DependencyGroup struct { // The target framework that this dependency group is for. TargetFramework string `protobuf:"bytes,1,opt,name=target_framework,json=targetFramework,proto3" json:"target_framework,omitempty"` // The requirements belonging to this dependency group. Dependencies []*Requirements_NuGet_DependencyGroup_Dependency `protobuf:"bytes,2,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // contains filtered or unexported fields }
func (*Requirements_NuGet_DependencyGroup) Descriptor
deprecated
func (*Requirements_NuGet_DependencyGroup) Descriptor() ([]byte, []int)
Deprecated: Use Requirements_NuGet_DependencyGroup.ProtoReflect.Descriptor instead.
func (*Requirements_NuGet_DependencyGroup) GetDependencies ¶
func (x *Requirements_NuGet_DependencyGroup) GetDependencies() []*Requirements_NuGet_DependencyGroup_Dependency
func (*Requirements_NuGet_DependencyGroup) GetTargetFramework ¶
func (x *Requirements_NuGet_DependencyGroup) GetTargetFramework() string
func (*Requirements_NuGet_DependencyGroup) ProtoMessage ¶
func (*Requirements_NuGet_DependencyGroup) ProtoMessage()
func (*Requirements_NuGet_DependencyGroup) ProtoReflect ¶
func (x *Requirements_NuGet_DependencyGroup) ProtoReflect() protoreflect.Message
func (*Requirements_NuGet_DependencyGroup) Reset ¶
func (x *Requirements_NuGet_DependencyGroup) Reset()
func (*Requirements_NuGet_DependencyGroup) String ¶
func (x *Requirements_NuGet_DependencyGroup) String() string
type Requirements_NuGet_DependencyGroup_Dependency ¶
type Requirements_NuGet_DependencyGroup_Dependency struct { // The name of the package. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The requirement on the package. Requirement string `protobuf:"bytes,2,opt,name=requirement,proto3" json:"requirement,omitempty"` // contains filtered or unexported fields }
func (*Requirements_NuGet_DependencyGroup_Dependency) Descriptor
deprecated
func (*Requirements_NuGet_DependencyGroup_Dependency) Descriptor() ([]byte, []int)
Deprecated: Use Requirements_NuGet_DependencyGroup_Dependency.ProtoReflect.Descriptor instead.
func (*Requirements_NuGet_DependencyGroup_Dependency) GetName ¶
func (x *Requirements_NuGet_DependencyGroup_Dependency) GetName() string
func (*Requirements_NuGet_DependencyGroup_Dependency) GetRequirement ¶
func (x *Requirements_NuGet_DependencyGroup_Dependency) GetRequirement() string
func (*Requirements_NuGet_DependencyGroup_Dependency) ProtoMessage ¶
func (*Requirements_NuGet_DependencyGroup_Dependency) ProtoMessage()
func (*Requirements_NuGet_DependencyGroup_Dependency) ProtoReflect ¶
func (x *Requirements_NuGet_DependencyGroup_Dependency) ProtoReflect() protoreflect.Message
func (*Requirements_NuGet_DependencyGroup_Dependency) Reset ¶
func (x *Requirements_NuGet_DependencyGroup_Dependency) Reset()
func (*Requirements_NuGet_DependencyGroup_Dependency) String ¶
func (x *Requirements_NuGet_DependencyGroup_Dependency) String() string
type SLSAProvenance ¶
type SLSAProvenance struct { // The source code repository used to build the version. SourceRepository string `protobuf:"bytes,1,opt,name=source_repository,json=sourceRepository,proto3" json:"source_repository,omitempty"` // The commit of the source code repository the version was built from. Commit string `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` // The URL of the provenance statement if there is one. Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` // The Sigstore bundle containing this attestation was verified using the // [sigstore-go](https://github.com/sigstore/sigstore-go) library. Verified bool `protobuf:"varint,4,opt,name=verified,proto3" json:"verified,omitempty"` // contains filtered or unexported fields }
SLSAProvenance contains provenance information extracted from a SLSA provenance statement.
func (*SLSAProvenance) Descriptor
deprecated
func (*SLSAProvenance) Descriptor() ([]byte, []int)
Deprecated: Use SLSAProvenance.ProtoReflect.Descriptor instead.
func (*SLSAProvenance) GetCommit ¶
func (x *SLSAProvenance) GetCommit() string
func (*SLSAProvenance) GetSourceRepository ¶
func (x *SLSAProvenance) GetSourceRepository() string
func (*SLSAProvenance) GetUrl ¶
func (x *SLSAProvenance) GetUrl() string
func (*SLSAProvenance) GetVerified ¶
func (x *SLSAProvenance) GetVerified() bool
func (*SLSAProvenance) ProtoMessage ¶
func (*SLSAProvenance) ProtoMessage()
func (*SLSAProvenance) ProtoReflect ¶
func (x *SLSAProvenance) ProtoReflect() protoreflect.Message
func (*SLSAProvenance) Reset ¶
func (x *SLSAProvenance) Reset()
func (*SLSAProvenance) String ¶
func (x *SLSAProvenance) String() string
type System ¶
type System int32
System identifies a package management system.
func (System) Descriptor ¶
func (System) Descriptor() protoreflect.EnumDescriptor
func (System) EnumDescriptor
deprecated
func (System) Number ¶
func (x System) Number() protoreflect.EnumNumber
func (System) Type ¶
func (System) Type() protoreflect.EnumType
type UnimplementedInsightsServer ¶
type UnimplementedInsightsServer struct { }
UnimplementedInsightsServer must be embedded to have forward compatible implementations.
func (UnimplementedInsightsServer) GetAdvisory ¶
func (UnimplementedInsightsServer) GetAdvisory(context.Context, *GetAdvisoryRequest) (*Advisory, error)
func (UnimplementedInsightsServer) GetDependencies ¶
func (UnimplementedInsightsServer) GetDependencies(context.Context, *GetDependenciesRequest) (*Dependencies, error)
func (UnimplementedInsightsServer) GetPackage ¶
func (UnimplementedInsightsServer) GetPackage(context.Context, *GetPackageRequest) (*Package, error)
func (UnimplementedInsightsServer) GetProject ¶
func (UnimplementedInsightsServer) GetProject(context.Context, *GetProjectRequest) (*Project, error)
func (UnimplementedInsightsServer) GetProjectPackageVersions ¶
func (UnimplementedInsightsServer) GetProjectPackageVersions(context.Context, *GetProjectPackageVersionsRequest) (*ProjectPackageVersions, error)
func (UnimplementedInsightsServer) GetRequirements ¶
func (UnimplementedInsightsServer) GetRequirements(context.Context, *GetRequirementsRequest) (*Requirements, error)
func (UnimplementedInsightsServer) GetVersion ¶
func (UnimplementedInsightsServer) GetVersion(context.Context, *GetVersionRequest) (*Version, error)
func (UnimplementedInsightsServer) Query ¶
func (UnimplementedInsightsServer) Query(context.Context, *QueryRequest) (*QueryResult, error)
type UnsafeInsightsServer ¶
type UnsafeInsightsServer interface {
// contains filtered or unexported methods
}
UnsafeInsightsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InsightsServer will result in compilation errors.
type Version ¶
type Version struct { // The name of the package version. Note that the package and version name // may differ from names specified in requests, if applicable, due to // canonicalization. VersionKey *VersionKey `protobuf:"bytes,1,opt,name=version_key,json=versionKey,proto3" json:"version_key,omitempty"` // The time when this package version was published, if available, as // reported by the package management authority. PublishedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=published_at,json=publishedAt,proto3" json:"published_at,omitempty"` // If true, this is the default version of the package: the version that is // installed when no version is specified. The precise meaning of this is // system-specific, but it is commonly the version with the greatest version // number, ignoring pre-release versions. IsDefault bool `protobuf:"varint,2,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` // The licenses governing the use of this package version. // // We identify licenses as // [SPDX 2.1](https://spdx.dev/spdx-specification-21-web-version/) // expressions. When there is no associated SPDX identifier, we identify a // license as "non-standard". When we are unable to obtain license // information, this field is empty. When more than one license is listed, // their relationship is unspecified. // // For Cargo, Maven, npm, NuGet, and PyPI, license information is read from // the package metadata. For Go, license information is determined using the // [licensecheck](https://github.com/google/licensecheck) package. // // License information is not intended to be legal advice, and you should // independently verify the license or terms of any software for your own // needs. Licenses []string `protobuf:"bytes,3,rep,name=licenses,proto3" json:"licenses,omitempty"` // Security advisories known to affect this package version directly. Further // information can be requested using the Advisory method. // // Note that this field does not include advisories that affect dependencies // of this package version. AdvisoryKeys []*AdvisoryKey `protobuf:"bytes,4,rep,name=advisory_keys,json=advisoryKeys,proto3" json:"advisory_keys,omitempty"` // Links declared by or derived from package version metadata, to external // web resources such as a homepage or source code repository. Note that // these links are not verified for correctness. Links []*Link `protobuf:"bytes,5,rep,name=links,proto3" json:"links,omitempty"` // SLSA provenances for this version if they are available. SlsaProvenances []*SLSAProvenance `protobuf:"bytes,7,rep,name=slsa_provenances,json=slsaProvenances,proto3" json:"slsa_provenances,omitempty"` // URLs for the package management registries this package version is // available from. // Only set for systems that use a central repository for package // distribution: Cargo, Maven, npm, NuGet, and PyPI. Registries []string `protobuf:"bytes,8,rep,name=registries,proto3" json:"registries,omitempty"` // Projects that are related to this package version. RelatedProjects []*Version_Project `protobuf:"bytes,10,rep,name=related_projects,json=relatedProjects,proto3" json:"related_projects,omitempty"` // contains filtered or unexported fields }
Version holds information about a package version.
func (*Version) Descriptor
deprecated
func (*Version) GetAdvisoryKeys ¶
func (x *Version) GetAdvisoryKeys() []*AdvisoryKey
func (*Version) GetIsDefault ¶
func (*Version) GetLicenses ¶
func (*Version) GetPublishedAt ¶
func (x *Version) GetPublishedAt() *timestamppb.Timestamp
func (*Version) GetRegistries ¶
func (*Version) GetRelatedProjects ¶
func (x *Version) GetRelatedProjects() []*Version_Project
func (*Version) GetSlsaProvenances ¶
func (x *Version) GetSlsaProvenances() []*SLSAProvenance
func (*Version) GetVersionKey ¶
func (x *Version) GetVersionKey() *VersionKey
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message
type VersionKey ¶
type VersionKey struct { // The package management system containing the package. System System `protobuf:"varint,1,opt,name=system,proto3,enum=deps_dev.v3.System" json:"system,omitempty"` // The name of the package. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The version of the package. Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
VersionKey identifies a package version by name.
func (*VersionKey) Descriptor
deprecated
func (*VersionKey) Descriptor() ([]byte, []int)
Deprecated: Use VersionKey.ProtoReflect.Descriptor instead.
func (*VersionKey) GetName ¶
func (x *VersionKey) GetName() string
func (*VersionKey) GetSystem ¶
func (x *VersionKey) GetSystem() System
func (*VersionKey) GetVersion ¶
func (x *VersionKey) GetVersion() string
func (*VersionKey) ProtoMessage ¶
func (*VersionKey) ProtoMessage()
func (*VersionKey) ProtoReflect ¶
func (x *VersionKey) ProtoReflect() protoreflect.Message
func (*VersionKey) Reset ¶
func (x *VersionKey) Reset()
func (*VersionKey) String ¶
func (x *VersionKey) String() string
type Version_Project ¶
type Version_Project struct { // The identifier for the project. ProjectKey *ProjectKey `protobuf:"bytes,1,opt,name=project_key,json=projectKey,proto3" json:"project_key,omitempty"` // How the mapping between project and package version was discovered. RelationProvenance ProjectRelationProvenance `` /* 159-byte string literal not displayed */ // What the relationship between the project and the package version is. RelationType ProjectRelationType `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Version_Project) Descriptor
deprecated
func (*Version_Project) Descriptor() ([]byte, []int)
Deprecated: Use Version_Project.ProtoReflect.Descriptor instead.
func (*Version_Project) GetProjectKey ¶
func (x *Version_Project) GetProjectKey() *ProjectKey
func (*Version_Project) GetRelationProvenance ¶
func (x *Version_Project) GetRelationProvenance() ProjectRelationProvenance
func (*Version_Project) GetRelationType ¶
func (x *Version_Project) GetRelationType() ProjectRelationType
func (*Version_Project) ProtoMessage ¶
func (*Version_Project) ProtoMessage()
func (*Version_Project) ProtoReflect ¶
func (x *Version_Project) ProtoReflect() protoreflect.Message
func (*Version_Project) Reset ¶
func (x *Version_Project) Reset()
func (*Version_Project) String ¶
func (x *Version_Project) String() string