Documentation ¶
Index ¶
- func ClickhouseNetflowSchema() string
- type CastaiContainerStatsExporter
- type CastaiEventsExporter
- type CastaiNetflowExporter
- type ClickHouseNetflowExporter
- type Config
- type ContainerStatsExporter
- type Controller
- type DataExporter
- type EventsExporter
- type Exporters
- type NetflowExporter
- type NetflowGrouping
- type StdioEventsExporter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClickhouseNetflowSchema ¶ added in v1.7.0
func ClickhouseNetflowSchema() string
Types ¶
type CastaiContainerStatsExporter ¶ added in v1.7.0
type CastaiContainerStatsExporter struct {
// contains filtered or unexported fields
}
func NewCastaiContainerStatsExporter ¶ added in v1.7.0
func (*CastaiContainerStatsExporter) Enqueue ¶ added in v1.7.0
func (c *CastaiContainerStatsExporter) Enqueue(e *castpb.ContainerStatsBatch)
type CastaiEventsExporter ¶ added in v1.7.0
type CastaiEventsExporter struct {
// contains filtered or unexported fields
}
func NewCastaiEventsExporter ¶ added in v1.7.0
func (*CastaiEventsExporter) Enqueue ¶ added in v1.7.0
func (c *CastaiEventsExporter) Enqueue(e *castpb.Event)
type CastaiNetflowExporter ¶ added in v1.9.0
type CastaiNetflowExporter struct {
// contains filtered or unexported fields
}
func NewCastaiNetflowExporter ¶ added in v1.9.0
func (*CastaiNetflowExporter) Enqueue ¶ added in v1.9.0
func (c *CastaiNetflowExporter) Enqueue(e *castpb.Netflow)
type ClickHouseNetflowExporter ¶ added in v1.7.0
type ClickHouseNetflowExporter struct {
// contains filtered or unexported fields
}
func NewClickhouseNetflowExporter ¶ added in v1.7.0
func NewClickhouseNetflowExporter(log *logging.Logger, conn clickhouse.Conn, queueSize int) *ClickHouseNetflowExporter
func (*ClickHouseNetflowExporter) Enqueue ¶ added in v1.7.0
func (c *ClickHouseNetflowExporter) Enqueue(e *castaipb.Netflow)
type ContainerStatsExporter ¶ added in v1.7.0
type ContainerStatsExporter interface { DataExporter Enqueue(e *castpb.ContainerStatsBatch) }
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( log *logging.Logger, cfg Config, exporters *Exporters, containersClient containersClient, netStatsReader netStatsReader, ct conntrackClient, tracer ebpfTracer, signatureEngine signatureEngine, enrichmentService enrichmentService, kubeClient kubepb.KubeAPIClient, ) *Controller
func (*Controller) IsMutedNamespace ¶
func (c *Controller) IsMutedNamespace(namespace string) bool
func (*Controller) MuteNamespace ¶
func (c *Controller) MuteNamespace(namespace string) error
func (*Controller) UnmuteNamespace ¶
func (c *Controller) UnmuteNamespace(namespace string) error
type DataExporter ¶ added in v1.7.0
type EventsExporter ¶ added in v1.7.0
type EventsExporter interface { DataExporter Enqueue(e *castpb.Event) }
type Exporters ¶ added in v1.7.0
type Exporters struct { Events []EventsExporter ContainerStats []ContainerStatsExporter Netflow []NetflowExporter // contains filtered or unexported fields }
func NewExporters ¶ added in v1.7.0
type NetflowExporter ¶ added in v1.7.0
type NetflowExporter interface { DataExporter Enqueue(e *castpb.Netflow) }
type NetflowGrouping ¶ added in v1.9.0
type NetflowGrouping int64
const ( NetflowGroupingSrcAddr NetflowGrouping = (1 << iota) NetflowGroupingDstAddr )
func (*NetflowGrouping) Set ¶ added in v1.9.0
func (n *NetflowGrouping) Set(s string) error
func (*NetflowGrouping) String ¶ added in v1.9.0
func (n *NetflowGrouping) String() string
func (*NetflowGrouping) Type ¶ added in v1.9.0
func (n *NetflowGrouping) Type() string
type StdioEventsExporter ¶ added in v1.7.0
type StdioEventsExporter struct {
// contains filtered or unexported fields
}
func NewStdioEventsExporter ¶ added in v1.7.0
func NewStdioEventsExporter(log *logging.Logger) *StdioEventsExporter
func (*StdioEventsExporter) Enqueue ¶ added in v1.7.0
func (c *StdioEventsExporter) Enqueue(e *castpb.Event)
Click to show internal directories.
Click to hide internal directories.