Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getTables (0.2 sec)

  1. migrator/migrator.go

    							return err
    						}
    					}
    				}
    
    				return nil
    			}); err != nil {
    				return err
    			}
    		}
    	}
    
    	return nil
    }
    
    // GetTables returns tables
    func (m Migrator) GetTables() (tableList []string, err error) {
    	err = m.DB.Raw("SELECT TABLE_NAME FROM information_schema.tables where TABLE_SCHEMA=?", m.CurrentDatabase()).
    		Scan(&tableList).Error
    	return
    }
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  2. istioctl/pkg/checkinject/checkinject.go

    					return err
    				}
    				ns, err := kubeClient.Kube().CoreV1().Namespaces().Get(context.TODO(), podNs, metav1.GetOptions{})
    				if err != nil {
    					return err
    				}
    				podLabels = pod.GetLabels()
    				nsLabels = ns.GetLabels()
    			} else {
    				namespace := ctx.NamespaceOrDefault(ctx.Namespace())
    				ns, err := kubeClient.Kube().CoreV1().Namespaces().Get(context.TODO(), namespace, metav1.GetOptions{})
    				if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. cni/pkg/util/podutil.go

    // PodRedirectionEnabled determines if a pod should or should not be configured
    // to have traffic redirected thru the node proxy.
    func PodRedirectionEnabled(namespace *corev1.Namespace, pod *corev1.Pod) bool {
    	if namespace.GetLabels()[constants.DataplaneMode] != constants.DataplaneModeAmbient {
    		// Namespace does not have ambient mode enabled
    		return false
    	}
    	if podHasSidecar(pod) {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe.go

    			for i, s := range serviceList.Items {
    				iInfo := &ingressInfo{
    					service: serviceList.Items[i].DeepCopy(),
    				}
    				for j, p := range ingressPods[ns] {
    					if p.GetLabels() == nil {
    						continue
    					}
    					if maps.Contains(p.GetLabels(), s.Spec.Selector) {
    						iInfo.pods = append(iInfo.pods, ingressPods[ns][j])
    					}
    				}
    				if len(iInfo.pods) > 0 {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top