ciliumeventobserver

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package ciliumeventobserver contains the Retina CiliumEventObserver plugin. It uses unix socket to get events from cilium and decode them to flow objects.

Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotImplemented = errors.New("Error, not implemented")
	ErrEmptyData      = errors.New("empty data")
)

Functions

func New

func New(cfg *kcfg.Config) registry.Plugin

Types

type DefaultDialer

type DefaultDialer struct{}

func (*DefaultDialer) Dial

func (d *DefaultDialer) Dial(network, address string) (net.Conn, error)

Wrapper on net.Dial to mock in tests

Jump to

Keyboard shortcuts

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