Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TrafficLogsMatcher ¶
type TrafficLogsMatcher struct {
ResourceManager manager.ReadOnlyResourceManager
}
Current limitations:
- Right now we only generate and place access logs for outbound listeners
- We match all tags in source section of TrafficLog but only service tag on destination
- 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 ¶
func (m *TrafficLogsMatcher) Match(ctx context.Context, dataplane *mesh_core.DataplaneResource) (core_xds.LogMap, error)
Click to show internal directories.
Click to hide internal directories.