Documentation ¶
Index ¶
- Variables
- type Info
- type Note
- func (*Note) Descriptor() ([]byte, []int)deprecated
- func (x *Note) GetAttr() map[string]string
- func (x *Note) GetId() string
- func (x *Note) GetLevel() NoteLevel
- func (x *Note) GetMsg() string
- func (x *Note) GetSummary() string
- func (x *Note) GetType() string
- func (*Note) ProtoMessage()
- func (x *Note) ProtoReflect() protoreflect.Message
- func (x *Note) Reset()
- func (x *Note) String() string
- type NoteLevel
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NoteLevel_name = map[int32]string{ 0: "UNUSED", 1: "INFO", 2: "WARNING", 3: "ERROR", } NoteLevel_value = map[string]int32{ "UNUSED": 0, "INFO": 1, "WARNING": 2, "ERROR": 3, } )
Enum value maps for NoteLevel.
View Source
var File_api_v1_note_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { // Name of the vetter Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Semver string of the vetter Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Vetters use Info to provide their information
func (*Info) Descriptor
deprecated
func (*Info) GetVersion ¶
func (*Info) ProtoMessage ¶
func (*Info) ProtoMessage()
func (*Info) ProtoReflect ¶
func (x *Info) ProtoReflect() protoreflect.Message
type Note ¶
type Note struct { // MD5 checksum of the generated note // // Used as UUID for notes Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Type of the note // // Example "istio-component-mismatch", "missing-service-port-prefix" Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // Short description of the note // // Summary may contain python template strings "${var}" which will be // substituted from values in Attr map described below. Summary // should only refer to template variables present in Attr map. Summary string `protobuf:"bytes,3,opt,name=summary,proto3" json:"summary,omitempty"` // Long description of the note // // Similar to Summary, Msg can contain python template strings "${var}" which // will be substituted from values in Attr map described below. Msg // should only refer to template variables present in Attr map. Msg string `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"` // Severity of the note Level NoteLevel `protobuf:"varint,5,opt,name=level,proto3,enum=istio.vet.v1.NoteLevel" json:"level,omitempty"` // Map of template variables which can be used by Summary and Msg Attr map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
Vetters generate Notes after inspecting the mesh configuration
func (*Note) Descriptor
deprecated
func (*Note) GetSummary ¶
func (*Note) ProtoMessage ¶
func (*Note) ProtoMessage()
func (*Note) ProtoReflect ¶
func (x *Note) ProtoReflect() protoreflect.Message
type NoteLevel ¶
type NoteLevel int32
NoteLevel indicates the severity level of the note
func (NoteLevel) Descriptor ¶
func (NoteLevel) Descriptor() protoreflect.EnumDescriptor
func (NoteLevel) EnumDescriptor
deprecated
func (NoteLevel) Number ¶
func (x NoteLevel) Number() protoreflect.EnumNumber
func (NoteLevel) Type ¶
func (NoteLevel) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.