package clusterselector
import "k8s.io/kubernetes/federation/pkg/federation-controller/util/clusterselector"
Index ¶
- func ConvertOperator(source string) selection.Operator
- func SendToCluster(clusterLabels map[string]string, annotations map[string]string) (bool, error)
Functions ¶
func ConvertOperator ¶
ConvertOperator converts a string operator into selection.Operator type
func SendToCluster ¶
Parses the cluster selector annotation to find out if the object with that annotation should be forwarded to a cluster with the given clusterLabels.
Source Files ¶
clusterselector.go
- Version
- v1.7.4
- Published
- Aug 17, 2017
- Platform
- windows/amd64
- Imports
- 4 packages
- Last checked
- 37 seconds ago –
Tools for package owners.