Documentation ¶
Index ¶
- Variables
- type FilterInput
- func (*FilterInput) Descriptor() ([]byte, []int)deprecated
- func (x *FilterInput) GetLicenses() []string
- func (x *FilterInput) GetPkg() *FilterInputPackageVersion
- func (x *FilterInput) GetProjects() []*models.InsightProjectInfo
- func (x *FilterInput) GetScorecard() *models.InsightScorecard
- func (x *FilterInput) GetVulns() *FilterInputVulnerabilities
- func (*FilterInput) ProtoMessage()
- func (x *FilterInput) ProtoReflect() protoreflect.Message
- func (x *FilterInput) Reset()
- func (x *FilterInput) String() string
- type FilterInputPackageVersion
- func (*FilterInputPackageVersion) Descriptor() ([]byte, []int)deprecated
- func (x *FilterInputPackageVersion) GetEcosystem() string
- func (x *FilterInputPackageVersion) GetName() string
- func (x *FilterInputPackageVersion) GetVersion() string
- func (*FilterInputPackageVersion) ProtoMessage()
- func (x *FilterInputPackageVersion) ProtoReflect() protoreflect.Message
- func (x *FilterInputPackageVersion) Reset()
- func (x *FilterInputPackageVersion) String() string
- type FilterInputVulnerabilities
- func (*FilterInputVulnerabilities) Descriptor() ([]byte, []int)deprecated
- func (x *FilterInputVulnerabilities) GetAll() []*models.InsightVulnerability
- func (x *FilterInputVulnerabilities) GetCritical() []*models.InsightVulnerability
- func (x *FilterInputVulnerabilities) GetHigh() []*models.InsightVulnerability
- func (x *FilterInputVulnerabilities) GetLow() []*models.InsightVulnerability
- func (x *FilterInputVulnerabilities) GetMedium() []*models.InsightVulnerability
- func (*FilterInputVulnerabilities) ProtoMessage()
- func (x *FilterInputVulnerabilities) ProtoReflect() protoreflect.Message
- func (x *FilterInputVulnerabilities) Reset()
- func (x *FilterInputVulnerabilities) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_filter_input_spec_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FilterInput ¶
type FilterInput struct { Pkg *FilterInputPackageVersion `protobuf:"bytes,1,opt,name=pkg,proto3" json:"pkg,omitempty"` Vulns *FilterInputVulnerabilities `protobuf:"bytes,2,opt,name=vulns,proto3" json:"vulns,omitempty"` Scorecard *models.InsightScorecard `protobuf:"bytes,3,opt,name=scorecard,proto3" json:"scorecard,omitempty"` Projects []*models.InsightProjectInfo `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty"` Licenses []string `protobuf:"bytes,5,rep,name=licenses,proto3" json:"licenses,omitempty"` // contains filtered or unexported fields }
func (*FilterInput) Descriptor
deprecated
func (*FilterInput) Descriptor() ([]byte, []int)
Deprecated: Use FilterInput.ProtoReflect.Descriptor instead.
func (*FilterInput) GetLicenses ¶
func (x *FilterInput) GetLicenses() []string
func (*FilterInput) GetPkg ¶
func (x *FilterInput) GetPkg() *FilterInputPackageVersion
func (*FilterInput) GetProjects ¶
func (x *FilterInput) GetProjects() []*models.InsightProjectInfo
func (*FilterInput) GetScorecard ¶
func (x *FilterInput) GetScorecard() *models.InsightScorecard
func (*FilterInput) GetVulns ¶
func (x *FilterInput) GetVulns() *FilterInputVulnerabilities
func (*FilterInput) ProtoMessage ¶
func (*FilterInput) ProtoMessage()
func (*FilterInput) ProtoReflect ¶
func (x *FilterInput) ProtoReflect() protoreflect.Message
func (*FilterInput) Reset ¶
func (x *FilterInput) Reset()
func (*FilterInput) String ¶
func (x *FilterInput) String() string
type FilterInputPackageVersion ¶ added in v1.4.0
type FilterInputPackageVersion struct { Ecosystem string `protobuf:"bytes,1,opt,name=ecosystem,proto3" json:"ecosystem,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*FilterInputPackageVersion) Descriptor
deprecated
added in
v1.4.0
func (*FilterInputPackageVersion) Descriptor() ([]byte, []int)
Deprecated: Use FilterInputPackageVersion.ProtoReflect.Descriptor instead.
func (*FilterInputPackageVersion) GetEcosystem ¶ added in v1.4.0
func (x *FilterInputPackageVersion) GetEcosystem() string
func (*FilterInputPackageVersion) GetName ¶ added in v1.4.0
func (x *FilterInputPackageVersion) GetName() string
func (*FilterInputPackageVersion) GetVersion ¶ added in v1.4.0
func (x *FilterInputPackageVersion) GetVersion() string
func (*FilterInputPackageVersion) ProtoMessage ¶ added in v1.4.0
func (*FilterInputPackageVersion) ProtoMessage()
func (*FilterInputPackageVersion) ProtoReflect ¶ added in v1.4.0
func (x *FilterInputPackageVersion) ProtoReflect() protoreflect.Message
func (*FilterInputPackageVersion) Reset ¶ added in v1.4.0
func (x *FilterInputPackageVersion) Reset()
func (*FilterInputPackageVersion) String ¶ added in v1.4.0
func (x *FilterInputPackageVersion) String() string
type FilterInputVulnerabilities ¶ added in v1.4.0
type FilterInputVulnerabilities struct { All []*models.InsightVulnerability `protobuf:"bytes,1,rep,name=all,proto3" json:"all,omitempty"` Critical []*models.InsightVulnerability `protobuf:"bytes,2,rep,name=critical,proto3" json:"critical,omitempty"` High []*models.InsightVulnerability `protobuf:"bytes,3,rep,name=high,proto3" json:"high,omitempty"` Medium []*models.InsightVulnerability `protobuf:"bytes,4,rep,name=medium,proto3" json:"medium,omitempty"` Low []*models.InsightVulnerability `protobuf:"bytes,5,rep,name=low,proto3" json:"low,omitempty"` // contains filtered or unexported fields }
Only hold vulnerability IDs
func (*FilterInputVulnerabilities) Descriptor
deprecated
added in
v1.4.0
func (*FilterInputVulnerabilities) Descriptor() ([]byte, []int)
Deprecated: Use FilterInputVulnerabilities.ProtoReflect.Descriptor instead.
func (*FilterInputVulnerabilities) GetAll ¶ added in v1.4.0
func (x *FilterInputVulnerabilities) GetAll() []*models.InsightVulnerability
func (*FilterInputVulnerabilities) GetCritical ¶ added in v1.4.0
func (x *FilterInputVulnerabilities) GetCritical() []*models.InsightVulnerability
func (*FilterInputVulnerabilities) GetHigh ¶ added in v1.4.0
func (x *FilterInputVulnerabilities) GetHigh() []*models.InsightVulnerability
func (*FilterInputVulnerabilities) GetLow ¶ added in v1.4.0
func (x *FilterInputVulnerabilities) GetLow() []*models.InsightVulnerability
func (*FilterInputVulnerabilities) GetMedium ¶ added in v1.4.0
func (x *FilterInputVulnerabilities) GetMedium() []*models.InsightVulnerability
func (*FilterInputVulnerabilities) ProtoMessage ¶ added in v1.4.0
func (*FilterInputVulnerabilities) ProtoMessage()
func (*FilterInputVulnerabilities) ProtoReflect ¶ added in v1.4.0
func (x *FilterInputVulnerabilities) ProtoReflect() protoreflect.Message
func (*FilterInputVulnerabilities) Reset ¶ added in v1.4.0
func (x *FilterInputVulnerabilities) Reset()
func (*FilterInputVulnerabilities) String ¶ added in v1.4.0
func (x *FilterInputVulnerabilities) String() string
Click to show internal directories.
Click to hide internal directories.