ClusterInstanceSet selects things for set in cluster.
(cluster, set string)
| 98 | |
| 99 | // ClusterInstanceSet selects things for set in cluster. |
| 100 | func ClusterInstanceSet(cluster, set string) metav1.LabelSelector { |
| 101 | return metav1.LabelSelector{ |
| 102 | MatchLabels: map[string]string{ |
| 103 | LabelCluster: cluster, |
| 104 | LabelInstanceSet: set, |
| 105 | }, |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | // ClusterInstanceSets selects things for sets in a cluster. |
| 110 | func ClusterInstanceSets(cluster string) metav1.LabelSelector { |
no outgoing calls