Documentation ¶
Index ¶
- Variables
- type Config
- type Problem
- func (*Problem) Descriptor() ([]byte, []int)deprecated
- func (x *Problem) GetInstanceId() int32
- func (x *Problem) GetIssueNumber() int32
- func (x *Problem) GetIssueOpenedTimestamp() int64
- func (x *Problem) GetType() Problem_ProblemType
- func (*Problem) ProtoMessage()
- func (x *Problem) ProtoReflect() protoreflect.Message
- func (x *Problem) Reset()
- func (x *Problem) String() string
- type Problem_ProblemType
- func (Problem_ProblemType) Descriptor() protoreflect.EnumDescriptor
- func (x Problem_ProblemType) Enum() *Problem_ProblemType
- func (Problem_ProblemType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Problem_ProblemType) Number() protoreflect.EnumNumber
- func (x Problem_ProblemType) String() string
- func (Problem_ProblemType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Problem_ProblemType_name = map[int32]string{ 0: "UNKNOWN", 1: "MISSING_WEIGHT", 2: "MISSING_FILED", 3: "MISSING_WIDTH", 4: "MISSING_CONDITION", 5: "MISSING_SLEEVE", 6: "NEEDS_KEEPER", 7: "NEEDS_DIGITAL", 8: "NEEDS_SALE_BUDGET", 9: "NEEDS_SOLD_DETAILS", 10: "BAD_BANDCAMP", } Problem_ProblemType_value = map[string]int32{ "UNKNOWN": 0, "MISSING_WEIGHT": 1, "MISSING_FILED": 2, "MISSING_WIDTH": 3, "MISSING_CONDITION": 4, "MISSING_SLEEVE": 5, "NEEDS_KEEPER": 6, "NEEDS_DIGITAL": 7, "NEEDS_SALE_BUDGET": 8, "NEEDS_SOLD_DETAILS": 9, "BAD_BANDCAMP": 10, } )
Enum value maps for Problem_ProblemType.
View Source
var File_recordalerting_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Problems []*Problem `protobuf:"bytes,1,rep,name=problems,proto3" json:"problems,omitempty"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetProblems ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type Problem ¶
type Problem struct { Type Problem_ProblemType `protobuf:"varint,1,opt,name=type,proto3,enum=recordalerting.Problem_ProblemType" json:"type,omitempty"` InstanceId int32 `protobuf:"varint,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` IssueNumber int32 `protobuf:"varint,3,opt,name=issue_number,json=issueNumber,proto3" json:"issue_number,omitempty"` IssueOpenedTimestamp int64 `protobuf:"varint,4,opt,name=issue_opened_timestamp,json=issueOpenedTimestamp,proto3" json:"issue_opened_timestamp,omitempty"` // contains filtered or unexported fields }
func (*Problem) Descriptor
deprecated
func (*Problem) GetInstanceId ¶
func (*Problem) GetIssueNumber ¶
func (*Problem) GetIssueOpenedTimestamp ¶
func (*Problem) GetType ¶
func (x *Problem) GetType() Problem_ProblemType
func (*Problem) ProtoMessage ¶
func (*Problem) ProtoMessage()
func (*Problem) ProtoReflect ¶
func (x *Problem) ProtoReflect() protoreflect.Message
type Problem_ProblemType ¶
type Problem_ProblemType int32
const ( Problem_UNKNOWN Problem_ProblemType = 0 Problem_MISSING_WEIGHT Problem_ProblemType = 1 Problem_MISSING_FILED Problem_ProblemType = 2 Problem_MISSING_WIDTH Problem_ProblemType = 3 Problem_MISSING_CONDITION Problem_ProblemType = 4 Problem_MISSING_SLEEVE Problem_ProblemType = 5 Problem_NEEDS_KEEPER Problem_ProblemType = 6 Problem_NEEDS_DIGITAL Problem_ProblemType = 7 Problem_NEEDS_SALE_BUDGET Problem_ProblemType = 8 Problem_NEEDS_SOLD_DETAILS Problem_ProblemType = 9 Problem_BAD_BANDCAMP Problem_ProblemType = 10 )
func (Problem_ProblemType) Descriptor ¶
func (Problem_ProblemType) Descriptor() protoreflect.EnumDescriptor
func (Problem_ProblemType) Enum ¶
func (x Problem_ProblemType) Enum() *Problem_ProblemType
func (Problem_ProblemType) EnumDescriptor
deprecated
func (Problem_ProblemType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Problem_ProblemType.Descriptor instead.
func (Problem_ProblemType) Number ¶
func (x Problem_ProblemType) Number() protoreflect.EnumNumber
func (Problem_ProblemType) String ¶
func (x Problem_ProblemType) String() string
func (Problem_ProblemType) Type ¶
func (Problem_ProblemType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.