pb

package
v0.0.0-...-7a0dfb2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EventV2_AlertType_name = map[int32]string{
	0: "Info",
	1: "Warning",
	2: "Error",
	3: "Success",
}
View Source
var EventV2_AlertType_value = map[string]int32{
	"Info":    0,
	"Warning": 1,
	"Error":   2,
	"Success": 3,
}
View Source
var EventV2_EventPriority_name = map[int32]string{
	0: "Normal",
	1: "Low",
}
View Source
var EventV2_EventPriority_value = map[string]int32{
	"Normal": 0,
	"Low":    1,
}

Functions

This section is empty.

Types

type CounterTagV2

type CounterTagV2 struct {
	TagMap               map[string]*RawCounterV2 `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*CounterTagV2) Descriptor

func (*CounterTagV2) Descriptor() ([]byte, []int)

func (*CounterTagV2) GetTagMap

func (m *CounterTagV2) GetTagMap() map[string]*RawCounterV2

func (*CounterTagV2) ProtoMessage

func (*CounterTagV2) ProtoMessage()

func (*CounterTagV2) Reset

func (m *CounterTagV2) Reset()

func (*CounterTagV2) String

func (m *CounterTagV2) String() string

func (*CounterTagV2) XXX_DiscardUnknown

func (m *CounterTagV2) XXX_DiscardUnknown()

func (*CounterTagV2) XXX_Marshal

func (m *CounterTagV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CounterTagV2) XXX_Merge

func (dst *CounterTagV2) XXX_Merge(src proto.Message)

func (*CounterTagV2) XXX_Size

func (m *CounterTagV2) XXX_Size() int

func (*CounterTagV2) XXX_Unmarshal

func (m *CounterTagV2) XXX_Unmarshal(b []byte) error

type EventV2

type EventV2 struct {
	Title                string                `protobuf:"bytes,1,opt,name=Title,proto3" json:"Title,omitempty"`
	Text                 string                `protobuf:"bytes,2,opt,name=Text,proto3" json:"Text,omitempty"`
	DateHappened         int64                 `protobuf:"varint,3,opt,name=DateHappened,proto3" json:"DateHappened,omitempty"`
	Hostname             string                `protobuf:"bytes,4,opt,name=Hostname,proto3" json:"Hostname,omitempty"`
	AggregationKey       string                `protobuf:"bytes,5,opt,name=AggregationKey,proto3" json:"AggregationKey,omitempty"`
	SourceTypeName       string                `protobuf:"bytes,6,opt,name=SourceTypeName,proto3" json:"SourceTypeName,omitempty"`
	Tags                 []string              `protobuf:"bytes,7,rep,name=Tags,proto3" json:"Tags,omitempty"`
	SourceIP             string                `protobuf:"bytes,8,opt,name=SourceIP,proto3" json:"SourceIP,omitempty"`
	Priority             EventV2_EventPriority `protobuf:"varint,9,opt,name=Priority,proto3,enum=pb.EventV2_EventPriority" json:"Priority,omitempty"`
	Type                 EventV2_AlertType     `protobuf:"varint,10,opt,name=Type,proto3,enum=pb.EventV2_AlertType" json:"Type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*EventV2) Descriptor

func (*EventV2) Descriptor() ([]byte, []int)

func (*EventV2) GetAggregationKey

func (m *EventV2) GetAggregationKey() string

func (*EventV2) GetDateHappened

func (m *EventV2) GetDateHappened() int64

func (*EventV2) GetHostname

func (m *EventV2) GetHostname() string

func (*EventV2) GetPriority

func (m *EventV2) GetPriority() EventV2_EventPriority

func (*EventV2) GetSourceIP

func (m *EventV2) GetSourceIP() string

func (*EventV2) GetSourceTypeName

func (m *EventV2) GetSourceTypeName() string

func (*EventV2) GetTags

func (m *EventV2) GetTags() []string

func (*EventV2) GetText

func (m *EventV2) GetText() string

func (*EventV2) GetTitle

func (m *EventV2) GetTitle() string

func (*EventV2) GetType

func (m *EventV2) GetType() EventV2_AlertType

func (*EventV2) ProtoMessage

func (*EventV2) ProtoMessage()

func (*EventV2) Reset

func (m *EventV2) Reset()

func (*EventV2) String

func (m *EventV2) String() string

func (*EventV2) XXX_DiscardUnknown

func (m *EventV2) XXX_DiscardUnknown()

func (*EventV2) XXX_Marshal

func (m *EventV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventV2) XXX_Merge

func (dst *EventV2) XXX_Merge(src proto.Message)

func (*EventV2) XXX_Size

func (m *EventV2) XXX_Size() int

func (*EventV2) XXX_Unmarshal

func (m *EventV2) XXX_Unmarshal(b []byte) error

type EventV2_AlertType

type EventV2_AlertType int32
const (
	EventV2_Info    EventV2_AlertType = 0
	EventV2_Warning EventV2_AlertType = 1
	EventV2_Error   EventV2_AlertType = 2
	EventV2_Success EventV2_AlertType = 3
)

func (EventV2_AlertType) EnumDescriptor

func (EventV2_AlertType) EnumDescriptor() ([]byte, []int)

func (EventV2_AlertType) String

func (x EventV2_AlertType) String() string

type EventV2_EventPriority

type EventV2_EventPriority int32
const (
	EventV2_Normal EventV2_EventPriority = 0
	EventV2_Low    EventV2_EventPriority = 1
)

func (EventV2_EventPriority) EnumDescriptor

func (EventV2_EventPriority) EnumDescriptor() ([]byte, []int)

func (EventV2_EventPriority) String

func (x EventV2_EventPriority) String() string

type GaugeTagV2

type GaugeTagV2 struct {
	TagMap               map[string]*RawGaugeV2 `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*GaugeTagV2) Descriptor

func (*GaugeTagV2) Descriptor() ([]byte, []int)

func (*GaugeTagV2) GetTagMap

func (m *GaugeTagV2) GetTagMap() map[string]*RawGaugeV2

func (*GaugeTagV2) ProtoMessage

func (*GaugeTagV2) ProtoMessage()

func (*GaugeTagV2) Reset

func (m *GaugeTagV2) Reset()

func (*GaugeTagV2) String

func (m *GaugeTagV2) String() string

func (*GaugeTagV2) XXX_DiscardUnknown

func (m *GaugeTagV2) XXX_DiscardUnknown()

func (*GaugeTagV2) XXX_Marshal

func (m *GaugeTagV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GaugeTagV2) XXX_Merge

func (dst *GaugeTagV2) XXX_Merge(src proto.Message)

func (*GaugeTagV2) XXX_Size

func (m *GaugeTagV2) XXX_Size() int

func (*GaugeTagV2) XXX_Unmarshal

func (m *GaugeTagV2) XXX_Unmarshal(b []byte) error

type RawCounterV2

type RawCounterV2 struct {
	Tags                 []string `protobuf:"bytes,1,rep,name=Tags,proto3" json:"Tags,omitempty"`
	Hostname             string   `protobuf:"bytes,2,opt,name=Hostname,proto3" json:"Hostname,omitempty"`
	Value                int64    `protobuf:"varint,3,opt,name=Value,proto3" json:"Value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RawCounterV2) Descriptor

func (*RawCounterV2) Descriptor() ([]byte, []int)

func (*RawCounterV2) GetHostname

func (m *RawCounterV2) GetHostname() string

func (*RawCounterV2) GetTags

func (m *RawCounterV2) GetTags() []string

func (*RawCounterV2) GetValue

func (m *RawCounterV2) GetValue() int64

func (*RawCounterV2) ProtoMessage

func (*RawCounterV2) ProtoMessage()

func (*RawCounterV2) Reset

func (m *RawCounterV2) Reset()

func (*RawCounterV2) String

func (m *RawCounterV2) String() string

func (*RawCounterV2) XXX_DiscardUnknown

func (m *RawCounterV2) XXX_DiscardUnknown()

func (*RawCounterV2) XXX_Marshal

func (m *RawCounterV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RawCounterV2) XXX_Merge

func (dst *RawCounterV2) XXX_Merge(src proto.Message)

func (*RawCounterV2) XXX_Size

func (m *RawCounterV2) XXX_Size() int

func (*RawCounterV2) XXX_Unmarshal

func (m *RawCounterV2) XXX_Unmarshal(b []byte) error

type RawGaugeV2

type RawGaugeV2 struct {
	Tags                 []string `protobuf:"bytes,1,rep,name=Tags,proto3" json:"Tags,omitempty"`
	Hostname             string   `protobuf:"bytes,2,opt,name=Hostname,proto3" json:"Hostname,omitempty"`
	Value                float64  `protobuf:"fixed64,3,opt,name=Value,proto3" json:"Value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RawGaugeV2) Descriptor

func (*RawGaugeV2) Descriptor() ([]byte, []int)

func (*RawGaugeV2) GetHostname

func (m *RawGaugeV2) GetHostname() string

func (*RawGaugeV2) GetTags

func (m *RawGaugeV2) GetTags() []string

func (*RawGaugeV2) GetValue

func (m *RawGaugeV2) GetValue() float64

func (*RawGaugeV2) ProtoMessage

func (*RawGaugeV2) ProtoMessage()

func (*RawGaugeV2) Reset

func (m *RawGaugeV2) Reset()

func (*RawGaugeV2) String

func (m *RawGaugeV2) String() string

func (*RawGaugeV2) XXX_DiscardUnknown

func (m *RawGaugeV2) XXX_DiscardUnknown()

func (*RawGaugeV2) XXX_Marshal

func (m *RawGaugeV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RawGaugeV2) XXX_Merge

func (dst *RawGaugeV2) XXX_Merge(src proto.Message)

func (*RawGaugeV2) XXX_Size

func (m *RawGaugeV2) XXX_Size() int

func (*RawGaugeV2) XXX_Unmarshal

func (m *RawGaugeV2) XXX_Unmarshal(b []byte) error

type RawMessageV2

type RawMessageV2 struct {
	Counters             map[string]*CounterTagV2 `` /* 157-byte string literal not displayed */
	Gauges               map[string]*GaugeTagV2   `` /* 153-byte string literal not displayed */
	Sets                 map[string]*SetTagV2     `` /* 149-byte string literal not displayed */
	Timers               map[string]*TimerTagV2   `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*RawMessageV2) Descriptor

func (*RawMessageV2) Descriptor() ([]byte, []int)

func (*RawMessageV2) GetCounters

func (m *RawMessageV2) GetCounters() map[string]*CounterTagV2

func (*RawMessageV2) GetGauges

func (m *RawMessageV2) GetGauges() map[string]*GaugeTagV2

func (*RawMessageV2) GetSets

func (m *RawMessageV2) GetSets() map[string]*SetTagV2

func (*RawMessageV2) GetTimers

func (m *RawMessageV2) GetTimers() map[string]*TimerTagV2

func (*RawMessageV2) ProtoMessage

func (*RawMessageV2) ProtoMessage()

func (*RawMessageV2) Reset

func (m *RawMessageV2) Reset()

func (*RawMessageV2) String

func (m *RawMessageV2) String() string

func (*RawMessageV2) XXX_DiscardUnknown

func (m *RawMessageV2) XXX_DiscardUnknown()

func (*RawMessageV2) XXX_Marshal

func (m *RawMessageV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RawMessageV2) XXX_Merge

func (dst *RawMessageV2) XXX_Merge(src proto.Message)

func (*RawMessageV2) XXX_Size

func (m *RawMessageV2) XXX_Size() int

func (*RawMessageV2) XXX_Unmarshal

func (m *RawMessageV2) XXX_Unmarshal(b []byte) error

type RawSetV2

type RawSetV2 struct {
	Tags                 []string `protobuf:"bytes,1,rep,name=Tags,proto3" json:"Tags,omitempty"`
	Hostname             string   `protobuf:"bytes,2,opt,name=Hostname,proto3" json:"Hostname,omitempty"`
	Values               []string `protobuf:"bytes,3,rep,name=Values,proto3" json:"Values,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RawSetV2) Descriptor

func (*RawSetV2) Descriptor() ([]byte, []int)

func (*RawSetV2) GetHostname

func (m *RawSetV2) GetHostname() string

func (*RawSetV2) GetTags

func (m *RawSetV2) GetTags() []string

func (*RawSetV2) GetValues

func (m *RawSetV2) GetValues() []string

func (*RawSetV2) ProtoMessage

func (*RawSetV2) ProtoMessage()

func (*RawSetV2) Reset

func (m *RawSetV2) Reset()

func (*RawSetV2) String

func (m *RawSetV2) String() string

func (*RawSetV2) XXX_DiscardUnknown

func (m *RawSetV2) XXX_DiscardUnknown()

func (*RawSetV2) XXX_Marshal

func (m *RawSetV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RawSetV2) XXX_Merge

func (dst *RawSetV2) XXX_Merge(src proto.Message)

func (*RawSetV2) XXX_Size

func (m *RawSetV2) XXX_Size() int

func (*RawSetV2) XXX_Unmarshal

func (m *RawSetV2) XXX_Unmarshal(b []byte) error

type RawTimerV2

type RawTimerV2 struct {
	Tags                 []string  `protobuf:"bytes,1,rep,name=Tags,proto3" json:"Tags,omitempty"`
	Hostname             string    `protobuf:"bytes,2,opt,name=Hostname,proto3" json:"Hostname,omitempty"`
	SampleCount          float64   `protobuf:"fixed64,3,opt,name=SampleCount,proto3" json:"SampleCount,omitempty"`
	Values               []float64 `protobuf:"fixed64,4,rep,packed,name=Values,proto3" json:"Values,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*RawTimerV2) Descriptor

func (*RawTimerV2) Descriptor() ([]byte, []int)

func (*RawTimerV2) GetHostname

func (m *RawTimerV2) GetHostname() string

func (*RawTimerV2) GetSampleCount

func (m *RawTimerV2) GetSampleCount() float64

func (*RawTimerV2) GetTags

func (m *RawTimerV2) GetTags() []string

func (*RawTimerV2) GetValues

func (m *RawTimerV2) GetValues() []float64

func (*RawTimerV2) ProtoMessage

func (*RawTimerV2) ProtoMessage()

func (*RawTimerV2) Reset

func (m *RawTimerV2) Reset()

func (*RawTimerV2) String

func (m *RawTimerV2) String() string

func (*RawTimerV2) XXX_DiscardUnknown

func (m *RawTimerV2) XXX_DiscardUnknown()

func (*RawTimerV2) XXX_Marshal

func (m *RawTimerV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RawTimerV2) XXX_Merge

func (dst *RawTimerV2) XXX_Merge(src proto.Message)

func (*RawTimerV2) XXX_Size

func (m *RawTimerV2) XXX_Size() int

func (*RawTimerV2) XXX_Unmarshal

func (m *RawTimerV2) XXX_Unmarshal(b []byte) error

type SetTagV2

type SetTagV2 struct {
	TagMap               map[string]*RawSetV2 `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*SetTagV2) Descriptor

func (*SetTagV2) Descriptor() ([]byte, []int)

func (*SetTagV2) GetTagMap

func (m *SetTagV2) GetTagMap() map[string]*RawSetV2

func (*SetTagV2) ProtoMessage

func (*SetTagV2) ProtoMessage()

func (*SetTagV2) Reset

func (m *SetTagV2) Reset()

func (*SetTagV2) String

func (m *SetTagV2) String() string

func (*SetTagV2) XXX_DiscardUnknown

func (m *SetTagV2) XXX_DiscardUnknown()

func (*SetTagV2) XXX_Marshal

func (m *SetTagV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetTagV2) XXX_Merge

func (dst *SetTagV2) XXX_Merge(src proto.Message)

func (*SetTagV2) XXX_Size

func (m *SetTagV2) XXX_Size() int

func (*SetTagV2) XXX_Unmarshal

func (m *SetTagV2) XXX_Unmarshal(b []byte) error

type TimerTagV2

type TimerTagV2 struct {
	TagMap               map[string]*RawTimerV2 `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*TimerTagV2) Descriptor

func (*TimerTagV2) Descriptor() ([]byte, []int)

func (*TimerTagV2) GetTagMap

func (m *TimerTagV2) GetTagMap() map[string]*RawTimerV2

func (*TimerTagV2) ProtoMessage

func (*TimerTagV2) ProtoMessage()

func (*TimerTagV2) Reset

func (m *TimerTagV2) Reset()

func (*TimerTagV2) String

func (m *TimerTagV2) String() string

func (*TimerTagV2) XXX_DiscardUnknown

func (m *TimerTagV2) XXX_DiscardUnknown()

func (*TimerTagV2) XXX_Marshal

func (m *TimerTagV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimerTagV2) XXX_Merge

func (dst *TimerTagV2) XXX_Merge(src proto.Message)

func (*TimerTagV2) XXX_Size

func (m *TimerTagV2) XXX_Size() int

func (*TimerTagV2) XXX_Unmarshal

func (m *TimerTagV2) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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