Cluster selects things for cluster.
(cluster string)
| 28 | |
| 29 | // Cluster selects things for cluster. |
| 30 | func Cluster(cluster string) metav1.LabelSelector { |
| 31 | return metav1.LabelSelector{ |
| 32 | MatchLabels: map[string]string{ |
| 33 | LabelCluster: cluster, |
| 34 | }, |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | // ClusterRestoreJobs selects all existing restore jobs in a cluster. |
| 39 | func ClusterRestoreJobs(cluster string) metav1.LabelSelector { |
no outgoing calls