Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getTables (0.35 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 21 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 28.5K bytes
    - Viewed (0)
  2. istioctl/pkg/injector/injector-list.go

    	injector := getInjector(namespace, hooks)
    	if injector != nil {
    		return injector.ObjectMeta.GetLabels()[label.IoIstioRev.Name]
    	}
    	newRev := namespace.ObjectMeta.GetLabels()[label.IoIstioRev.Name]
    	oldLabel, ok := namespace.ObjectMeta.GetLabels()[analyzer_util.InjectionLabelName]
    	// If there is no istio-injection=disabled and no istio.io/rev, the namespace isn't injected
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/informers.go

    // TODO it is sort of pointless/confusing/implicit to populate Old and New with the same reference here
    func (s *InformerHandlers) enqueueNamespace(o controllers.Object) {
    	namespace := o.GetName()
    	labels := o.GetLabels()
    	matchAmbient := labels[constants.DataplaneMode] == constants.DataplaneModeAmbient
    	if matchAmbient {
    		log.Infof("Namespace %s is enabled in ambient mesh", namespace)
    	} else {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  4. cni/pkg/repair/repaircontroller.go

    	// Added for safety, to make sure no healthy pods get labeled.
    	m := podsRepaired.With(typeLabel.Value(labelType))
    	repairLog.Infof("Pod detected as broken, adding label: %s/%s", pod.Namespace, pod.Name)
    
    	labels := pod.GetLabels()
    	if _, ok := labels[c.cfg.LabelKey]; ok {
    		m.With(resultLabel.Value(resultSkip)).Increment()
    		repairLog.Infof("Pod %s/%s already has label with key %s, skipping", pod.Namespace, pod.Name, c.cfg.LabelKey)
    		return nil
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/generate_test.go

    			}
    			wh := vwhObject.(*admitv1.ValidatingWebhookConfiguration)
    
    			if tc.userManaged {
    				// User created webhooks should not have operator labels, otherwise will be pruned.
    				_, ok := wh.GetLabels()[operatorManaged]
    				assert.Equal(t, ok, false)
    			}
    
    			for _, webhook := range wh.Webhooks {
    				validationWhConf := webhook.ClientConfig
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  6. istioctl/pkg/validate/validate.go

    		Meta: config.Meta{
    			GroupVersionKind:  schema.GroupVersionKind(),
    			Name:              un.GetName(),
    			Namespace:         un.GetNamespace(),
    			Domain:            domain,
    			Labels:            un.GetLabels(),
    			Annotations:       un.GetAnnotations(),
    			ResourceVersion:   un.GetResourceVersion(),
    			CreationTimestamp: un.GetCreationTimestamp().Time,
    		},
    		Spec: data,
    	}, nil
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
Back to top