Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server is basic server interface
func NewVampAdapter ¶
NewVampAdapter creates a new IBP adapter that listens at provided port.
type VampAdapter ¶
type VampAdapter struct {
// contains filtered or unexported fields
}
VampAdapter supports logentry template.
func (*VampAdapter) Addr ¶
func (s *VampAdapter) Addr() string
Addr returns the listening address of the server
func (*VampAdapter) Close ¶
func (s *VampAdapter) Close() error
Close gracefully shuts down the server; used for testing
func (*VampAdapter) HandleLogEntry ¶
func (s *VampAdapter) HandleLogEntry(ctx context.Context, r *logentry.HandleLogEntryRequest) (*v1beta1.ReportResult, error)
HandleLogEntry records log entries
Click to show internal directories.
Click to hide internal directories.