configtarget

package
v1.0.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: Apache-2.0 Imports: 9 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 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.

Jump to

Keyboard shortcuts

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