(obj interface{})
| 155 | } |
| 156 | |
| 157 | func (c *Controller) enqueue(obj interface{}) { |
| 158 | cloudshell := obj.(*cloudshellv1alpha1.CloudShell) |
| 159 | key, _ := cache.MetaNamespaceKeyFunc(cloudshell) |
| 160 | c.queue.Add(key) |
| 161 | } |
| 162 | |
| 163 | func (c *Controller) enqueueCloudshellForPod(obj interface{}) { |
| 164 | pod, ok := obj.(*corev1.Pod) |