logs

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildTrafficLogMap

func BuildTrafficLogMap(dataplane *core_mesh.DataplaneResource, trafficLogs []*core_mesh.TrafficLogResource) core_xds.TrafficLogMap

Types

type TrafficLogsMatcher

type TrafficLogsMatcher struct {
	ResourceManager manager.ReadOnlyResourceManager
}

Current limitations:

  1. Right now we only generate and place access logs for outbound listeners
  2. We match all tags in source section of TrafficLog but only service tag on destination
  3. Let's assume we've got following dataplanes: Dataplane 1 with services: kong and kong-admin Dataplane 2 with services: backend If we define rule kong->backend, it is also applied for kong-admin because there is no way to differentiate traffic from services that are using one dataplane.

func (*TrafficLogsMatcher) Match

Jump to

Keyboard shortcuts

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