configtarget

package
v1.1.0-beta3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigTargetValidator

type ConfigTargetValidator interface {
	// Validate Destination references declared on TrafficPolicies.
	ValidateTrafficPolicies(
		trafficPolicies v1.TrafficPolicySlice,
	)

	// Validate mesh references declared on VirtualMeshes.
	// Also validate that all referenced meshes are contained in at most one VirtualMesh.
	ValidateVirtualMeshes(
		virtualMeshes v1.VirtualMeshSlice,
	)

	// Validate Destination references declared on AccessPolicies.
	ValidateAccessPolicies(
		accessPolicies v1.AccessPolicySlice,
	)
}

Validate configuration target references in networking configuration resources, and report any errors (i.e. references to non-existent discovery entities) to the offending resource status.

func NewConfigTargetValidator

func NewConfigTargetValidator(
	meshes discoveryv1sets.MeshSet,
	destinations discoveryv1sets.DestinationSet,
) ConfigTargetValidator

Jump to

Keyboard shortcuts

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