clusteragent

package
v0.0.3-alpha3 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetLogger

func SetLogger(l *zap.SugaredLogger)

Types

type ClusterAgent

type ClusterAgent struct {
	// contains filtered or unexported fields
}

func NewClusterAgent

func NewClusterAgent(config *ClusterAgentConfig) *ClusterAgent

func (*ClusterAgent) Close

func (ca *ClusterAgent) Close()

func (*ClusterAgent) GetFalcoAlertsSubscriber

func (ca *ClusterAgent) GetFalcoAlertsSubscriber() *FalcoAlertsSubscriber

func (*ClusterAgent) GetGrpcServer

func (ca *ClusterAgent) GetGrpcServer() *grpc.Server

type ClusterAgentConfig

type ClusterAgentConfig struct {
	ServerAddress          string
	ServerGrpcDialOptions  []grpc.DialOption
	EnableFalcoIntegration bool
	EnableAddConstraint    bool
	FalcoClientConfig      *falcoclient.Config
}

type ConfigServer

type ConfigServer struct {
	tarianpb.UnimplementedConfigServer
	// contains filtered or unexported fields
}

func NewConfigServer

func NewConfigServer(tarianServerAddress string, opts []grpc.DialOption) *ConfigServer

func (*ConfigServer) AddConstraint

func (*ConfigServer) Close

func (cs *ConfigServer) Close()

func (*ConfigServer) EnableAddConstraint

func (cs *ConfigServer) EnableAddConstraint(value bool)

func (*ConfigServer) GetConstraints

func (*ConfigServer) RemoveConstraint

type EventServer

type EventServer struct {
	tarianpb.UnimplementedEventServer
	// contains filtered or unexported fields
}

func NewEventServer

func NewEventServer(tarianServerAddress string, opts []grpc.DialOption) *EventServer

func (*EventServer) Close

func (es *EventServer) Close()

func (*EventServer) IngestEvent

func (es *EventServer) IngestEvent(requestContext context.Context, request *tarianpb.IngestEventRequest) (*tarianpb.IngestEventResponse, error)

type FalcoAlertsSubscriber

type FalcoAlertsSubscriber struct {
	// contains filtered or unexported fields
}

func NewFalcoAlertsSubscriber

func NewFalcoAlertsSubscriber(tarianServerAddress string, opts []grpc.DialOption, config *client.Config) (*FalcoAlertsSubscriber, error)

func (*FalcoAlertsSubscriber) Close

func (f *FalcoAlertsSubscriber) Close()

func (*FalcoAlertsSubscriber) ProcessFalcoOutput

func (f *FalcoAlertsSubscriber) ProcessFalcoOutput(res *outputs.Response) error

func (*FalcoAlertsSubscriber) Start

func (f *FalcoAlertsSubscriber) Start()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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