Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 65 for Babel (0.12 sec)

  1. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/generate.go

    	whLabels = maps.MergeCopy(whLabels, curLabels)
    	whLabels = maps.MergeCopy(whLabels, customLabels)
    	if userManaged {
    		for label := range whLabels {
    			if strings.Contains(label, operatorNamespace) {
    				delete(whLabels, label)
    			}
    		}
    	}
    	return whLabels
    }
    
    // generateMutatingWebhook renders a mutating webhook configuration from the given tagWebhookConfig.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest-generate_test.go

    	}
    
    	// We test the cross product namespace and pod labels:
    	// 1. revision label (istio.io/rev)
    	// 2. inject label true (istio-injection on namespace, sidecar.istio.io/inject on pod)
    	// 3. inject label false
    	// 4. inject label true and revision label
    	// 5. inject label false and revision label
    	// 6. no label
    	// However, we filter out all the disable cases, leaving us with a reasonable number of cases
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  4. istioctl/pkg/internaldebug/internal-debug_test.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/cli-runtime/pkg/resource"
    	"k8s.io/client-go/rest/fake"
    	cmdtesting "k8s.io/kubectl/pkg/cmd/testing"
    	cmdutil "k8s.io/kubectl/pkg/cmd/util"
    
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/multixds"
    	"istio.io/istio/istioctl/pkg/xds"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/util/assert"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/cni-watcher_test.go

    	// We are not going to start the server, so the sockpath is irrelevant
    	pluginServer := startCniPluginServer(ctx, "/tmp/test.sock", handlers, dpServer)
    
    	// label the namespace
    	labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`,
    		constants.DataplaneModeLabel, constants.DataplaneModeAmbient))
    	_, err := client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. operator/cmd/mesh/test-util_test.go

    			lkv := strings.Split(l, "=")
    			if len(lkv) != 2 {
    				panic("label must have format key=value")
    			}
    			if !hasLabel(obj, lkv[0], lkv[1]) {
    				hasAll = false
    				break
    			}
    		}
    		if hasAll {
    			ret.append(obj)
    		}
    	}
    	return ret
    }
    
    // HasLabel reports whether 0 has the given label.
    func hasLabel(o *object.K8sObject, label, value string) bool {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  7. cni/pkg/repair/monitoring.go

    package repair
    
    import (
    	"istio.io/istio/pkg/monitoring"
    )
    
    var (
    	typeLabel  = monitoring.CreateLabel("type")
    	deleteType = "delete"
    	repairType = "repair"
    	labelType  = "label"
    
    	resultLabel   = monitoring.CreateLabel("result")
    	resultSuccess = "success"
    	resultSkip    = "skip"
    	resultFail    = "fail"
    
    	podsRepaired = monitoring.NewSum(
    		"istio_cni_repair_pods_repaired_total",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 1K bytes
    - Viewed (0)
  8. istioctl/pkg/workload/workload.go

    	if portsStr := marshalWorkloadEntryPodPorts(we.Ports); portsStr != "" {
    		md["ISTIO_META_POD_PORTS"] = portsStr
    	}
    	md["ISTIO_META_WORKLOAD_NAME"] = wg.Name
    	lbls[label.ServiceCanonicalName.Name] = md["CANONICAL_SERVICE"]
    	lbls[label.ServiceCanonicalRevision.Name] = md["CANONICAL_REVISION"]
    	if labelsJSON, err := json.Marshal(lbls); err == nil {
    		md["ISTIO_METAJSON_LABELS"] = string(labelsJSON)
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  9. cmd/object-api-errors.go

    	return "Remote already exists for this bucket: " + e.Bucket
    }
    
    // BucketRemoteLabelInUse remote already exists for this target label.
    type BucketRemoteLabelInUse GenericError
    
    func (e BucketRemoteLabelInUse) Error() string {
    	return "Remote with this label already exists for this bucket: " + e.Bucket
    }
    
    // BucketRemoteArnTypeInvalid arn type for remote is not valid.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  10. cmd/update.go

    		return false
    	}
    
    	// Log error, as we will not propagate it to caller
    	internalLogIf(GlobalContext, err)
    
    	return err == nil
    }
    
    // MinIO Helm chart uses DownwardAPIFile to write pod label info to /podinfo/labels
    // More info: https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/#store-pod-fields
    // Check if this is Helm package installation and report helm chart version
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
Back to top