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
Click to show internal directories.
Click to hide internal directories.