Documentation ¶
Index ¶
- func ClickhouseNetflowSchema() string
- func ClickhouseProcessTreeSchema() string
- type CastaiContainerStatsExporter
- type CastaiEventsExporter
- type CastaiNetflowExporter
- type CastaiProcessTreeExporter
- type ClickHouseNetflowExporter
- type ClickhouseProcessTreeExporter
- type Config
- type ContainerStatsExporter
- type Controller
- type DataExporter
- type EventsExporter
- type Exporters
- type NetflowExporter
- type ProcessTreeExporter
- type StdioEventsExporter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClickhouseNetflowSchema ¶ added in v1.7.0
func ClickhouseNetflowSchema() string
func ClickhouseProcessTreeSchema ¶ added in v1.15.0
func ClickhouseProcessTreeSchema() 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 CastaiProcessTreeExporter ¶ added in v1.15.0
type CastaiProcessTreeExporter struct {
// contains filtered or unexported fields
}
func NewCastaiProcessTreeExporter ¶ added in v1.15.0
func (*CastaiProcessTreeExporter) Enqueue ¶ added in v1.15.0
func (c *CastaiProcessTreeExporter) Enqueue(e processtree.ProcessTreeEvent)
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 ClickhouseProcessTreeExporter ¶ added in v1.15.0
type ClickhouseProcessTreeExporter struct {
// contains filtered or unexported fields
}
func NewClickhouseProcessTreeExporter ¶ added in v1.15.0
func NewClickhouseProcessTreeExporter(log *logging.Logger, conn clickhouse.Conn, queueSize int) *ClickhouseProcessTreeExporter
func (*ClickhouseProcessTreeExporter) Enqueue ¶ added in v1.15.0
func (c *ClickhouseProcessTreeExporter) Enqueue(e processtree.ProcessTreeEvent)
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, processTreeCollector processTreeCollector, ) *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 ProcessTree []ProcessTreeExporter // 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 ProcessTreeExporter ¶ added in v1.15.0
type ProcessTreeExporter interface { DataExporter Enqueue(e processtree.ProcessTreeEvent) }
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)
Source Files ¶
- castai_container_stats_exporter.go
- castai_events_exporter.go
- castai_netflow_exporter.go
- castai_process_tree_exporter.go
- clickhouse_netflow_exporter.go
- clickhouse_process_tree_exporter.go
- container_stats_pipeline.go
- controller.go
- events_pipeline.go
- exporter.go
- netflow_pipeline.go
- netflow_types.go
- process_tree_pipeline.go
- stdio_events_exporter.go
Click to show internal directories.
Click to hide internal directories.