filterinput

package
v1.8.9 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 (*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 (*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 (*FilterInputVulnerabilities) GetCritical added in v1.4.0

func (*FilterInputVulnerabilities) GetHigh added in v1.4.0

func (*FilterInputVulnerabilities) GetLow added in v1.4.0

func (*FilterInputVulnerabilities) GetMedium added in v1.4.0

func (*FilterInputVulnerabilities) ProtoMessage added in v1.4.0

func (*FilterInputVulnerabilities) ProtoMessage()

func (*FilterInputVulnerabilities) ProtoReflect added in v1.4.0

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

Jump to

Keyboard shortcuts

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