Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataSetter ¶
type DataSetter interface {
Set(e *loggregator_v2.Envelope)
}
type FilteringSetter ¶
type FilteringSetter struct {
// contains filtered or unexported fields
}
func NewFilteringSetter ¶
func NewFilteringSetter(s setter) *FilteringSetter
func (*FilteringSetter) Set ¶
func (fs *FilteringSetter) Set(e *loggregator_v2.Envelope)
type MetricClient ¶
type MetricClient interface {
NewCounter(name, helpText string, opts ...metrics.MetricOption) metrics.Counter
}
MetricClient creates new CounterMetrics to be emitted periodically.
type Receiver ¶
type Receiver struct { loggregator_v2.UnimplementedIngressServer // contains filtered or unexported fields }
func NewReceiver ¶
func (*Receiver) BatchSender ¶
func (s *Receiver) BatchSender(sender loggregator_v2.Ingress_BatchSenderServer) error
func (*Receiver) Send ¶
func (s *Receiver) Send(_ context.Context, b *loggregator_v2.EnvelopeBatch) (*loggregator_v2.SendResponse, error)
func (*Receiver) Sender ¶
func (s *Receiver) Sender(sender loggregator_v2.Ingress_SenderServer) error
Click to show internal directories.
Click to hide internal directories.