Documentation ¶
Index ¶
- func IdentityMatchesWorkload(selectors []*commonv1.IdentitySelector, workload *discoveryv1.Workload) bool
- func SelectorMatchesDestination(selectors []*commonv1.DestinationSelector, ...) 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 SelectorMatchesDestination ¶ added in v1.1.0
func SelectorMatchesDestination(selectors []*commonv1.DestinationSelector, destination *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.