package clusterselector

import "k8s.io/kubernetes/federation/pkg/federation-controller/util/clusterselector"

Index

Functions

func ConvertOperator

func ConvertOperator(source string) selection.Operator

ConvertOperator converts a string operator into selection.Operator type

func SendToCluster

func SendToCluster(clusterLabels map[string]string, annotations map[string]string) (bool, error)

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.9
Published
Oct 19, 2017
Platform
darwin/amd64
Imports
4 packages
Last checked
4 minutes ago

Tools for package owners.