selectorutils

package
v1.1.0-beta6 Latest Latest
Warning

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

Go to latest
Published: May 13, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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