Documentation ¶
Index ¶
- func IdentityMatchesWorkload(selectors []*commonv1.IdentitySelector, workload *discoveryv1.Workload) bool
- func SelectorMatchesService(selectors []*commonv1.DestinationSelector, service *discoveryv1.Destination) bool
- func SelectorMatchesWorkload(selectors []*commonv1.WorkloadSelector, workload *discoveryv1.Workload) bool
- func WorkloadSelectorContainsCluster(selectors []*commonv1.WorkloadSelector, clusterName string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IdentityMatchesWorkload ¶
func IdentityMatchesWorkload(selectors []*commonv1.IdentitySelector, workload *discoveryv1.Workload) bool
func SelectorMatchesService ¶
func SelectorMatchesService(selectors []*commonv1.DestinationSelector, service *discoveryv1.Destination) bool
func SelectorMatchesWorkload ¶
func SelectorMatchesWorkload(selectors []*commonv1.WorkloadSelector, workload *discoveryv1.Workload) bool
func WorkloadSelectorContainsCluster ¶
func WorkloadSelectorContainsCluster(selectors []*commonv1.WorkloadSelector, clusterName string) bool
Return true if any WorkloadSelector selects the specified clusterName
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.