violations

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: 7 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Violation.ProtoReflect.Descriptor instead.

func (*Violation) GetCheckType

func (x *Violation) GetCheckType() checks.CheckType

func (*Violation) GetExtra

func (x *Violation) GetExtra() map[string]string

func (*Violation) GetFilter

func (x *Violation) GetFilter() *filtersuite.Filter

func (*Violation) GetPackage

func (x *Violation) GetPackage() *models.Package

func (*Violation) ProtoMessage

func (*Violation) ProtoMessage()

func (*Violation) ProtoReflect

func (x *Violation) ProtoReflect() protoreflect.Message

func (*Violation) Reset

func (x *Violation) Reset()

func (*Violation) String

func (x *Violation) String() string

Jump to

Keyboard shortcuts

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