Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
agent_logs_payload.proto
It has these top-level messages:
Log
Index ¶
- Variables
- type Log
- func (*Log) Descriptor() ([]byte, []int)
- func (m *Log) GetHostname() string
- func (m *Log) GetMessage() string
- func (m *Log) GetService() string
- func (m *Log) GetSource() string
- func (m *Log) GetStatus() string
- func (m *Log) GetTags() []string
- func (m *Log) GetTimestamp() int64
- func (m *Log) Marshal() (dAtA []byte, err error)
- func (m *Log) MarshalTo(dAtA []byte) (int, error)
- func (*Log) ProtoMessage()
- func (m *Log) Reset()
- func (m *Log) Size() (n int)
- func (m *Log) String() string
- func (m *Log) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthAgentLogsPayload = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAgentLogsPayload = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // from host Hostname string `protobuf:"bytes,4,opt,name=hostname,proto3" json:"hostname,omitempty"` // from config Service string `protobuf:"bytes,5,opt,name=service,proto3" json:"service,omitempty"` Source string `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"` // from config, container tags, ... Tags []string `protobuf:"bytes,7,rep,name=tags" json:"tags,omitempty"` }
func (*Log) Descriptor ¶
func (*Log) GetHostname ¶
func (*Log) GetMessage ¶
func (*Log) GetService ¶
func (*Log) GetTimestamp ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.