Documentation ¶
Index ¶
- func IdentityMatchesWorkload(selectors []*v1alpha2.IdentitySelector, workload *discoveryv1alpha2.Workload) bool
- func SelectorMatchesService(selectors []*v1alpha2.TrafficTargetSelector, ...) bool
- func SelectorMatchesWorkload(selectors []*v1alpha2.WorkloadSelector, workload *discoveryv1alpha2.Workload) bool
- func WorkloadSelectorContainsCluster(selectors []*v1alpha2.WorkloadSelector, clusterName string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IdentityMatchesWorkload ¶
func IdentityMatchesWorkload(selectors []*v1alpha2.IdentitySelector, workload *discoveryv1alpha2.Workload) bool
func SelectorMatchesService ¶
func SelectorMatchesService(selectors []*v1alpha2.TrafficTargetSelector, service *discoveryv1alpha2.TrafficTarget) bool
func SelectorMatchesWorkload ¶
func SelectorMatchesWorkload(selectors []*v1alpha2.WorkloadSelector, workload *discoveryv1alpha2.Workload) bool
func WorkloadSelectorContainsCluster ¶
func WorkloadSelectorContainsCluster(selectors []*v1alpha2.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.