Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigTargetValidator ¶
type ConfigTargetValidator interface { // Validate mesh references declared on FailoverServices. ValidateFailoverServices( failoverServices v1alpha2.FailoverServiceSlice, ) // Validate traffic target references declared on TrafficPolicies. ValidateTrafficPolicies( trafficPolicies v1alpha2.TrafficPolicySlice, ) // Validate mesh references declared on VirtualMeshes. // Also validate that all referenced meshes are contained in at most one virtual mesh. ValidateVirtualMeshes( virtualMeshes v1alpha2.VirtualMeshSlice, ) // Validate traffic target references declared on AccessPolicies. ValidateAccessPolicies( accessPolicies v1alpha2.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 discoveryv1alpha2sets.MeshSet, trafficTargets discoveryv1alpha2sets.TrafficTargetSet, ) ConfigTargetValidator
Click to show internal directories.
Click to hide internal directories.