Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 649 for Namespace (0.21 sec)

  1. cni/test/testdata/k8s_svcacct/namespace

    John Howard <******@****.***> 1605827959 -0800
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Nov 19 23:19:19 GMT 2020
    - 11 bytes
    - Viewed (0)
  2. 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
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Jun 05 23:56:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  3. 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) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  4. 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)) {
    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)
  5. cni/pkg/nodeagent/informers_test.go

    	fs.AssertExpectations(t)
    
    	// unlabelling the namespace should cause only one RemovePodFromMesh to happen
    	fs.On("RemovePodFromMesh",
    		ctx,
    		mock.Anything,
    	).Once().Return(nil)
    
    	// unlabel the namespace
    	labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":null}}}`,
    		constants.DataplaneMode))
    	_, err = client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/rbac/v1alpha1/generated.proto

    }
    
    // RoleBinding references a role, but does not contain it.  It can reference a Role in the same namespace or a ClusterRole in the global namespace.
    // It adds who information via Subjects and namespace information by which namespace it exists in.  RoleBindings in a given
    // namespace only have effect in that namespace.
    // Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22.
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/rbac/v1beta1/generated.proto

    }
    
    // RoleBinding references a role, but does not contain it.  It can reference a Role in the same namespace or a ClusterRole in the global namespace.
    // It adds who information via Subjects and namespace information by which namespace it exists in.  RoleBindings in a given
    // namespace only have effect in that namespace.
    // Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22.
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  8. common/scripts/metallb-native.yaml

                      and created in the same namespace as the MetalLB deployment. The
                      password is stored in the secret as the key "password".
                    properties:
                      name:
                        description: name is unique within a namespace to reference a
                          secret resource.
                        type: string
                      namespace:
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Feb 23 23:56:31 GMT 2024
    - 63.9K bytes
    - Viewed (0)
  9. istioctl/pkg/cli/context.go

    	InferPodInfoFromTypedResource(name, namespace string) (pod string, ns string, err error)
    	// InferPodsFromTypedResource returns the pod names and namespace for the given typed resource
    	InferPodsFromTypedResource(name, namespace string) ([]string, string, error)
    	// Namespace returns the namespace specified by the user
    	Namespace() string
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. istioctl/pkg/waypoint/waypoint.go

    				return fmt.Errorf("failed to create Kubernetes client: %v", err)
    			}
    			ns := ctx.NamespaceOrDefault(ctx.Namespace())
    			// If a user decides to enroll their namespace with a waypoint, verify that they have labeled their namespace as ambient.
    			// If they don't, the user will be warned and be presented with the command to label their namespace as ambient if they
    			// choose to do so.
    			//
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:40 GMT 2024
    - 15K bytes
    - Viewed (0)
Back to top