Documentation ¶
Index ¶
- Variables
- type Violation
- func (*Violation) Descriptor() ([]byte, []int)deprecated
- func (x *Violation) GetCheckType() checks.CheckType
- func (x *Violation) GetExtra() map[string]string
- func (x *Violation) GetFilter() *filtersuite.Filter
- func (x *Violation) GetPackage() *models.Package
- func (*Violation) ProtoMessage()
- func (x *Violation) ProtoReflect() protoreflect.Message
- func (x *Violation) Reset()
- func (x *Violation) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_violations_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Violation ¶
type Violation struct { CheckType checks.CheckType `protobuf:"varint,1,opt,name=check_type,json=checkType,proto3,enum=CheckType" json:"check_type,omitempty"` Package *models.Package `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"` Filter *filtersuite.Filter `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` Extra map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Violation) Descriptor
deprecated
func (*Violation) GetCheckType ¶
func (*Violation) GetFilter ¶
func (x *Violation) GetFilter() *filtersuite.Filter
func (*Violation) GetPackage ¶
func (*Violation) ProtoMessage ¶
func (*Violation) ProtoMessage()
func (*Violation) ProtoReflect ¶
func (x *Violation) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.