metric

package
v0.0.0-...-66e36ac Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessLogSource

type AccessLogSource struct {
	config.Server
	// contains filtered or unexported fields
}

func NewAccessLogSource

func NewAccessLogSource(servePort string, server config.Server) (*AccessLogSource, error)

func (*AccessLogSource) Name

func (a *AccessLogSource) Name() string

func (*AccessLogSource) RegisterHttpLogEntry

func (s *AccessLogSource) RegisterHttpLogEntry(h HttpLogEntry)

func (*AccessLogSource) Start

func (s *AccessLogSource) Start() error

Start grpc server

func (*AccessLogSource) StreamAccessLogs

StreamAccessLogs accept access log from fence xds egress gateway

type HttpLogEntry

type HttpLogEntry interface {
	StreamLogEntry([]*data_accesslog.HTTPAccessLogEntry)
}

type Runner

type Runner struct {
	config.Server
	// contains filtered or unexported fields
}

func New

func New(server config.Server) *Runner

func (*Runner) RegisterHttpLogEntry

func (r *Runner) RegisterHttpLogEntry(h HttpLogEntry)

func (*Runner) Start

func (r *Runner) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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