Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,131 for namespaces1 (0.14 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/DefaultIvyExtraInfoTest.groovy

        }
    
        def "can get by name and namespace" () {
            given:
            def extraInfo = new DefaultIvyExtraInfo([
                    (new NamespaceId('http://my.extra.info', 'foo')): 'fooValue',
                    (new NamespaceId('http://some.extra.info', 'foo')): 'anotherValue'
            ])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/DefaultIvyExtraInfo.java

            }
            return foundEntries.size() == 0 ? null : foundEntries.get(0).getValue();
        }
    
        @Override
        public String get(String namespace, String name) {
            return extraInfo.get(new NamespaceId(namespace, name));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/testdata/service-no-port-name.yaml

    apiVersion: v1
    kind: Service
    metadata:
      name: my-service1
      namespace: my-namespace1
    spec:
      selector:
        app: my-service1
      ports:
        - protocol: TCP
          port: 8080
          targetPort: 8080
        - protocol: TCP
          port: 8081
          targetPort: 8081
    ---
    apiVersion: v1
    kind: Service
    metadata:
      name: my-service2
      namespace: my-namespace2
    spec:
      selector:
        app: my-service2
      ports:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 574 bytes
    - Viewed (0)
  4. cmd/namespace-lock.go

    	return &nsMutex
    }
    
    // nsLock - provides primitives for locking critical namespace regions.
    type nsLock struct {
    	ref int32
    	*lsync.LRWMutex
    }
    
    // nsLockMap - namespace lock map, provides primitives to Lock,
    // Unlock, RLock and RUnlock.
    type nsLockMap struct {
    	// Indicates if namespace is part of a distributed setup.
    	isDistErasure bool
    	lockMap       map[string]*nsLock
    	lockMapMutex  sync.Mutex
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 05 23:56:35 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. cmd/namespace-lock_test.go

    // Tests getSource().
    func TestGetSource(t *testing.T) {
    	currentSource := func() string { return getSource(2) }
    	gotSource := currentSource()
    	// Hard coded line number, 35, in the "expectedSource" value
    	expectedSource := "[namespace-lock_test.go:35:TestGetSource()]"
    	if gotSource != expectedSource {
    		t.Errorf("expected : %s, got : %s", expectedSource, gotSource)
    	}
    }
    
    // Test lock race
    func TestNSLockRace(t *testing.T) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  6. pkg/controller/garbagecollector/operations.go

    	resource, namespaced, err := gc.apiResource(item.APIVersion, item.Kind)
    	if err != nil {
    		return nil, err
    	}
    	namespace := resourceDefaultNamespace(namespaced, item.Namespace)
    	if namespaced && len(namespace) == 0 {
    		// the type is namespaced, but we have no namespace coordinate.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 13:37:56 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. tools/bug-report/pkg/config/config.go

    )
    
    type ResourceType int
    
    const (
    	Namespace ResourceType = iota
    	Deployment
    	Pod
    	Label
    	Annotation
    	Container
    )
    
    // SelectionSpec is a spec for pods that will be Include in the capture
    // archive. The format is:
    //
    //	Namespace1,Namespace2../Deployments/Pods/Label1,Label2.../Annotation1,Annotation2.../ContainerName1,ContainerName2...
    //
    // Namespace, pod and container names are pattern matching while labels
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 12:07:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  8. istioctl/pkg/injector/injector-list.go

    	retval := make([]corev1.Namespace, 0, len(namespaces))
    	seen := sets.String{}
    	for _, webhook := range hook.Webhooks {
    		nsSelector, err := metav1.LabelSelectorAsSelector(webhook.NamespaceSelector)
    		if err != nil {
    			return retval
    		}
    
    		for _, namespace := range namespaces {
    			if !seen.Contains(namespace.Name) && nsSelector.Matches(api_pkg_labels.Set(namespace.Labels)) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 04 03:08:06 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/namespace-roles.yaml

        annotations:
          rbac.authorization.kubernetes.io/autoupdate: "true"
        creationTimestamp: null
        labels:
          kubernetes.io/bootstrapping: rbac-defaults
        name: system:controller:bootstrap-signer
        namespace: kube-public
      rules:
      - apiGroups:
        - ""
        resources:
        - configmaps
        verbs:
        - get
        - list
        - watch
      - apiGroups:
        - ""
        resourceNames:
        - cluster-info
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 16 01:37:43 UTC 2019
    - 3.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/gen_test.go

    	namespaces := []string{pfx + "-n1", pfx + "-n2", pfx + "-n3"}
    	rnamespaces := namespaces
    	if mayMatchClusterScope && rng.Float32() < 0.1 {
    		namespaces[0] = ""
    		rnamespaces = namespaces[1:]
    	}
    	rr := flowcontrol.ResourcePolicyRule{
    		Verbs:        []string{pfx + "-v1", pfx + "-v2", pfx + "-v3"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
Back to top