- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for getTables (0.2 sec)
-
migrator.go
// Tables CreateTable(dst ...interface{}) error DropTable(dst ...interface{}) error HasTable(dst interface{}) bool RenameTable(oldName, newName interface{}) error GetTables() (tableList []string, err error) TableType(dst interface{}) (TableType, error) // Columns AddColumn(dst interface{}, field string) error DropColumn(dst interface{}, field string) error
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 3.1K bytes - Viewed (0) -
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 May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 9.3K bytes - Viewed (0) -
istioctl/pkg/util/ambient/util.go
return t.GetAnnotations()[constants.AmbientRedirection] == constants.AmbientRedirectionEnabled case *corev1.Namespace: if t.GetLabels()["istio-injection"] == "enabled" { return false } if v, ok := t.GetLabels()[label.IoIstioRev.Name]; ok && v != "" { return false } return t.GetLabels()[constants.DataplaneModeLabel] == constants.DataplaneModeAmbient } return false
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 1.7K bytes - Viewed (0) -
cni/pkg/util/podutil.go
// to have traffic redirected thru the node proxy. func PodRedirectionEnabled(namespace *corev1.Namespace, pod *corev1.Pod) bool { if !(namespace.GetLabels()[constants.DataplaneModeLabel] == constants.DataplaneModeAmbient || pod.GetLabels()[constants.DataplaneModeLabel] == constants.DataplaneModeAmbient) { // Neither namespace nor pod has ambient mode enabled return false } if podHasSidecar(pod) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 3.9K bytes - Viewed (0) -
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.DataplaneModeLabel] == constants.DataplaneModeAmbient if matchAmbient { log.Infof("Namespace %s is enabled in ambient mesh", namespace) } else {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 9.6K bytes - Viewed (0) -
istioctl/pkg/tag/revision.go
if err != nil { return nil, fmt.Errorf("error while listing mutating webhooks: %v", err) } for _, hook := range webhooks { rev := renderWithDefault(hook.GetLabels()[label.IoIstioRev.Name], DefaultRevisionName) tagLabel := hook.GetLabels()[IstioTagLabel] ri, revPresent := revisions[rev] if revPresent { if tagLabel != "" { ri.Webhooks = append(ri.Webhooks, &MutatingWebhookConfigInfo{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Jan 28 13:16:05 GMT 2023 - 4.5K bytes - Viewed (0)