plugin

package
v0.0.0-...-d92e82c Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CiliumFlows []*flow.Flow

CiliumFlows list

View Source
var CiliumFlowsMutex *sync.Mutex

CiliumFlowsMutex mutext

View Source
var CiliumNSFiler string

Functions

func ConnectHubbleRelay

func ConnectHubbleRelay() *grpc.ClientConn

ConnectHubbleRelay function

func ConvertCiliumFlowToKnoxLog

func ConvertCiliumFlowToKnoxLog(flow *flow.Flow, dnsToIPs map[string][]string) (types.NetworkLog, bool)

ConvertCiliumFlowToKnoxLog function

func ConvertCiliumFlowsToKnoxLogs

func ConvertCiliumFlowsToKnoxLogs(targetNamespace string, flows []*flow.Flow, dnsToIPs map[string][]string) []types.NetworkLog

ConvertCiliumFlowsToKnoxLogs function

func ConvertDocsToCiliumFlows

func ConvertDocsToCiliumFlows(docs []map[string]interface{}) []*flow.Flow

ConvertDocsToCiliumFlows function

func ConvertKnoxPoliciesToCiliumPolicies

func ConvertKnoxPoliciesToCiliumPolicies(services []types.Service, policies []types.KnoxNetworkPolicy) []types.CiliumNetworkPolicy

ConvertKnoxPoliciesToCiliumPolicies function

func ConvertKnoxPolicyToCiliumPolicy

func ConvertKnoxPolicyToCiliumPolicy(services []types.Service, inPolicy types.KnoxNetworkPolicy) types.CiliumNetworkPolicy

ConvertKnoxPolicyToCiliumPolicy function

func ConvertMongoDocsToCiliumFlows

func ConvertMongoDocsToCiliumFlows(docs []map[string]interface{}) []*flow.Flow

ConvertMongoDocsToCiliumFlows function

func ConvertMySQLDocsToCiliumFlows

func ConvertMySQLDocsToCiliumFlows(docs []map[string]interface{}) []*flow.Flow

ConvertMySQLDocsToCiliumFlows function

func GetCiliumFlowsFromHubble

func GetCiliumFlowsFromHubble() []*flow.Flow

GetCiliumFlowsFromHubble function

func StartHubbleRelay

func StartHubbleRelay(StopChan chan struct{}, wg *sync.WaitGroup)

StartHubbleRelay function

Types

This section is empty.

Jump to

Keyboard shortcuts

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