Documentation
¶
Overview ¶
Package nflogpb is a generated protocol buffer package.
It is generated from these files:
nflog/nflogpb/nflog.proto
It has these top-level messages:
Receiver Entry MeshEntry
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
// The key identifying the dispatching group.
GroupKey []byte `protobuf:"bytes,1,opt,name=group_key,json=groupKey,proto3" json:"group_key,omitempty"`
// The receiver that was notified.
Receiver *Receiver `protobuf:"bytes,2,opt,name=receiver" json:"receiver,omitempty"`
// Hash over the state of the group at notification time.
GroupHash []byte `protobuf:"bytes,3,opt,name=group_hash,json=groupHash,proto3" json:"group_hash,omitempty"`
// Whether the notification was about a resolved alert.
Resolved bool `protobuf:"varint,4,opt,name=resolved" json:"resolved,omitempty"`
// Timestamp of the succeeding notification.
Timestamp *google_protobuf.Timestamp `protobuf:"bytes,5,opt,name=timestamp" json:"timestamp,omitempty"`
}
Entry holds information about a successful notification sent to a receiver.
func (*Entry) Descriptor ¶
func (*Entry) GetReceiver ¶
func (*Entry) GetTimestamp ¶
func (m *Entry) GetTimestamp() *google_protobuf.Timestamp
func (*Entry) ProtoMessage ¶
func (*Entry) ProtoMessage()
type MeshEntry ¶
type MeshEntry struct {
// The original raw notify log entry.
Entry *Entry `protobuf:"bytes,1,opt,name=entry" json:"entry,omitempty"`
// A timestamp indicating when the mesh peer should evict
// the log entry from its state.
ExpiresAt *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt" json:"expires_at,omitempty"`
}
MeshEntry is a wrapper message to communicate a notify log entry through a mesh network.
func (*MeshEntry) Descriptor ¶
func (*MeshEntry) GetExpiresAt ¶
func (m *MeshEntry) GetExpiresAt() *google_protobuf.Timestamp
func (*MeshEntry) ProtoMessage ¶
func (*MeshEntry) ProtoMessage()
type Receiver ¶
type Receiver struct {
// Configured name of the receiver group.
GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName" json:"group_name,omitempty"`
// Name of the integration of the receiver.
Integration string `protobuf:"bytes,2,opt,name=integration" json:"integration,omitempty"`
// Index of the receiver with respect to the integration.
// Every integration in a group may have 0..N configurations.
Idx uint32 `protobuf:"varint,3,opt,name=idx" json:"idx,omitempty"`
}
func (*Receiver) Descriptor ¶
func (*Receiver) ProtoMessage ¶
func (*Receiver) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.