faultinjections

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildExternalServiceFaultInjectionMapForZoneEgress added in v1.8.1

func BuildExternalServiceFaultInjectionMapForZoneEgress(
	externalServices []*core_mesh.ExternalServiceResource,
	faultInjections []*core_mesh.FaultInjectionResource,
) core_xds.ExternalServiceFaultInjectionMap

BuildExternalServiceFaultInjectionMapForZoneEgress creates mapping between Service's name and the list of FaultInjections. todo(lobkovilya): that's not really correct way to build a policy map for External Services. Policies such as Fault Injections, Rate Limit and Traffic Permissions support arbitrary tags in Destination, but we lose this information if putting policies in map just by Service's name. See https://github.com/kumahq/kuma/issues/3999

Types

type FaultInjectionMatcher

type FaultInjectionMatcher struct {
	ResourceManager manager.ReadOnlyResourceManager
}

func (*FaultInjectionMatcher) Match

Jump to

Keyboard shortcuts

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